New package: python-cram-0.7.
Closes #9685. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
404cf659bd
commit
688db2099d
|
@ -0,0 +1,29 @@
|
||||||
|
# Template file for 'python-cram'
|
||||||
|
pkgname=python-cram
|
||||||
|
version=0.7
|
||||||
|
revision=1
|
||||||
|
wrksrc="cram-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="cram"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python"
|
||||||
|
short_desc="Simple testing framework in Python2 for commandline applications"
|
||||||
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="https://bitheap.org/cram/"
|
||||||
|
distfiles="${PYPI_SITE}/c/cram/cram-${version}.tar.gz"
|
||||||
|
checksum=7da7445af2ce15b90aad5ec4792f857cef5786d71f14377e9eb994d8b8337f2f
|
||||||
|
alternatives="python-cram:cram:/usr/bin/cram2"
|
||||||
|
noarch=yes
|
||||||
|
|
||||||
|
python3-cram_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="cram"
|
||||||
|
alternatives="python-cram:cram:/usr/bin/cram3"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
depends="python3"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/*3
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
python-cram
|
Loading…
Reference in New Issue