pkgsrc/devel/py-path/Makefile
adam 9432a7e989 py-path: updated to 16.3.0
v16.3.0
-------
- Require Python 3.7 or later.
- test_listdir_other_encoding now automatically skips
  itself on file systems where it's not appropriate.
2022-01-07 16:56:33 +00:00

26 lines
704 B
Makefile

# $NetBSD: Makefile,v 1.3 2022/01/07 16:56:33 adam Exp $
DISTNAME= path-16.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/path/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/jaraco/path
COMMENT= Python module wrapper for os.path
LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"