void-packages/srcpkgs/python3-nose/template

23 lines
795 B
Bash

# Template file for 'python3-nose'
pkgname=python3-nose
version=1.3.7
revision=10
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
}