python3-setuptools: update to 54.0.0.

This commit is contained in:
Andrew J. Hesford 2021-03-01 14:36:44 -05:00
parent 2e350cc3e5
commit b4501844ae
1 changed files with 5 additions and 11 deletions

View File

@ -1,33 +1,27 @@
# Template file for 'python3-setuptools'
pkgname=python3-setuptools
version=53.0.0
version=54.0.0
revision=1
wrksrc="setuptools-${version}"
build_style=python3-module
hostmakedepends="python3-devel"
depends="python3"
checkdepends="python3-pytest-fixture-config python3-jaraco
python3-mock python3-wheel python3-pip"
short_desc="Easily build and distribute Python3 packages"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/pypa/setuptools"
changelog="https://raw.githubusercontent.com/pypa/setuptools/master/CHANGES.rst"
distfiles="${PYPI_SITE}/s/setuptools/setuptools-${version}.tar.gz"
checksum=1b18ef17d74ba97ac9c0e4b4265f123f07a8ae85d9cd093949fa056d3eeeead5
checksum=34efee89c4c879204f5739ec6d9d3635195b0b7d2b51e25c9261a327367ec5ff
provides="python3-distribute-${version}_1"
replaces="python3-distribute>=0"
# Tests rely on jaraco.path, which relies on singledispatch, both unpackaged;
# singledispatch backports functools.singledispatch and is not worth packaging
make_check=no
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
export SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
do_check() {
# Void does not package components necessary for these tests
python3 -m pytest -k 'not test_bdist_wininst_warning' \
--ignore=setuptools/tests/test_distutils_adoption.py \
--ignore=setuptools/tests/test_virtualenv.py setuptools/tests
}
post_install() {
vlicense LICENSE
}