void-packages/srcpkgs/python3-nose/template
Andrew J. Hesford d5422eb04d 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.
2021-11-02 10:40:23 -04:00

23 lines
819 B
Bash

# 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
}