* [gentoo-commits] proj/kde:master commit in: kde-apps/kig/files/, kde-apps/kig/
@ 2019-12-15 16:00 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2019-12-15 16:00 UTC (permalink / raw
To: gentoo-commits
commit: 4ac1a30173a99c59f805591c990bbbbee06c79d4
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 15 15:28:37 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 15 15:59:03 2019 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=4ac1a301
kde-apps/kig: Switch to python3, backport python3 to 19.12 stable branch
Upstream commit d72f33a14c22480b28c0f35d53293826f6ec787b
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-apps/kig/files/kig-19.08.3-pykig-python3.patch | 161 +++++++++++++++++++++
kde-apps/kig/kig-19.12.49.9999.ebuild | 17 ++-
kde-apps/kig/kig-9999.ebuild | 14 +-
3 files changed, 178 insertions(+), 14 deletions(-)
diff --git a/kde-apps/kig/files/kig-19.08.3-pykig-python3.patch b/kde-apps/kig/files/kig-19.08.3-pykig-python3.patch
new file mode 100644
index 0000000000..902c138495
--- /dev/null
+++ b/kde-apps/kig/files/kig-19.08.3-pykig-python3.patch
@@ -0,0 +1,161 @@
+From d72f33a14c22480b28c0f35d53293826f6ec787b Mon Sep 17 00:00:00 2001
+From: Antonio Rojas <arojas@archlinux.org>
+Date: Sat, 14 Dec 2019 19:49:09 +0100
+Subject: Port pykig to python 3
+
+Differential Revision: https://phabricator.kde.org/D25982
+---
+ pykig/pykig.py | 42 +++++++++++++++++++++---------------------
+ 1 file changed, 21 insertions(+), 21 deletions(-)
+
+diff --git a/pykig/pykig.py b/pykig/pykig.py
+index 02f637d..3ee6e97 100644
+--- a/pykig/pykig.py
++++ b/pykig/pykig.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # -*- coding: utf-8 -*-
+ #-------------------------------python------------------------pykig.py--#
+ # #
+@@ -170,9 +170,9 @@ class KigDocument(object):
+ self.of=of
+ try:
+ self.outfile = open(outfilename, 'w')
+- except IOError, value:
++ except IOError as value:
+ # print >> sys.stderr, outfilename, 'unwritable'
+- print >> sys.stderr, value
++ print(value, file=sys.stderr)
+ sys.exit(2)
+ # KigOut._kigdocument=self
+ KigDOP._kd=self
+@@ -212,14 +212,14 @@ class KigDocument(object):
+ self.outfile.write(" </View>\n</KigDocument>\n")
+ if self.outfile != sys.stdout:
+ self.outfile.close()
+- except IOError, value:
+- print >> sys.stderr, value
++ except IOError as value:
++ print(value, file=sys.stderr)
+ sys.exit(2)
+ try:
+ if self.callkig:
+ err = os.system('kig ' + self.outfilename)
+- except Exception, value:
+- print >> sys.stderr, value
++ except Exception as value:
++ print(value, file=sys.stderr)
+ if not self.of:
+ os.system('rm ' + self.outfilename)
+
+@@ -501,7 +501,7 @@ def databuild(nomeclasse, nomekig, v="val"):
+
+ for d in data:
+ p1, p2, p3 = d
+- exec databuild(p1, p2, p3)
++ exec (databuild(p1, p2, p3))
+
+ #####
+ # Objects
+@@ -645,7 +645,7 @@ def objectbuild(nameclass, namekig, params, objparams):
+
+ for o in objects:
+ p1, p2, p3, p4 = o
+- exec objectbuild(p1, p2, p3, p4)
++ exec (objectbuild(p1, p2, p3, p4))
+
+ #####
+ # Properties
+@@ -688,7 +688,7 @@ def propertybuild(nameclass, namekig, params, objparams):
+
+ for p in property:
+ p1, p2, p3, p4 = p
+- exec propertybuild(p1, p2, p3, p4)
++ exec (propertybuild(p1, p2, p3, p4))
+
+ #####
+ # Start of properties definitions as Object's methods
+@@ -734,7 +734,7 @@ def methodsbuild(namekig):
+
+ for p in methods:
+ p1, p2, cl = p
+- exec methodsbuild(p1)
++ exec (methodsbuild(p1))
+ for c in cl:
+ setattr(c, p2, method)
+
+@@ -743,7 +743,7 @@ for p in methods:
+ #####
+
+ def usage(codexit):
+- print >> sys.stderr, """
++ print ("""
+ usage: pykig.py [options...] file ...
+
+ Options:
+@@ -757,7 +757,7 @@ examples:
+ $ pykig.py my_file.kpy
+ $ pykig.py -o output_file.kig my_file.kpy
+ $ ...
+-"""
++""", file=sys.stderr)
+ sys.exit(codexit)
+
+ #####
+@@ -776,7 +776,7 @@ def prog():
+ _opts, _args = getopt.getopt(sys.argv[1:], "hvno:",\
+ ["help", "version", "nokig", "output="])
+ except getopt.GetoptError:
+- print "GetoptError"
++ print ("GetoptError")
+ usage(2)
+ _callKig=True
+ _of=False
+@@ -784,7 +784,7 @@ def prog():
+ if _opt in ("-h", "--help"):
+ usage(0)
+ if _opt in ("-v", "--version"):
+- print "Version:", version
++ print ("Version:", version)
+ sys.exit(0)
+ if _opt in ("-n", "--nokig"):
+ _callKig=False
+@@ -793,19 +793,19 @@ def prog():
+ _of=True
+ _callKig=False # if there's an output file, don't call Kig
+ if len(_args)==0:
+- _infilename=raw_input("Input file name: ")
++ _infilename=input("Input file name: ")
+ if not _infilename:
+- print "No input file name."
++ print ("No input file name.")
+ usage(2)
+ elif len(_args)==1:
+ _infilename=_args[0]
+ else:
+- print "No input file name."
++ print ("No input file name.")
+ usage(2)
+ try:
+ _infile = open(_infilename, 'r')
+ except:
+- print >> sys.stderr, _infilename, "input file can't be read."
++ print (_infilename, "input file can't be read.", file=sys.stderr)
+ sys.exit(2)
+ if _of:
+ if _outfilename=="-":
+@@ -817,9 +817,9 @@ def prog():
+ kigdocument=KigDocument(_outfilename, _callKig, _of)
+ kd=kigdocument
+ try:
+- execfile(_infilename, globals())
++ exec(open(_infilename).read(), globals())
+ except:
+- print >> sys.stderr, 'Syntax error in', _infilename
++ print ('Syntax error in', _infilename, file=sys.stderr)
+ _info = sys.exc_info() # print out the traceback
+ traceback.print_exc()
+ sys.exit(3)
+--
+cgit v1.1
diff --git a/kde-apps/kig/kig-19.12.49.9999.ebuild b/kde-apps/kig/kig-19.12.49.9999.ebuild
index 8e72ad5984..d0886a59c6 100644
--- a/kde-apps/kig/kig-19.12.49.9999.ebuild
+++ b/kde-apps/kig/kig-19.12.49.9999.ebuild
@@ -5,7 +5,7 @@ EAPI=7
ECM_HANDBOOK="forceoptional"
ECM_TEST="true"
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{6,7,8} )
KFMIN=5.63.0
QTMIN=5.12.3
inherit python-single-r1 ecm kde.org
@@ -22,6 +22,11 @@ IUSE="geogebra scripting"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
>=kde-frameworks/karchive-${KFMIN}:5
>=kde-frameworks/kcompletion-${KFMIN}:5
>=kde-frameworks/kconfig-${KFMIN}:5
@@ -34,11 +39,6 @@ RDEPEND="${PYTHON_DEPS}
>=kde-frameworks/kservice-${KFMIN}:5
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
>=kde-frameworks/kxmlgui-${KFMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtprintsupport-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtxml-${QTMIN}:5
geogebra? ( >=dev-qt/qtxmlpatterns-${QTMIN}:5 )
scripting? ( >=dev-libs/boost-1.48:=[python,${PYTHON_USEDEP}] )
"
@@ -46,7 +46,10 @@ DEPEND="${RDEPEND}
>=kde-frameworks/ktexteditor-${KFMIN}:5
"
-PATCHES=( "${FILESDIR}/${PN}-4.12.0-boostpython.patch" )
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.12.0-boostpython.patch
+ "${FILESDIR}"/${PN}-19.08.3-pykig-python3.patch
+)
pkg_setup() {
python-single-r1_pkg_setup
diff --git a/kde-apps/kig/kig-9999.ebuild b/kde-apps/kig/kig-9999.ebuild
index f4b411c378..e652d31daa 100644
--- a/kde-apps/kig/kig-9999.ebuild
+++ b/kde-apps/kig/kig-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=7
ECM_HANDBOOK="forceoptional"
ECM_TEST="true"
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{6,7,8} )
KFMIN=5.64.0
QTMIN=5.12.3
inherit python-single-r1 ecm kde.org
@@ -22,6 +22,11 @@ IUSE="geogebra scripting"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
>=kde-frameworks/karchive-${KFMIN}:5
>=kde-frameworks/kcompletion-${KFMIN}:5
>=kde-frameworks/kconfig-${KFMIN}:5
@@ -34,11 +39,6 @@ RDEPEND="${PYTHON_DEPS}
>=kde-frameworks/kservice-${KFMIN}:5
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
>=kde-frameworks/kxmlgui-${KFMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtprintsupport-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtxml-${QTMIN}:5
geogebra? ( >=dev-qt/qtxmlpatterns-${QTMIN}:5 )
scripting? ( >=dev-libs/boost-1.48:=[python,${PYTHON_USEDEP}] )
"
@@ -46,7 +46,7 @@ DEPEND="${RDEPEND}
>=kde-frameworks/ktexteditor-${KFMIN}:5
"
-PATCHES=( "${FILESDIR}/${PN}-4.12.0-boostpython.patch" )
+PATCHES=( "${FILESDIR}"/${PN}-4.12.0-boostpython.patch )
pkg_setup() {
python-single-r1_pkg_setup
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/kde:master commit in: kde-apps/kig/files/, kde-apps/kig/
@ 2025-07-22 20:04 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2025-07-22 20:04 UTC (permalink / raw
To: gentoo-commits
commit: 6d7dfb3b656c574bd75810936243740a7c257e8b
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue Jul 22 10:17:22 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jul 22 20:00:24 2025 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6d7dfb3b
kde-apps/kig: modify patch to apply again after upstream changes
Upstream commit: 5f3a08a7922c6fc502555c32d5a37d3043e11519
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/kde/pull/1059
Closes: https://github.com/gentoo/kde/pull/1059
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
....patch => kig-25.07.80-cmake-boostpython.patch} | 40 ++++++++--------------
kde-apps/kig/kig-9999.ebuild | 2 +-
2 files changed, 15 insertions(+), 27 deletions(-)
diff --git a/kde-apps/kig/files/kig-25.07.70-cmake-boostpython.patch b/kde-apps/kig/files/kig-25.07.80-cmake-boostpython.patch
similarity index 70%
rename from kde-apps/kig/files/kig-25.07.70-cmake-boostpython.patch
rename to kde-apps/kig/files/kig-25.07.80-cmake-boostpython.patch
index f0da50cfc3..87e017d0e5 100644
--- a/kde-apps/kig/files/kig-25.07.70-cmake-boostpython.patch
+++ b/kde-apps/kig/files/kig-25.07.80-cmake-boostpython.patch
@@ -1,4 +1,4 @@
-From 39bf05d48f899612dffa07c73ac276f52820a7c9 Mon Sep 17 00:00:00 2001
+From c656b9ce0d8727302fea126d2ad70c36ce99f9e8 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Mon, 13 Jul 2020 00:41:25 +0200
Subject: [PATCH] Use CMake's own FindBoost module to detect Boost Python
@@ -7,14 +7,14 @@ Introduces BOOSTPYTHON_VERSION_MAJOR_MINOR for packaging.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
- CMakeLists.txt | 26 ++++++++++++--------------
- 1 file changed, 12 insertions(+), 14 deletions(-)
+ CMakeLists.txt | 20 +++++++++-----------
+ 1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index e65585fb..e07a4dc6 100644
+index d05dae46..1c792102 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -51,7 +51,8 @@ endif()
+@@ -55,7 +55,8 @@ endif()
include(KigConfigureChecks.cmake)
@@ -24,8 +24,8 @@ index e65585fb..e07a4dc6 100644
if(KF6DocTools_FOUND)
add_subdirectory( doc )
-@@ -61,15 +62,15 @@ add_subdirectory( macros )
- add_subdirectory( data )
+@@ -67,15 +68,15 @@ add_subdirectory( mimetypes )
+ add_subdirectory( macros )
add_subdirectory( pykig )
-if(BoostPython_FOUND)
@@ -34,8 +34,7 @@ index e65585fb..e07a4dc6 100644
+ include_directories(${PYTHON_INCLUDE_DIRS})
add_subdirectory( scripting )
add_definitions(-DKIG_ENABLE_PYTHON_SCRIPTING)
--endif(BoostPython_FOUND)
-+endif()
+ endif()
set_package_properties(
- BoostPython PROPERTIES
@@ -45,17 +44,17 @@ index e65585fb..e07a4dc6 100644
TYPE OPTIONAL
PURPOSE "Kig can optionally use Boost.Python for Python scripting"
)
-@@ -85,9 +86,6 @@ set_package_properties(
+@@ -93,9 +94,6 @@ endif()
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
include_directories( ${CMAKE_SOURCE_DIR}/modes )
-if(BoostPython_FOUND)
- include_directories(${BoostPython_INCLUDE_DIRS})
--endif(BoostPython_FOUND)
+-endif()
# kigpart
-@@ -225,7 +223,7 @@ ki18n_wrap_ui(kigpart_PART_SRCS
+@@ -345,7 +343,7 @@ ki18n_wrap_ui(kigpart_PART_SRCS
misc/kigcoordinateprecisiondialog.ui
)
@@ -64,28 +63,17 @@ index e65585fb..e07a4dc6 100644
set(kigpart_PART_SRCS ${kigpart_PART_SRCS}
modes/popup/scriptactionsprovider.cc
scripting/newscriptwizard.cc
-@@ -236,7 +234,7 @@ if(BoostPython_FOUND)
- )
-
- kde_source_files_enable_exceptions(scripting/python_scripter.cc)
--endif(BoostPython_FOUND)
-+endif()
-
-
- add_library(kigpart MODULE ${kigpart_PART_SRCS})
-@@ -256,9 +254,9 @@ target_link_libraries(kigpart
+@@ -376,8 +374,8 @@ target_link_libraries(kigpart
KF6::Archive
)
-if(BoostPython_FOUND)
- target_link_libraries(kigpart ${BoostPython_LIBRARIES} KF6::TextEditor)
--endif(BoostPython_FOUND)
+if(Boost_FOUND)
+ target_link_libraries(kigpart Boost::${BOOSTPYTHON_VERSION_MAJOR_MINOR} ${PYTHON_LIBRARIES} KF6::TextEditor)
-+endif()
+ endif()
if (Qt${QT_MAJOR_VERSION}XmlPatterns_FOUND)
- target_link_libraries(kigpart Qt::XmlPatterns)
--
-2.27.0
+2.50.1
diff --git a/kde-apps/kig/kig-9999.ebuild b/kde-apps/kig/kig-9999.ebuild
index 106873438c..eb7b473529 100644
--- a/kde-apps/kig/kig-9999.ebuild
+++ b/kde-apps/kig/kig-9999.ebuild
@@ -45,7 +45,7 @@ DEPEND="${RDEPEND}
>=kde-frameworks/ktexteditor-${KFMIN}:6
"
-PATCHES=( "${FILESDIR}"/${PN}-25.07.70-cmake-boostpython.patch )
+PATCHES=( "${FILESDIR}"/${PN}-25.07.80-cmake-boostpython.patch )
src_prepare() {
ecm_src_prepare
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/kde:master commit in: kde-apps/kig/files/, kde-apps/kig/
@ 2025-08-07 18:35 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2025-08-07 18:35 UTC (permalink / raw
To: gentoo-commits
commit: f461795cdfd57c9afa4a1795b1cf5d1cdad69454
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 7 18:28:04 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Aug 7 18:28:04 2025 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=f461795c
kde-apps/kig: drop 25.07.90
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../kig/files/kig-25.07.80-cmake-boostpython.patch | 79 ----------------------
kde-apps/kig/kig-25.07.90.ebuild | 62 -----------------
2 files changed, 141 deletions(-)
diff --git a/kde-apps/kig/files/kig-25.07.80-cmake-boostpython.patch b/kde-apps/kig/files/kig-25.07.80-cmake-boostpython.patch
deleted file mode 100644
index 87e017d0e5..0000000000
--- a/kde-apps/kig/files/kig-25.07.80-cmake-boostpython.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From c656b9ce0d8727302fea126d2ad70c36ce99f9e8 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <asturm@gentoo.org>
-Date: Mon, 13 Jul 2020 00:41:25 +0200
-Subject: [PATCH] Use CMake's own FindBoost module to detect Boost Python
-
-Introduces BOOSTPYTHON_VERSION_MAJOR_MINOR for packaging.
-
-Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
----
- CMakeLists.txt | 20 +++++++++-----------
- 1 file changed, 9 insertions(+), 11 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d05dae46..1c792102 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -55,7 +55,8 @@ endif()
-
- include(KigConfigureChecks.cmake)
-
--find_package(BoostPython)
-+set(BOOSTPYTHON_VERSION_MAJOR_MINOR python37 CACHE STRING "Version of BoostPython to feed CMake's FindBoost")
-+find_package(Boost 1.70 COMPONENTS ${BOOSTPYTHON_VERSION_MAJOR_MINOR})
-
- if(KF6DocTools_FOUND)
- add_subdirectory( doc )
-@@ -67,15 +68,15 @@ add_subdirectory( mimetypes )
- add_subdirectory( macros )
- add_subdirectory( pykig )
-
--if(BoostPython_FOUND)
-+if(Boost_FOUND)
-+ find_package(PythonLibs 3 REQUIRED)
-+ include_directories(${PYTHON_INCLUDE_DIRS})
- add_subdirectory( scripting )
- add_definitions(-DKIG_ENABLE_PYTHON_SCRIPTING)
- endif()
-
- set_package_properties(
-- BoostPython PROPERTIES
-- DESCRIPTION "Python scripting support in Boost"
-- URL "https://www.boost.org/"
-+ Boost PROPERTIES
- TYPE OPTIONAL
- PURPOSE "Kig can optionally use Boost.Python for Python scripting"
- )
-@@ -93,9 +94,6 @@ endif()
- feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
-
- include_directories( ${CMAKE_SOURCE_DIR}/modes )
--if(BoostPython_FOUND)
-- include_directories(${BoostPython_INCLUDE_DIRS})
--endif()
-
- # kigpart
-
-@@ -345,7 +343,7 @@ ki18n_wrap_ui(kigpart_PART_SRCS
- misc/kigcoordinateprecisiondialog.ui
- )
-
--if(BoostPython_FOUND)
-+if(Boost_FOUND)
- set(kigpart_PART_SRCS ${kigpart_PART_SRCS}
- modes/popup/scriptactionsprovider.cc
- scripting/newscriptwizard.cc
-@@ -376,8 +374,8 @@ target_link_libraries(kigpart
- KF6::Archive
- )
-
--if(BoostPython_FOUND)
-- target_link_libraries(kigpart ${BoostPython_LIBRARIES} KF6::TextEditor)
-+if(Boost_FOUND)
-+ target_link_libraries(kigpart Boost::${BOOSTPYTHON_VERSION_MAJOR_MINOR} ${PYTHON_LIBRARIES} KF6::TextEditor)
- endif()
-
- if (Qt${QT_MAJOR_VERSION}XmlPatterns_FOUND)
---
-2.50.1
-
diff --git a/kde-apps/kig/kig-25.07.90.ebuild b/kde-apps/kig/kig-25.07.90.ebuild
deleted file mode 100644
index e3455b2ec9..0000000000
--- a/kde-apps/kig/kig-25.07.90.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_HANDBOOK="optional"
-ECM_TEST="true"
-PYTHON_COMPAT=( python3_{11..13} )
-KFMIN=6.16.0
-QTMIN=6.9.1
-inherit python-single-r1 ecm gear.kde.org xdg
-
-DESCRIPTION="KDE Interactive Geometry tool"
-HOMEPAGE="https://apps.kde.org/kig/"
-
-LICENSE="GPL-2" # TODO: CHECK
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-IUSE="scripting"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- >=dev-qt/qtbase-${QTMIN}:6[gui,widgets,xml]
- >=dev-qt/qtsvg-${QTMIN}:6
- >=kde-frameworks/karchive-${KFMIN}:6
- >=kde-frameworks/kcompletion-${KFMIN}:6
- >=kde-frameworks/kconfig-${KFMIN}:6
- >=kde-frameworks/kconfigwidgets-${KFMIN}:6
- >=kde-frameworks/kcoreaddons-${KFMIN}:6
- >=kde-frameworks/kcrash-${KFMIN}:6
- >=kde-frameworks/ki18n-${KFMIN}:6
- >=kde-frameworks/kiconthemes-${KFMIN}:6
- >=kde-frameworks/kparts-${KFMIN}:6
- >=kde-frameworks/kservice-${KFMIN}:6
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
- >=kde-frameworks/kxmlgui-${KFMIN}:6
- scripting? (
- $(python_gen_cond_dep '
- >=dev-libs/boost-1.70:=[python,${PYTHON_USEDEP}]
- ')
- )
-"
-DEPEND="${RDEPEND}
- >=kde-frameworks/ktexteditor-${KFMIN}:6
-"
-
-PATCHES=( "${FILESDIR}"/${PN}-25.07.80-cmake-boostpython.patch )
-
-src_prepare() {
- ecm_src_prepare
- python_fix_shebang .
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBOOSTPYTHON_VERSION_MAJOR_MINOR=${EPYTHON}
- $(cmake_use_find_package scripting Boost)
- )
-
- ecm_src_configure
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-08-07 18:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-22 20:04 [gentoo-commits] proj/kde:master commit in: kde-apps/kig/files/, kde-apps/kig/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2025-08-07 18:35 Andreas Sturmlechner
2019-12-15 16:00 Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox