summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2016-07-24 19:11:27 +0000
committeragc <agc@pkgsrc.org>2016-07-24 19:11:27 +0000
commit50862abd0226c18afad849176a20a8ba166b5496 (patch)
tree8439161a24f53370bd00e04306769f69e48b8510
parentab3e2e93e3676b86f45c95aee83bfc850e552384 (diff)
downloadpkgsrc-50862abd0226c18afad849176a20a8ba166b5496.tar.gz
Add py-byterun, version 20160218, to the Packages Collection.
Byterun is a pure-Python implementation of a Python bytecode execution virtual machine. It was started to get a better understanding of bytecodes to fix branch coverage bugs in coverage.py.
-rw-r--r--lang/Makefile3
-rw-r--r--lang/py-byterun/DESCR3
-rw-r--r--lang/py-byterun/Makefile21
-rw-r--r--lang/py-byterun/PLIST17
-rw-r--r--lang/py-byterun/distinfo6
5 files changed, 49 insertions, 1 deletions
diff --git a/lang/Makefile b/lang/Makefile
index b15ecc3b2f6..968234ea0f4 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.437 2016/07/12 10:14:35 leot Exp $
+# $NetBSD: Makefile,v 1.438 2016/07/24 19:11:27 agc Exp $
#
COMMENT= Programming languages
@@ -172,6 +172,7 @@ SUBDIR+= picoc
SUBDIR+= pict
SUBDIR+= polyml
SUBDIR+= py-basicproperty
+SUBDIR+= py-byterun
SUBDIR+= py-cxfreeze
SUBDIR+= py-hy
SUBDIR+= py-pyrex
diff --git a/lang/py-byterun/DESCR b/lang/py-byterun/DESCR
new file mode 100644
index 00000000000..e7e08f2ad3e
--- /dev/null
+++ b/lang/py-byterun/DESCR
@@ -0,0 +1,3 @@
+Byterun is a pure-Python implementation of a Python bytecode execution
+virtual machine. It was started to get a better understanding of
+bytecodes to fix branch coverage bugs in coverage.py.
diff --git a/lang/py-byterun/Makefile b/lang/py-byterun/Makefile
new file mode 100644
index 00000000000..da47882ee1a
--- /dev/null
+++ b/lang/py-byterun/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2016/07/24 19:11:27 agc Exp $
+
+DISTNAME= byterun
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}-20160218
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_GITHUB:=nedbat/}
+GITHUB_PROJECT= byterun
+GITHUB_TAG= de8519308a90bed6881196066dd9158ec3e4ba2b
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/nedbat/byterun
+COMMENT= Python implementation of a python interpreter
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}/${DISTNAME}-${GITHUB_TAG}
+
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
+.include "../../lang/python/distutils.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/py-byterun/PLIST b/lang/py-byterun/PLIST
new file mode 100644
index 00000000000..2cc3fd01306
--- /dev/null
+++ b/lang/py-byterun/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/24 19:11:27 agc Exp $
+${PYSITELIB}/Byterun-1.0-py2.7.egg-info
+${PYSITELIB}/byterun/__init__.py
+${PYSITELIB}/byterun/__init__.pyc
+${PYSITELIB}/byterun/__init__.pyo
+${PYSITELIB}/byterun/__main__.py
+${PYSITELIB}/byterun/__main__.pyc
+${PYSITELIB}/byterun/__main__.pyo
+${PYSITELIB}/byterun/execfile.py
+${PYSITELIB}/byterun/execfile.pyc
+${PYSITELIB}/byterun/execfile.pyo
+${PYSITELIB}/byterun/pyobj.py
+${PYSITELIB}/byterun/pyobj.pyc
+${PYSITELIB}/byterun/pyobj.pyo
+${PYSITELIB}/byterun/pyvm2.py
+${PYSITELIB}/byterun/pyvm2.pyc
+${PYSITELIB}/byterun/pyvm2.pyo
diff --git a/lang/py-byterun/distinfo b/lang/py-byterun/distinfo
new file mode 100644
index 00000000000..5d8ea82ae92
--- /dev/null
+++ b/lang/py-byterun/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/24 19:11:27 agc Exp $
+
+SHA1 (byterun-de8519308a90bed6881196066dd9158ec3e4ba2b.tar.gz) = f229667857ec033cdb7efa9ab49ef090f89dbf35
+RMD160 (byterun-de8519308a90bed6881196066dd9158ec3e4ba2b.tar.gz) = a0753741a50d3fd606ae73332e529bed358c73e3
+SHA512 (byterun-de8519308a90bed6881196066dd9158ec3e4ba2b.tar.gz) = 5d7ee6dcbb797689a2a53456be959e253e068cbe2e3b907524cda749933138be3285518f1e0ad3d040593b1466d8ab60f714c8a373fccd1af638a705f338078f
+Size (byterun-de8519308a90bed6881196066dd9158ec3e4ba2b.tar.gz) = 21351 bytes