void-packages/srcpkgs/python-nose/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

30 lines
925 B
Bash

# Template file for 'python-nose'
pkgname=python-nose
version=1.3.7
revision=3
archs=noarch
wrksrc="nose-${version}"
build_style=python-module
pycompile_module="nose"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="The nicer testing for Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/nose-devs/nose"
#changelog="https://raw.githubusercontent.com/nose-devs/nose/master/CHANGELOG"
distfiles="${PYPI_SITE}/n/nose/nose-${version}.tar.gz"
checksum=f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98
alternatives="nose:nosetests:/usr/bin/nosetests2"
python3-nose_package() {
archs=noarch
pycompile_module="nose"
depends="python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
alternatives="nose:nosetests:/usr/bin/nosetests3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
}
}