31 lines
928 B
Bash
31 lines
928 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="maxice8 <thinkabit.ukim@gmail.com>"
|
|
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*
|
|
}
|
|
}
|