summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-03-23 10:20:06 +0000
committeradam <adam@pkgsrc.org>2018-03-23 10:20:06 +0000
commit4e40190d4b72f46cac05bde9ab70fb73f7e43fed (patch)
treea0f97d92d61ccc6920dedd1111cfc27057bb853f /devel
parent261cfdd096774b134a7b237e1edb89db50dec58e (diff)
downloadpkgsrc-4e40190d4b72f46cac05bde9ab70fb73f7e43fed.tar.gz
py-path.py: added version 11.0
path.py implements a path objects as first-class entities, allowing common operations on files to be invoked on those path objects directly
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile3
-rw-r--r--devel/py-path.py/DESCR2
-rw-r--r--devel/py-path.py/Makefile24
-rw-r--r--devel/py-path.py/PLIST12
-rw-r--r--devel/py-path.py/distinfo6
5 files changed, 46 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 6db725d4151..2278386bf9b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2649 2018/03/21 13:16:13 manu Exp $
+# $NetBSD: Makefile,v 1.2650 2018/03/23 10:20:06 adam Exp $
#
COMMENT= Development utilities
@@ -2052,6 +2052,7 @@ SUBDIR+= py-open-vcdiff
SUBDIR+= py-ordered-set
SUBDIR+= py-packaging
SUBDIR+= py-parameterized
+SUBDIR+= py-path.py
SUBDIR+= py-pathlib
SUBDIR+= py-pathlib2
SUBDIR+= py-pathspec
diff --git a/devel/py-path.py/DESCR b/devel/py-path.py/DESCR
new file mode 100644
index 00000000000..bbd6427ec83
--- /dev/null
+++ b/devel/py-path.py/DESCR
@@ -0,0 +1,2 @@
+path.py implements a path objects as first-class entities, allowing common
+operations on files to be invoked on those path objects directly
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"
diff --git a/devel/py-path.py/PLIST b/devel/py-path.py/PLIST
new file mode 100644
index 00000000000..392aafad2cd
--- /dev/null
+++ b/devel/py-path.py/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2018/03/23 10:20:07 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/path.py
+${PYSITELIB}/path.pyc
+${PYSITELIB}/path.pyo
+${PYSITELIB}/test_path.py
+${PYSITELIB}/test_path.pyc
+${PYSITELIB}/test_path.pyo
diff --git a/devel/py-path.py/distinfo b/devel/py-path.py/distinfo
new file mode 100644
index 00000000000..713ec5a3c6c
--- /dev/null
+++ b/devel/py-path.py/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/03/23 10:20:07 adam Exp $
+
+SHA1 (path.py-11.0.tar.gz) = d912d8b5a35de6ffb6d78b8aa61240aa8a00c12d
+RMD160 (path.py-11.0.tar.gz) = 0721b6e5722f18a0ccd2f5388f9a257ba72f581a
+SHA512 (path.py-11.0.tar.gz) = 2da8b1104f92d0485be28ded15c2a79013c9d5d704bcbd29820fd1a7352e29c16a982fe6936600864065622c269fe04337ca41352cc6bf6677b8173bf61d9118
+Size (path.py-11.0.tar.gz) = 38060 bytes