mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Remove optional dependency on python 2.7
This commit is contained in:
parent
b1f0f0793e
commit
1da9850cac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527603
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= keybinder
|
||||
PORTVERSION= 0.3.1
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= x11
|
||||
|
||||
@ -19,11 +19,11 @@ USES= autoreconf gmake gnome libtool pathfix pkgconfig xorg
|
||||
USE_GNOME= gtk20 introspection:build
|
||||
USE_XORG= x11 xext xrender
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-python
|
||||
INSTALL_TARGET= install-strip
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES DOCS LUA PYTHON
|
||||
OPTIONS_DEFAULT= PYTHON
|
||||
OPTIONS_DEFINE= EXAMPLES DOCS LUA
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc
|
||||
@ -35,10 +35,6 @@ LUA_USES= lua:51
|
||||
LUA_CONFIGURE_ON= --with-lua-includes=${LUA_INCDIR}
|
||||
LUA_CONFIGURE_OFF= --disable-lua
|
||||
|
||||
PYTHON_USES= python:2.7
|
||||
PYTHON_USE= gnome=pygtk2
|
||||
PYTHON_CONFIGURE_OFF= --disable-python
|
||||
|
||||
post-patch-DOCS-off:
|
||||
@${REINPLACE_CMD} -E '/GTK_DOC_CHECK|docs/d' ${WRKSRC}/configure.ac
|
||||
@${REINPLACE_CMD} -e '/^SUBDIRS/s, docs,,' ${WRKSRC}/Makefile.am
|
||||
|
@ -5,7 +5,6 @@ The port provides the following:
|
||||
|
||||
- A C library, libkeybinder
|
||||
- Lua bindings, lua-keybinder (off by default)
|
||||
- Python bindings, python-keybinder
|
||||
- Example programs in C, Lua, Python, and Vala
|
||||
|
||||
WWW: https://github.com/engla/keybinder
|
||||
|
@ -5,10 +5,6 @@ lib/libkeybinder.so.0
|
||||
lib/libkeybinder.so.0.1.0
|
||||
%%LUA%%%%LUA_MODLIBDIR%%/keybinder.so
|
||||
libdata/pkgconfig/keybinder.pc
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/__init__.py
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/__init__.pyc
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/__init__.pyo
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/_keybinder.so
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.lua
|
||||
|
Loading…
Reference in New Issue
Block a user