svn commit: r548306 - head/lang/kross-interpreters
Tobias C. Berner
tcberner at FreeBSD.org
Sat Sep 12 11:26:14 UTC 2020
Author: tcberner
Date: Sat Sep 12 11:26:14 2020
New Revision: 548306
URL: https://svnweb.freebsd.org/changeset/ports/548306
Log:
lang/kross-interpreters: optionify python dependency and undeprecate
- The python option can be removed with the removal of python2.7
Modified:
head/lang/kross-interpreters/Makefile
head/lang/kross-interpreters/pkg-plist
Modified: head/lang/kross-interpreters/Makefile
==============================================================================
--- head/lang/kross-interpreters/Makefile Sat Sep 12 11:11:13 2020 (r548305)
+++ head/lang/kross-interpreters/Makefile Sat Sep 12 11:26:14 2020 (r548306)
@@ -7,17 +7,18 @@ CATEGORIES= lang kde kde-applications
MAINTAINER= kde at FreeBSD.org
COMMENT= Language interpreters to enable in-process scripting with Kross
-DEPRECATED= Uses deprecated version of python
-EXPIRATION_DATE= 2020-09-15
-
-USES= cmake compiler:c++11-lang gettext kde:5 python:2.7 qt:5 tar:xz
+USES= cmake compiler:c++11-lang gettext kde:5 qt:5 tar:xz
USE_KDE= ecm kross
USE_QT= core gui script widgets xml \
buildtools_build qmake_build
-OPTIONS_DEFINE= RUBY DOCS
+OPTIONS_DEFINE= PYTHON RUBY DOCS
OPTIONS_SUB= yes
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
+
+# Remove python option with the removal of Python 2.7 from the tree.
+PYTHON_USES= python:2.7
+PYTHON_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PythonLibs
RUBY_USE= ruby
RUBY_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Ruby
Modified: head/lang/kross-interpreters/pkg-plist
==============================================================================
--- head/lang/kross-interpreters/pkg-plist Sat Sep 12 11:11:13 2020 (r548305)
+++ head/lang/kross-interpreters/pkg-plist Sat Sep 12 11:26:14 2020 (r548306)
@@ -1,2 +1,2 @@
-%%QT_PLUGINDIR%%/krosspython.so
+%%PYTHON%%%%QT_PLUGINDIR%%/krosspython.so
%%RUBY%%%%QT_PLUGINDIR%%/krossruby.so
More information about the svn-ports-all
mailing list