summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/py-testpath/DESCR5
-rw-r--r--devel/py-testpath/Makefile24
-rw-r--r--devel/py-testpath/PLIST6
-rw-r--r--devel/py-testpath/distinfo6
4 files changed, 41 insertions, 0 deletions
diff --git a/devel/py-testpath/DESCR b/devel/py-testpath/DESCR
new file mode 100644
index 00000000000..e6aae7fe761
--- /dev/null
+++ b/devel/py-testpath/DESCR
@@ -0,0 +1,5 @@
+Testpath is a collection of utilities for Python code working with files
+and commands.
+
+It contains functions to check things on the filesystem, and tools for
+mocking system commands and recording calls to those.
diff --git a/devel/py-testpath/Makefile b/devel/py-testpath/Makefile
new file mode 100644
index 00000000000..b3af8dd1910
--- /dev/null
+++ b/devel/py-testpath/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/04/23 05:04:02 markd Exp $
+
+DISTNAME= testpath-0.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jupyter/}
+GITHUB_PROJECT= testpath
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/jupyter/testpath
+COMMENT= Test utilities for code working with files and commands
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+NO_BUILD= yes
+PY_PATCHPLIST= yes
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${PYSITELIB}/testpath
+ ${INSTALL_DATA} ${WRKSRC}/testpath/*.py ${DESTDIR}${PREFIX}/${PYSITELIB}/testpath/
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-testpath/PLIST b/devel/py-testpath/PLIST
new file mode 100644
index 00000000000..82feef36551
--- /dev/null
+++ b/devel/py-testpath/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/23 05:04:02 markd Exp $
+${PYSITELIB}/testpath/__init__.py
+${PYSITELIB}/testpath/asserts.py
+${PYSITELIB}/testpath/commands.py
+${PYSITELIB}/testpath/env.py
+${PYSITELIB}/testpath/tempdir.py
diff --git a/devel/py-testpath/distinfo b/devel/py-testpath/distinfo
new file mode 100644
index 00000000000..65e70afdad7
--- /dev/null
+++ b/devel/py-testpath/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/23 05:04:02 markd Exp $
+
+SHA1 (testpath-0.3.tar.gz) = 09337b52d26b02575b311601786a5b80d80b5d15
+RMD160 (testpath-0.3.tar.gz) = 904941b939fcdbae20acda8866bb0baa00fbcaa5
+SHA512 (testpath-0.3.tar.gz) = 71a3266e17616c4df4a4c465151e9d48b89f573e4562132e85982b62446396884a270a32b5d4956aac1f0be1a00096cab9d0dc1718ae8b6312b0436eca683bdf
+Size (testpath-0.3.tar.gz) = 91250 bytes