From b2c171f8af6c12e20378ad4b18cee6db5ba84786 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 10 Dec 2020 08:30:46 -0500 Subject: [PATCH] python3-setuptools: update to 51.0.0. --- srcpkgs/python3-setuptools/template | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-setuptools/template b/srcpkgs/python3-setuptools/template index 72416a8055..4294a7a006 100644 --- a/srcpkgs/python3-setuptools/template +++ b/srcpkgs/python3-setuptools/template @@ -1,17 +1,20 @@ # Template file for 'python3-setuptools' pkgname=python3-setuptools -version=50.3.2 +version=51.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 " 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}.zip" -checksum=ed0519d27a243843b05d82a5e9d01b0b083d9934eaa3d02779a23da18077bd3c +checksum=029c49fd713e9230f6a41c0298e6e1f5839f2cde7104c0ad5e053a37777e7688 alternatives="setuptools:easy_install:/usr/bin/easy_install3" provides="python3-distribute-${version}_1" replaces="python3-distribute>=0" @@ -19,6 +22,13 @@ replaces="python3-distribute>=0" 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 mv ${PKGDESTDIR}/usr/bin/easy_install ${PKGDESTDIR}/usr/bin/easy_install3