pkgsrc/devel/py-packaging/Makefile
adam fe95490512 py-packaging: updated to 19.2
19.2:
* Remove dependency on ``attrs``
* Use appropriate fallbacks for CPython ABI tag
* Add manylinux2014 support
* Improve ABI detection
* Properly handle debug wheels for Python 3.8
* Improve detection of debug builds on Windows
2019-09-19 16:49:32 +00:00

25 lines
798 B
Makefile

# $NetBSD: Makefile,v 1.8 2019/09/19 16:49:32 adam Exp $
DISTNAME= packaging-19.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/packaging/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pypa/packaging
COMMENT= Core utilities for Python packages
LICENSE= modified-bsd OR apache-2.0
DEPENDS+= ${PYPKGPREFIX}-pyparsing>=2.0.2:../../devel/py-pyparsing
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
# needs 'make install' before
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"