15d7e8307f
v40.8.0 * Added the build_meta:__legacy__ backend, a "compatibility mode" PEP 517 backend that can be used as the default when build-backend is left unspecified in pyproject.toml. * Resource paths are passed to pkg_resources.resource_string and similar no longer accept paths that traverse parents, that begin with a leading /. Violations of this expectation raise DeprecationWarnings and will become errors. Additionally, any paths that are absolute on Windows are strictly disallowed and will raise ValueErrors. * setuptools will now automatically include licenses if setup.cfg contains a license_file attribute, unless this file is manually excluded inside MANIFEST.in. v40.7.3 * In package_index, revert to using a copy of splituser from Python 3.8.
33 lines
1.2 KiB
Makefile
33 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.165 2019/02/09 17:11:49 adam Exp $
|
|
|
|
DISTNAME= setuptools-40.8.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=s/setuptools/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= https://github.com/pypa/setuptools
|
|
COMMENT= New Python packaging system
|
|
LICENSE= python-software-foundation OR zpl-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-fixture-config-[0-9]*:../../devel/py-test-fixture-config
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-virtualenv-[0-9]*:../../devel/py-test-virtualenv
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
.if ${_PYTHON_VERSION:M3[6-9]}
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-paver-[0-9]*:../../lang/py-paver
|
|
.else
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
|
|
.endif
|
|
|
|
REPLACE_PYTHON+= setuptools/command/easy_install.py
|
|
|
|
PYSETUPTESTTARGET= pytest
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|