25 lines
845 B
Makefile
25 lines
845 B
Makefile
# $NetBSD: Makefile,v 1.29 2020/10/06 10:51:22 wiz Exp $
|
|
|
|
DISTNAME= python-dateutil-2.8.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
|
|
CATEGORIES= time python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dateutil/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/dateutil/dateutil
|
|
COMMENT= Extensions to the standard datetime module
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-six>=1.5:../../lang/py-six
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
|
PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|