pkgsrc/devel/py-packaging/Makefile
wiz 75b4b30568 py-packaging: update to 20.9.
20.9 - 2021-01-29
~~~~~~~~~~~~~~~~~

* Run [isort](https://pypi.org/project/isort/) over the code base (:issue:`377`)
* Add support for the ``macosx_10_*_universal2`` platform tags (:issue:`379`)
* Introduce ``packaging.utils.parse_wheel_filename()`` and ``parse_sdist_filename()``
  (:issue:`387` and :issue:`389`)
2021-02-03 20:18:44 +00:00

27 lines
833 B
Makefile

# $NetBSD: Makefile,v 1.12 2021/02/03 20:18:44 wiz Exp $
DISTNAME= packaging-20.9
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
PYTHON_VERSIONED_DEPENDENCIES= test:test
USE_LANGUAGES= # none
# needs 'make install' before
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"