2019-09-19 18:49:32 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2019/09/19 16:49:32 adam Exp $
|
2017-02-08 13:10:01 +01:00
|
|
|
|
2019-09-19 18:49:32 +02:00
|
|
|
DISTNAME= packaging-19.2
|
2017-02-08 13:10:01 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
|
|
CATEGORIES= devel python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/packaging/}
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2019-08-09 09:42:59 +02:00
|
|
|
HOMEPAGE= https://github.com/pypa/packaging
|
2017-02-08 13:10:01 +01:00
|
|
|
COMMENT= Core utilities for Python packages
|
|
|
|
LICENSE= modified-bsd OR apache-2.0
|
|
|
|
|
2018-04-02 21:52:11 +02:00
|
|
|
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
|
2017-02-08 13:10:01 +01:00
|
|
|
|
2018-04-02 21:52:11 +02:00
|
|
|
USE_LANGUAGES= # none
|
|
|
|
|
2019-08-14 09:16:53 +02:00
|
|
|
# needs 'make install' before
|
2018-04-02 21:52:11 +02:00
|
|
|
do-test:
|
2019-08-14 09:16:53 +02:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
|
2017-02-08 13:10:01 +01:00
|
|
|
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|