pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang
Module Name: pkgsrc
Committed By: agc
Date: Thu Jun 14 01:56:27 UTC 2018
Modified Files:
pkgsrc/lang: Makefile
Added Files:
pkgsrc/lang/py-python-lua: DESCR Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.483 -r1.484 pkgsrc/lang/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-python-lua/DESCR \
pkgsrc/lang/py-python-lua/Makefile pkgsrc/lang/py-python-lua/PLIST \
pkgsrc/lang/py-python-lua/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/Makefile
diff -u pkgsrc/lang/Makefile:1.483 pkgsrc/lang/Makefile:1.484
--- pkgsrc/lang/Makefile:1.483 Sat Jun 2 19:11:22 2018
+++ pkgsrc/lang/Makefile Thu Jun 14 01:56:27 2018
@@ -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-js2py
SUBDIR+= py-jsparser
SUBDIR+= py-parso
SUBDIR+= py-pyrex
+SUBDIR+= py-python-lua
SUBDIR+= py-pythonz
SUBDIR+= py-six
SUBDIR+= py27-html-docs
Added files:
Index: pkgsrc/lang/py-python-lua/DESCR
diff -u /dev/null pkgsrc/lang/py-python-lua/DESCR:1.1
--- /dev/null Thu Jun 14 01:56:27 2018
+++ pkgsrc/lang/py-python-lua/DESCR Thu Jun 14 01:56:27 2018
@@ -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.
Index: pkgsrc/lang/py-python-lua/Makefile
diff -u /dev/null pkgsrc/lang/py-python-lua/Makefile:1.1
--- /dev/null Thu Jun 14 01:56:27 2018
+++ pkgsrc/lang/py-python-lua/Makefile Thu Jun 14 01:56:27 2018
@@ -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"
Index: pkgsrc/lang/py-python-lua/PLIST
diff -u /dev/null pkgsrc/lang/py-python-lua/PLIST:1.1
--- /dev/null Thu Jun 14 01:56:27 2018
+++ pkgsrc/lang/py-python-lua/PLIST Thu Jun 14 01:56:27 2018
@@ -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
Index: pkgsrc/lang/py-python-lua/distinfo
diff -u /dev/null pkgsrc/lang/py-python-lua/distinfo:1.1
--- /dev/null Thu Jun 14 01:56:27 2018
+++ pkgsrc/lang/py-python-lua/distinfo Thu Jun 14 01:56:27 2018
@@ -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