summaryrefslogtreecommitdiff
path: root/sysutils/py-sh
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-03-21 19:26:59 +0000
committeradam <adam@pkgsrc.org>2020-03-21 19:26:59 +0000
commit2c2ba15753dbfa8276171a16c5354760ef73e8c2 (patch)
tree8c84947e98141b84a3bc14433715f8150ad93e8a /sysutils/py-sh
parent0ac988589f66d01cca53787e40fc4abf0246c798 (diff)
downloadpkgsrc-2c2ba15753dbfa8276171a16c5354760ef73e8c2.tar.gz
py-sh: added version 1.12.14
sh is a full-fledged subprocess replacement for Python that allows you to call any program as if it were a function.
Diffstat (limited to 'sysutils/py-sh')
-rw-r--r--sysutils/py-sh/DESCR2
-rw-r--r--sysutils/py-sh/Makefile17
-rw-r--r--sysutils/py-sh/PLIST9
-rw-r--r--sysutils/py-sh/distinfo6
4 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/py-sh/DESCR b/sysutils/py-sh/DESCR
new file mode 100644
index 00000000000..3592da3a941
--- /dev/null
+++ b/sysutils/py-sh/DESCR
@@ -0,0 +1,2 @@
+sh is a full-fledged subprocess replacement for Python that allows you to call
+any program as if it were a function.
diff --git a/sysutils/py-sh/Makefile b/sysutils/py-sh/Makefile
new file mode 100644
index 00000000000..21952e59bc9
--- /dev/null
+++ b/sysutils/py-sh/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2020/03/21 19:26:59 adam Exp $
+
+DISTNAME= sh-1.12.14
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= sysutils python
+MASTER_SITES= ${MASTER_SITE_PYPI:=s/sh/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/amoffat/sh
+COMMENT= Python subprocess replacement
+LICENSE= mit
+
+# some test failures, see https://github.com/amoffat/sh/issues/347
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/py-sh/PLIST b/sysutils/py-sh/PLIST
new file mode 100644
index 00000000000..b119792372f
--- /dev/null
+++ b/sysutils/py-sh/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2020/03/21 19:26:59 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/pbr.json
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/sh.py
+${PYSITELIB}/sh.pyc
+${PYSITELIB}/sh.pyo
diff --git a/sysutils/py-sh/distinfo b/sysutils/py-sh/distinfo
new file mode 100644
index 00000000000..24b5d75624e
--- /dev/null
+++ b/sysutils/py-sh/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/21 19:26:59 adam Exp $
+
+SHA1 (sh-1.12.14.tar.gz) = aafac521b3f38089169f38135ad5533acfb8eae7
+RMD160 (sh-1.12.14.tar.gz) = 49b53f06797959c42b339885ff47473cb3d801a5
+SHA512 (sh-1.12.14.tar.gz) = 5f2daa2666cf8efe90ba550c8ea5875f2a8812d787597c9d9b933f58feccd192e1ec0ab5695b756bdbfbf9748d106c2045be20838e680b31dac3f778970b5786
+Size (sh-1.12.14.tar.gz) = 56861 bytes