summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2024-04-28 17:27:44 +0300
committerSlávek Banko <slavek.banko@axis.cz>2024-04-29 00:52:31 +0200
commitca5c65e61238961acac751e965979f80a69e9c64 (patch)
tree6ae0cf8726240d875b3d5fb811405c291ebe54ac
parent94ec1d06986a97431ffc44951e92b075da19b93b (diff)
downloadtde-packaging-gentoo-ca5c65e61238961acac751e965979f80a69e9c64.tar.gz
tde-packaging-gentoo-ca5c65e61238961acac751e965979f80a69e9c64.zip
Add Add new pytdeextensions package
Signed-off-by: ormorph <roma251078@mail.ru> (cherry picked from commit 11ea03a17b178450de6ef8889f3a86976b3d0166)
-rw-r--r--dev-python/pytdeextensions/Manifest1
-rw-r--r--dev-python/pytdeextensions/metadata.xml8
-rw-r--r--dev-python/pytdeextensions/pytdeextensions-14.1.2.ebuild38
-rw-r--r--dev-python/pytdeextensions/pytdeextensions-9999.ebuild37
4 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/pytdeextensions/Manifest b/dev-python/pytdeextensions/Manifest
new file mode 100644
index 00000000..ca45312a
--- /dev/null
+++ b/dev-python/pytdeextensions/Manifest
@@ -0,0 +1 @@
+DIST pytdeextensions-trinity-14.1.2.tar.xz 277728 BLAKE2B 02a662e8da8c570de7ab7f64107cfa7505dde01f0655cc23d184085746c5605bdb1fec36e021e7700ffa2eedca679ee698de02dd38bc76ac703ad85bd6fbb620 SHA512 e48d64f17ad1c2f247f3c296973e564902d7a93b734871af5633b4a2b59a0a57b90e937b77882a69816640ca6f20d7e4dee1d4f1ea8076bf416a54d70e6a81ec
diff --git a/dev-python/pytdeextensions/metadata.xml b/dev-python/pytdeextensions/metadata.xml
new file mode 100644
index 00000000..689e1534
--- /dev/null
+++ b/dev-python/pytdeextensions/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>team-gentoo@trinitydesktop.org</email>
+ <name>Trinity Gentoo ebuilds project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/pytdeextensions/pytdeextensions-14.1.2.ebuild b/dev-python/pytdeextensions/pytdeextensions-14.1.2.ebuild
new file mode 100644
index 00000000..7451cf64
--- /dev/null
+++ b/dev-python/pytdeextensions/pytdeextensions-14.1.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2024 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TRINITY_MODULE_TYPE="libraries"
+PYTHON_COMPAT=( python3_{8..12} )
+DISTUTILS_SINGLE_IMPL=1
+inherit trinity-base-2 distutils-r1
+
+DESCRIPTION="Python extensions for TDE"
+HOMEPAGE="https://trinitydesktop.org/"
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ ~dev-python/pytde-${PV}
+"
+RDEPEND="${DEPEND}"
+
+TQBASE="/usr/tqt3"
+TDEDIR="/usr/trinity/14"
+
+src_compile() {
+ local BUILD_DIR="${S}_${EPYTHON}"
+ esetup.py build_libpythonize
+ unset BUILD_DIR
+ distutils-r1_src_compile
+}
+
+src_install() {
+ distutils-r1_src_install
+}
diff --git a/dev-python/pytdeextensions/pytdeextensions-9999.ebuild b/dev-python/pytdeextensions/pytdeextensions-9999.ebuild
new file mode 100644
index 00000000..4e926851
--- /dev/null
+++ b/dev-python/pytdeextensions/pytdeextensions-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2024 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TRINITY_MODULE_TYPE="libraries"
+PYTHON_COMPAT=( python3_{8..12} )
+DISTUTILS_SINGLE_IMPL=1
+inherit trinity-base-2 distutils-r1
+
+DESCRIPTION="Python extensions for TDE"
+HOMEPAGE="https://trinitydesktop.org/"
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ ~dev-python/pytde-${PV}
+"
+RDEPEND="${DEPEND}"
+
+TQBASE="/usr/tqt3"
+
+src_compile() {
+ local BUILD_DIR="${S}_${EPYTHON}"
+ esetup.py build_libpythonize
+ unset BUILD_DIR
+ distutils-r1_src_compile
+}
+
+src_install() {
+ distutils-r1_src_install
+}