From 11ea03a17b178450de6ef8889f3a86976b3d0166 Mon Sep 17 00:00:00 2001 From: ormorph Date: Sun, 28 Apr 2024 17:27:44 +0300 Subject: Add Add new pytdeextensions package Signed-off-by: ormorph --- dev-python/pytdeextensions/Manifest | 1 + dev-python/pytdeextensions/metadata.xml | 8 +++++ .../pytdeextensions/pytdeextensions-14.1.2.ebuild | 38 ++++++++++++++++++++++ .../pytdeextensions/pytdeextensions-9999.ebuild | 37 +++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 dev-python/pytdeextensions/Manifest create mode 100644 dev-python/pytdeextensions/metadata.xml create mode 100644 dev-python/pytdeextensions/pytdeextensions-14.1.2.ebuild create mode 100644 dev-python/pytdeextensions/pytdeextensions-9999.ebuild 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 @@ + + + + + team-gentoo@trinitydesktop.org + Trinity Gentoo ebuilds project + + 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 +} -- cgit v1.2.1