mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 22:27:02 +02:00
python-nose: remove package
python3-nose: fix for Python 3.10 This package is unmaintained but still used in tests for other packages, so let's keep it hobbling along for awhile longer. Fixes #33788.
This commit is contained in:
parent
d53327019d
commit
d5422eb04d
4 changed files with 23 additions and 29 deletions
|
@ -1,28 +0,0 @@
|
|||
# Template file for 'python-nose'
|
||||
pkgname=python-nose
|
||||
version=1.3.7
|
||||
revision=7
|
||||
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() {
|
||||
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*
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-nose
|
23
srcpkgs/python3-nose/template
Normal file
23
srcpkgs/python3-nose/template
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'python3-nose'
|
||||
pkgname=python3-nose
|
||||
version=1.3.7
|
||||
revision=8
|
||||
wrksrc="nose-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-setuptools"
|
||||
short_desc="Nicer testing for Python3"
|
||||
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
|
||||
conflicts="python-nose>=0"
|
||||
# Tests don't work and this package is no longer maintained, just skip them
|
||||
make_check=no
|
||||
|
||||
post_patch() {
|
||||
# Convert py2 syntax to py3 since setuptools no longer does it
|
||||
2to3-${py3_ver} -w bin nose unit_tests functional_tests
|
||||
}
|
Loading…
Add table
Reference in a new issue