void-packages/srcpkgs/python-cram/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

29 lines
816 B
Bash

# Template file for 'python-cram'
pkgname=python-cram
version=0.7
revision=2
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*
}
}