python-cram: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:59:20 +07:00
parent ea62f69963
commit 3478bb2c98
3 changed files with 15 additions and 30 deletions

View file

@ -1,29 +0,0 @@
# Template file for 'python-cram'
pkgname=python-cram
version=0.7
revision=3
archs=noarch
wrksrc="cram-${version}"
build_style=python-module
pycompile_module="cram"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Simple testing framework for commandline applications (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2"
homepage="https://bitheap.org/cram/"
distfiles="${PYPI_SITE}/c/cram/cram-${version}.tar.gz"
checksum=7da7445af2ce15b90aad5ec4792f857cef5786d71f14377e9eb994d8b8337f2f
alternatives="cram:cram:/usr/bin/cram2"
python3-cram_package() {
archs=noarch
pycompile_module="cram"
alternatives="cram:cram:/usr/bin/cram3"
short_desc="${short_desc/Python2/Python3}"
depends="python3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
}
}

View file

@ -1 +0,0 @@
python-cram

View file

@ -0,0 +1,15 @@
# Template file for 'python3-cram'
pkgname=python3-cram
version=0.7
revision=4
wrksrc="cram-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Simple testing framework for commandline applications (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://bitheap.org/cram/"
distfiles="${PYPI_SITE}/c/cram/cram-${version}.tar.gz"
checksum=7da7445af2ce15b90aad5ec4792f857cef5786d71f14377e9eb994d8b8337f2f
conflicts="python-cram>=0"