pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-lupa
Module Name: pkgsrc
Committed By: alnsn
Date: Tue May 30 21:59:56 UTC 2017
Modified Files:
pkgsrc/devel/py-lupa: Makefile options.mk
Log Message:
Add support for Lua 5.1 and 5.2. Add "luajit" option (off by default).
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-lupa/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/devel/py-lupa/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-lupa/Makefile
diff -u pkgsrc/devel/py-lupa/Makefile:1.4 pkgsrc/devel/py-lupa/Makefile:1.5
--- pkgsrc/devel/py-lupa/Makefile:1.4 Sat Feb 25 09:28:09 2017
+++ pkgsrc/devel/py-lupa/Makefile Tue May 30 21:59:56 2017
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2017/02/25 09:28:09 alnsn Exp $
+# $NetBSD: Makefile,v 1.5 2017/05/30 21:59:56 alnsn Exp $
DISTNAME= lupa-1.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/lupa/}
@@ -10,10 +11,12 @@ HOMEPAGE= https://pypi.python.org/pypi/l
COMMENT= Python wrapper around Lua and LuaJIT
LICENSE= mit
+# XXX Find a replacement for luaL_openlib().
+LUA_VERSIONS_INCOMPATIBLE= 53
+
USE_TOOLS+= pkg-config
.include "options.mk"
.include "../../lang/python/distutils.mk"
-.include "../../lang/LuaJIT2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-lupa/options.mk
diff -u pkgsrc/devel/py-lupa/options.mk:1.1.1.1 pkgsrc/devel/py-lupa/options.mk:1.2
--- pkgsrc/devel/py-lupa/options.mk:1.1.1.1 Mon Apr 20 19:34:47 2015
+++ pkgsrc/devel/py-lupa/options.mk Tue May 30 21:59:56 2017
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.1.1.1 2015/04/20 19:34:47 alnsn Exp $
+# $NetBSD: options.mk,v 1.2 2017/05/30 21:59:56 alnsn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.py-lupa
-PKG_SUPPORTED_OPTIONS= cython
+PKG_SUPPORTED_OPTIONS= cython luajit
PKG_SUGGESTED_OPTIONS+= cython
.include "../../mk/bsd.options.mk"
@@ -10,3 +10,9 @@ PKG_SUGGESTED_OPTIONS+= cython
PYSETUPBUILDARGS+= --with-cython
.include "../../devel/py-cython/buildlink3.mk"
.endif
+
+.if !empty(PKG_OPTIONS:Mluajit)
+.include "../../lang/LuaJIT2/buildlink3.mk"
+.else
+.include "../../lang/lua/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index