summaryrefslogtreecommitdiff
path: root/devel/py-path.py/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-path.py/Makefile')
-rw-r--r--devel/py-path.py/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/py-path.py/Makefile b/devel/py-path.py/Makefile
new file mode 100644
index 00000000000..02f024a54bb
--- /dev/null
+++ b/devel/py-path.py/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2018/03/23 10:20:07 adam Exp $
+
+DISTNAME= path.py-11.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/path.py/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/jaraco/path.py
+COMMENT= Module wrapper for os.path
+LICENSE= mit
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-appdirs-[0-9]*:../../devel/py-appdirs
+TEST_DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-sugar-[0-9]*:../../devel/py-test-sugar
+
+USE_LANGUAGES= # none
+
+do-test:
+ cd ${WRKSRC} && ${PYTHONBIN} test_path.py
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"