pkgsrc/devel/py-packaging/Makefile

28 lines
833 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.11 2021/01/04 12:00:19 wiz Exp $
DISTNAME= packaging-20.8
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
2020-05-16 19:27:42 +02:00
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"
2020-05-16 19:27:42 +02:00
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"