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/Makefile | |
| 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/Makefile')
| -rw-r--r-- | lang/py-python-lua/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
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" |
