summaryrefslogtreecommitdiffstats
path: root/dev-python
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2023-04-22 11:30:51 +0300
committerormorph <roma251078@mail.ru>2023-04-22 21:42:10 +0300
commit3e6b95222ab4ee71b69a570f49e1e887b166a83e (patch)
tree30fa95df5cd70e135890939da86d325d10bf0dca /dev-python
parent70fc50722d8c4c3d7c566fb8ab9e7d4376eea1bf (diff)
downloadtde-packaging-gentoo-3e6b95222ab4ee71b69a570f49e1e887b166a83e.tar.gz
tde-packaging-gentoo-3e6b95222ab4ee71b69a570f49e1e887b166a83e.zip
Adding version 14.1.0
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pytde/Manifest1
-rw-r--r--dev-python/pytde/pytde-14.1.0.ebuild62
-rw-r--r--dev-python/pytqt/Manifest1
-rw-r--r--dev-python/pytqt/pytqt-14.1.0.ebuild68
-rw-r--r--dev-python/sip4-tqt/Manifest1
-rw-r--r--dev-python/sip4-tqt/sip4-tqt-14.1.0.ebuild50
6 files changed, 183 insertions, 0 deletions
diff --git a/dev-python/pytde/Manifest b/dev-python/pytde/Manifest
new file mode 100644
index 00000000..d4e21e0c
--- /dev/null
+++ b/dev-python/pytde/Manifest
@@ -0,0 +1 @@
+DIST pytde-trinity-14.1.0.tar.xz 973688 BLAKE2B d593d95bfa75a08fb8cd4ebbadb3d878bdbcb198c9792a3985782ff0114220de57f79710252f28634acacc6584350e58aa583c5ed71f8995dd69b91181bd1d5f SHA512 2f4cfa4fee52cbaf80d2d6b25f0a731fc0e738fca87fa93204b5d9b34174c01b6aeca18750a5055457a7df11d85029ed004dd0d3e119bc7a064248129477ab66
diff --git a/dev-python/pytde/pytde-14.1.0.ebuild b/dev-python/pytde/pytde-14.1.0.ebuild
new file mode 100644
index 00000000..be3f2c75
--- /dev/null
+++ b/dev-python/pytde/pytde-14.1.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2023 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..11} )
+
+inherit trinity-base-2 python-single-r1
+
+DESCRIPTION="Trinity bindings for Python - Development files and scripts"
+HOMEPAGE="https://trinitydesktop.org/"
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+IUSE="examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ ~dev-python/sip4-tqt-${PV}
+ ~x11-libs/tqscintilla-${PV}
+ ~dev-tqt/tqtinterface-${PV}
+ ~dev-python/pytqt-${PV}
+"
+RDEPEND="${DEPEND}"
+
+TQBASE="/usr/tqt3"
+BUILD_DIR="${S}"
+
+src_prepare() {
+ eapply_user
+}
+
+src_configure() {
+ local myconf
+ myconf=(
+ -k "${TDEDIR}"
+ -L "${TDEDIR}/$(get_libdir)"
+ -v "${TQBASE}/sip/tde"
+ )
+ "${EPYTHON}" configure.py "${myconf[@]}" || die
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+ if use examples ; then
+ insinto "${TDEDIR}/share/pytde/examples"
+ doins examples/*
+ local EDIR
+ for EDIR in uimodules pytde-sampler pytde-sampler/basic_widgets pytde-sampler/dialogs pytde-sampler/icon_handling pytde-sampler/misc pytde-sampler/qt_widgets pytde-sampler/xwin
+ do
+ insinto "${TDEDIR}/share/pytde/examples/${EDIR}"
+ doins "examples/${EDIR}"/*
+ done
+ fi
+}
diff --git a/dev-python/pytqt/Manifest b/dev-python/pytqt/Manifest
new file mode 100644
index 00000000..fa3ab172
--- /dev/null
+++ b/dev-python/pytqt/Manifest
@@ -0,0 +1 @@
+DIST pytqt-trinity-14.1.0.tar.xz 461532 BLAKE2B e639008c5948eab5755219f7f87fca2bf53e07f616f9e4041b3462d2c095473be97198dae3079efaa01c72981ed270fbbfd8aeb37a331741f7c464f54f07b6dd SHA512 8ddcac9bc79e34c9f86de5becb9cbf5efa5a834b091ab8b108ecde8b9f725fad3101917bed072de5e96a502a9a1d85cc4c115ac89c2341b9d6dacca0e852cf60
diff --git a/dev-python/pytqt/pytqt-14.1.0.ebuild b/dev-python/pytqt/pytqt-14.1.0.ebuild
new file mode 100644
index 00000000..1eb897eb
--- /dev/null
+++ b/dev-python/pytqt/pytqt-14.1.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2022-2023 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TRINITY_MODULE_TYPE="dependencies"
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit trinity-base-2 python-single-r1 flag-o-matic
+
+DESCRIPTION="TQt bindings for Python"
+HOMEPAGE="https://trinitydesktop.org/"
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+IUSE="examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ ~dev-python/sip4-tqt-${PV}
+ ~x11-libs/tqscintilla-${PV}
+ ~dev-tqt/tqtinterface-${PV}
+"
+RDEPEND="${DEPEND}"
+
+TQBASE="/usr/tqt3"
+BUILD_DIR="${S}"
+
+src_prepare() {
+ eapply_user
+}
+
+src_configure() {
+ append-cflags "-I/usr/include/tqt -I/${TQBASE}/include"
+ append-cxxflags "-I/usr/include/tqt -I/${TQBASE}/include"
+ local myconf
+ myconf=(
+ -g "${TQBASE}/include"
+ -q "${TQBASE}"
+ -y tqt-mt
+ -o "${TQBASE}/$(get_libdir)" -u -j 10
+ -d "$(python_get_sitedir)/PyTQt"
+ -v "${TQBASE}/sip/tqt"
+ -b "${TQBASE}/bin"
+ -w
+ )
+ echo yes | "${EPYTHON}" configure.py "${myconf[@]}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"|| die
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+ if use examples ; then
+ insinto "${TQBASE}/share/pytqt/examples"
+ doins examples/*
+ local EDIR
+ for EDIR in SQL canvas i18n webbrowser
+ do
+ insinto "${TQBASE}/share/pytqt/examples/${EDIR}"
+ doins "examples/${EDIR}"/*
+ done
+ fi
+}
diff --git a/dev-python/sip4-tqt/Manifest b/dev-python/sip4-tqt/Manifest
index 2c325b5b..4247a567 100644
--- a/dev-python/sip4-tqt/Manifest
+++ b/dev-python/sip4-tqt/Manifest
@@ -1 +1,2 @@
DIST sip4-tqt-trinity-14.0.13.tar.xz 352040 BLAKE2B abae9e74d6706c78af56ec40d18770e81e8201ad825f02f9af28c729daaeda181a2b4cb16f9b1ac635eb7ba39a3582a4cf0d1f9f339915b56c4ab9f838f0df4e SHA512 6513e41f0543413807e453d39fd96f6e7ea33c40aca229ccb23616e958c6c738b870f98491e0b35699c49871b48906cf6f6ab0a3060ca328c5cd8aeefbad697e
+DIST sip4-tqt-trinity-14.1.0.tar.xz 347792 BLAKE2B 59468b673a334c851905306e93e85bd4e299821ec7767e78cd45eea031aa20efd388d18915a8c31e14bcaf5a9c70b5ca6d5880d5d9ce97e5e2c1774a524ce41f SHA512 202115ad509da0023edeed12d598c9d127179e12d6bb70b19d6599323e31a85ab83bcfa3f3afc5e4309f1ab5c36e5a6c0fb2b796ec76ac05a6a579f97b8d20b2
diff --git a/dev-python/sip4-tqt/sip4-tqt-14.1.0.ebuild b/dev-python/sip4-tqt/sip4-tqt-14.1.0.ebuild
new file mode 100644
index 00000000..acef063a
--- /dev/null
+++ b/dev-python/sip4-tqt/sip4-tqt-14.1.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2022 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TRINITY_MODULE_TYPE="dependencies"
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit trinity-base-2 python-single-r1 flag-o-matic
+
+DESCRIPTION="Python/C++ bindings generator runtime library"
+HOMEPAGE="https://trinitydesktop.org"
+LICENSE="|| ( GPL-2 GPL-3 SIP )"
+SLOT="0"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ ~x11-libs/tqscintilla-${PV}
+ ~dev-tqt/tqtinterface-${PV}
+"
+RDEPEND="${DEPEND}"
+
+TQTDIR="/usr/tqt3"
+BUILD_DIR="${S}"
+
+src_prepare() {
+ eapply_user
+}
+
+src_configure() {
+ local myconf
+ append-cflags "-I/usr/include/tqt -I/${TQTDIR}/include"
+ myconf=(
+ -b "${TDEDIR}/bin"
+ -e "${TDEDIR}/include"
+ )
+ echo yes | "${EPYTHON}" configure.py "${myconf[@]}" CFLAGS="${CFLAGS}" || die
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+}