diff options
author | agc <agc@pkgsrc.org> | 2018-06-14 01:56:27 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2018-06-14 01:56:27 +0000 |
commit | 37f4e11eb8876e4232fbfa75155b240f1b6b148b (patch) | |
tree | f5718f4006f8b6281a1e29f860c21a69b7139210 /lang/py-python-lua | |
parent | c835e777b2e00124ca4159b1aef0c57434f46479 (diff) | |
download | pkgsrc-37f4e11eb8876e4232fbfa75155b240f1b6b148b.tar.gz |
Add py-python-lua, version 20170109, to the packages collection.
py-python-lua is a python3 application which translates python 3 scripts
into Lua. It can act as a standalone translator, or as an embedded package.
Lua can be embedded in Python 3 input scripts, and will be passed through.
Diffstat (limited to 'lang/py-python-lua')
-rw-r--r-- | lang/py-python-lua/DESCR | 5 | ||||
-rw-r--r-- | lang/py-python-lua/Makefile | 34 | ||||
-rw-r--r-- | lang/py-python-lua/PLIST | 46 | ||||
-rw-r--r-- | lang/py-python-lua/distinfo | 6 |
4 files changed, 91 insertions, 0 deletions
diff --git a/lang/py-python-lua/DESCR b/lang/py-python-lua/DESCR new file mode 100644 index 00000000000..80e1200018a --- /dev/null +++ b/lang/py-python-lua/DESCR @@ -0,0 +1,5 @@ +This script converts a python 3 to lua. + +It can be used for standalone scripts, or embedded. + +Lua can be embedded in the python script. diff --git a/lang/py-python-lua/Makefile b/lang/py-python-lua/Makefile new file mode 100644 index 00000000000..7b00ea7c26e --- /dev/null +++ b/lang/py-python-lua/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1 2018/06/14 01:56:27 agc Exp $ + +DISTNAME= python-lua +PKGNAME= ${PYPKGPREFIX}-python-lua-20170109 +CATEGORIES= lang converters +MASTER_SITES= ${MASTER_SITE_GITHUB:=NeonMercury/} +DIST_SUBDIR= ${PKGNAME_NOREV} +GITHUB_PROJECT= ${DISTNAME} +GITHUB_TAG= 9e5657932708d7f5cf6531cb21afc81c4708d3ac +EXTRACT_SUFX= .zip + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/NeonMercury/python-lua +COMMENT= Simple python to lua translator +LICENSE= apache-2.0 + +BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools>=18.5:../../devel/py-setuptools +BUILD_DEPENDS+= ${PYPKGPREFIX}-yaml>=3.12:../../textproc/py-yaml + +USE_LANGUAGES= #none + +PYTHON_VERSIONS_INCOMPATIBLE= 27 +REPLACE_PYTHON= pythonlua/*.py tests/*.py *.py + +AUTO_MKDIRS= yes + +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/__main__.py ${DESTDIR}${PREFIX}/bin/pythonlua + ${INSTALL_SCRIPT} ${WRKSRC}/pythonlua/luainit.lua ${DESTDIR}${PREFIX}/${PYSITELIB}/pythonlua + +.include "../../lang/python/application.mk" +.include "../../lang/python/distutils.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/py-python-lua/PLIST b/lang/py-python-lua/PLIST new file mode 100644 index 00000000000..ef0a2b1292f --- /dev/null +++ b/lang/py-python-lua/PLIST @@ -0,0 +1,46 @@ +@comment $NetBSD: PLIST,v 1.1 2018/06/14 01:56:27 agc Exp $ +bin/pythonlua +${PYSITELIB}/pythonlua-1.0-py${PYVERSSUFFIX}.egg-info/PKG-INFO +${PYSITELIB}/pythonlua-1.0-py${PYVERSSUFFIX}.egg-info/SOURCES.txt +${PYSITELIB}/pythonlua-1.0-py${PYVERSSUFFIX}.egg-info/dependency_links.txt +${PYSITELIB}/pythonlua-1.0-py${PYVERSSUFFIX}.egg-info/top_level.txt +${PYSITELIB}/pythonlua/__init__.py +${PYSITELIB}/pythonlua/__init__.pyo +${PYSITELIB}/pythonlua/__init__.pyc +${PYSITELIB}/pythonlua/binopdesc.pyo +${PYSITELIB}/pythonlua/binopdesc.pyc +${PYSITELIB}/pythonlua/boolopdesc.pyo +${PYSITELIB}/pythonlua/boolopdesc.pyc +${PYSITELIB}/pythonlua/cmpopdesc.pyo +${PYSITELIB}/pythonlua/cmpopdesc.pyc +${PYSITELIB}/pythonlua/config.pyo +${PYSITELIB}/pythonlua/config.pyc +${PYSITELIB}/pythonlua/context.pyo +${PYSITELIB}/pythonlua/context.pyc +${PYSITELIB}/pythonlua/loopcounter.pyo +${PYSITELIB}/pythonlua/loopcounter.pyc +${PYSITELIB}/pythonlua/luainit.lua +${PYSITELIB}/pythonlua/nameconstdesc.pyo +${PYSITELIB}/pythonlua/nameconstdesc.pyc +${PYSITELIB}/pythonlua/nodevisitor.pyo +${PYSITELIB}/pythonlua/nodevisitor.pyc +${PYSITELIB}/pythonlua/symbolsstack.pyo +${PYSITELIB}/pythonlua/symbolsstack.pyc +${PYSITELIB}/pythonlua/tokenendmode.pyo +${PYSITELIB}/pythonlua/tokenendmode.pyc +${PYSITELIB}/pythonlua/translator.pyo +${PYSITELIB}/pythonlua/translator.pyc +${PYSITELIB}/pythonlua/unaryopdesc.pyo +${PYSITELIB}/pythonlua/unaryopdesc.pyc +${PYSITELIB}/pythonlua/binopdesc.py +${PYSITELIB}/pythonlua/boolopdesc.py +${PYSITELIB}/pythonlua/cmpopdesc.py +${PYSITELIB}/pythonlua/config.py +${PYSITELIB}/pythonlua/context.py +${PYSITELIB}/pythonlua/loopcounter.py +${PYSITELIB}/pythonlua/nameconstdesc.py +${PYSITELIB}/pythonlua/nodevisitor.py +${PYSITELIB}/pythonlua/symbolsstack.py +${PYSITELIB}/pythonlua/tokenendmode.py +${PYSITELIB}/pythonlua/translator.py +${PYSITELIB}/pythonlua/unaryopdesc.py diff --git a/lang/py-python-lua/distinfo b/lang/py-python-lua/distinfo new file mode 100644 index 00000000000..24f0b758f83 --- /dev/null +++ b/lang/py-python-lua/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/06/14 01:56:27 agc Exp $ + +SHA1 (py36-python-lua-20170109/python-lua-9e5657932708d7f5cf6531cb21afc81c4708d3ac.zip) = 240113dc4da577f86d20ecee6f399e771feb908b +RMD160 (py36-python-lua-20170109/python-lua-9e5657932708d7f5cf6531cb21afc81c4708d3ac.zip) = b73473b6ea579e7332efe8d6a82d63533f0191ec +SHA512 (py36-python-lua-20170109/python-lua-9e5657932708d7f5cf6531cb21afc81c4708d3ac.zip) = d94f2b28b4f90ad6091880d85f5e7928c7b9b3b024d519f77d99e7ee54a2904ed50a5e75f5e3d893fff6482c3f2ae613ce01ae5bcd9a0581889a9ca6d294ee4d +Size (py36-python-lua-20170109/python-lua-9e5657932708d7f5cf6531cb21afc81c4708d3ac.zip) = 99326 bytes |