pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang Add py-python-lua, version 20170109, to the packa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/11051ae26ece
branches: trunk
changeset: 381657:11051ae26ece
user: agc <agc%pkgsrc.org@localhost>
date: Thu Jun 14 01:56:27 2018 +0000
description:
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:
lang/Makefile | 3 +-
lang/py-python-lua/DESCR | 5 ++++
lang/py-python-lua/Makefile | 34 +++++++++++++++++++++++++++++++++
lang/py-python-lua/PLIST | 46 +++++++++++++++++++++++++++++++++++++++++++++
lang/py-python-lua/distinfo | 6 +++++
5 files changed, 93 insertions(+), 1 deletions(-)
diffs (124 lines):
diff -r 76b5949e8aaa -r 11051ae26ece lang/Makefile
--- a/lang/Makefile Thu Jun 14 01:30:38 2018 +0000
+++ b/lang/Makefile Thu Jun 14 01:56:27 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.483 2018/06/02 19:11:22 joerg Exp $
+# $NetBSD: Makefile,v 1.484 2018/06/14 01:56:27 agc Exp $
#
COMMENT= Programming languages
@@ -192,6 +192,7 @@
SUBDIR+= py-jsparser
SUBDIR+= py-parso
SUBDIR+= py-pyrex
+SUBDIR+= py-python-lua
SUBDIR+= py-pythonz
SUBDIR+= py-six
SUBDIR+= py27-html-docs
diff -r 76b5949e8aaa -r 11051ae26ece lang/py-python-lua/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-python-lua/DESCR Thu Jun 14 01:56:27 2018 +0000
@@ -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 -r 76b5949e8aaa -r 11051ae26ece lang/py-python-lua/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-python-lua/Makefile Thu Jun 14 01:56:27 2018 +0000
@@ -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@localhost
+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 -r 76b5949e8aaa -r 11051ae26ece lang/py-python-lua/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-python-lua/PLIST Thu Jun 14 01:56:27 2018 +0000
@@ -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 -r 76b5949e8aaa -r 11051ae26ece lang/py-python-lua/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-python-lua/distinfo Thu Jun 14 01:56:27 2018 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index