pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fix python option and build



Module Name:	pkgsrc-wip
Committed By:	Thomas Merkel <tm%core.io@localhost>
Pushed By:	drscream
Date:		Sun May 7 18:50:15 2017 +0200
Changeset:	b9d52ca304b64bfa5b7e84ed7b5306f907de0448

Modified Files:
	znc/PLIST.python
	znc/options.mk

Log Message:
Fix python option and build

Remove pyc files from PLIST because they are not created during build only by running python. Fixing options to USE_TOOLS python if configured.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b9d52ca304b64bfa5b7e84ed7b5306f907de0448

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 znc/PLIST.python | 2 --
 znc/options.mk   | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diffs:
diff --git a/znc/PLIST.python b/znc/PLIST.python
index fb9f2a445e..bfdf15ca04 100644
--- a/znc/PLIST.python
+++ b/znc/PLIST.python
@@ -2,6 +2,4 @@
 lib/znc/modpython.so
 lib/znc/modpython/_znc_core.so
 lib/znc/modpython/znc.py
-lib/znc/modpython/znc.pyc
 lib/znc/modpython/znc_core.py
-lib/znc/modpython/znc_core.pyc
diff --git a/znc/options.mk b/znc/options.mk
index 85fc0972f3..02e203c5cc 100644
--- a/znc/options.mk
+++ b/znc/options.mk
@@ -75,7 +75,7 @@ PYTHON_VERSIONS_INCOMPATIBLE=	27
 PY_PEP3147=	no
 .include		"../../lang/python/extension.mk"
 CONFIGURE_ARGS+=	--enable-python=python-${PYVERSSUFFIX}
-USE_TOOLS+=		perl
+USE_TOOLS+=		python
 PLIST_SRC+=		PLIST.python
 .endif
 


Home | Main Index | Thread Index | Old Index