python-nose2: drop package
This commit is contained in:
parent
abe2f49618
commit
001de6c098
4 changed files with 19 additions and 38 deletions
|
@ -1,37 +0,0 @@
|
||||||
# Template file for 'python-nose2'
|
|
||||||
pkgname=python-nose2
|
|
||||||
version=0.8.0
|
|
||||||
revision=2
|
|
||||||
archs=noarch
|
|
||||||
wrksrc="${pkgname/python-//}-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="nose2"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python-setuptools python-coverage python-six python-mock"
|
|
||||||
short_desc="The next generation of nicer testing (Python2)"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
license="BSD-2-Clause"
|
|
||||||
homepage="https://github.com/nose-devs/nose2"
|
|
||||||
distfiles="${PYPI_SITE}/n/nose2/nose2-${version}.tar.gz"
|
|
||||||
checksum=9052f2b46807b63d9bdf68e0768da1f8386368889b50043fd5d0889c470258f3
|
|
||||||
alternatives="nose2:nose2:/usr/bin/python2-nose2"
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense license.txt
|
|
||||||
# XXX override the default naming scheme
|
|
||||||
cp -a ${DESTDIR}/usr/bin/nose2 ${DESTDIR}/usr/bin/python3-nose2
|
|
||||||
mv ${DESTDIR}/usr/bin/nose2 ${DESTDIR}/usr/bin/python2-nose2
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-nose2_package() {
|
|
||||||
archs=noarch
|
|
||||||
pycompile_module="nose2"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
depends="python3-setuptools python3-coverage python3-six"
|
|
||||||
alternatives="nose2:nose2:/usr/bin/python3-nose2"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/bin/python3-nose2
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense license.txt
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-nose2
|
|
19
srcpkgs/python3-nose2/template
Normal file
19
srcpkgs/python3-nose2/template
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Template file for 'python3-nose2'
|
||||||
|
pkgname=python3-nose2
|
||||||
|
version=0.8.0
|
||||||
|
revision=3
|
||||||
|
wrksrc="nose2-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-setuptools python3-coverage python3-six"
|
||||||
|
short_desc="Next generation of nicer testing (Python3)"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="BSD-2-Clause"
|
||||||
|
homepage="https://github.com/nose-devs/nose2"
|
||||||
|
distfiles="${PYPI_SITE}/n/nose2/nose2-${version}.tar.gz"
|
||||||
|
checksum=9052f2b46807b63d9bdf68e0768da1f8386368889b50043fd5d0889c470258f3
|
||||||
|
conflicts="python-nose2>=0"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense license.txt
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue