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