24d0f904e3
This release drops easy_install, which will cause hard failures when building python-module or python3-module templates that do not specify all of their setup_requires dependencies in `hostmakedepends`. This is a good thing; before, setuptools would fetch setup dependencies on its own, negatively impacting the reproducibility of package builds.
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'python3-setuptools'
|
|
pkgname=python3-setuptools
|
|
version=52.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=fb3a1ee622509550dbf1d419f241296169d7f09cb1eb5b1736f2f10965932b96
|
|
provides="python3-distribute-${version}_1"
|
|
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
|
|
}
|