Drop optional dependency on python 2.7

PR:		249704
This commit is contained in:
Antoine Brodin 2020-12-31 11:38:47 +00:00
parent 02fac8f9ca
commit 96b39eea6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559719
2 changed files with 3 additions and 5 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= kross-interpreters PORTNAME= kross-interpreters
DISTVERSION= ${KDE_APPLICATIONS_VERSION} DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= lang kde kde-applications CATEGORIES= lang kde kde-applications
MAINTAINER= kde@FreeBSD.org MAINTAINER= kde@FreeBSD.org
@ -12,13 +13,11 @@ USE_KDE= ecm kross
USE_QT= core gui script widgets xml \ USE_QT= core gui script widgets xml \
buildtools_build qmake_build buildtools_build qmake_build
OPTIONS_DEFINE= PYTHON RUBY DOCS OPTIONS_DEFINE= RUBY DOCS
OPTIONS_SUB= yes OPTIONS_SUB= yes
OPTIONS_DEFAULT= ${OPTIONS_DEFINE} OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
# Remove python option with the removal of Python 2.7 from the tree. CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_PythonLibs
PYTHON_USES= python:2.7
PYTHON_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PythonLibs
RUBY_USE= ruby RUBY_USE= ruby
RUBY_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Ruby RUBY_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Ruby

View File

@ -1,2 +1 @@
%%PYTHON%%%%QT_PLUGINDIR%%/krosspython.so
%%RUBY%%%%QT_PLUGINDIR%%/krossruby.so %%RUBY%%%%QT_PLUGINDIR%%/krossruby.so