diff options
author | ormorph <roma251078@mail.ru> | 2024-04-28 17:23:47 +0300 |
---|---|---|
committer | ormorph <roma251078@mail.ru> | 2024-04-28 22:35:54 +0300 |
commit | 30335515923be5f5ee02981121d2cdb6ad89978d (patch) | |
tree | d4601e9c08f8d576a5ce043fba5f73020f0c862d /dev-python | |
parent | 929431cac813bc953a1e646fe36d1cfbc4a68f4b (diff) | |
download | tde-packaging-gentoo-30335515923be5f5ee02981121d2cdb6ad89978d.tar.gz tde-packaging-gentoo-30335515923be5f5ee02981121d2cdb6ad89978d.zip |
Add new TDE-14.1.2
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pytde/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytde/pytde-14.1.2.ebuild | 65 | ||||
-rw-r--r-- | dev-python/pytqt/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytqt/pytqt-14.1.2.ebuild | 68 | ||||
-rw-r--r-- | dev-python/sip4-tqt/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sip4-tqt/sip4-tqt-14.1.2.ebuild | 49 |
6 files changed, 185 insertions, 0 deletions
diff --git a/dev-python/pytde/Manifest b/dev-python/pytde/Manifest index 9d4581af..3da00b5f 100644 --- a/dev-python/pytde/Manifest +++ b/dev-python/pytde/Manifest @@ -1 +1,2 @@ DIST pytde-trinity-14.1.1.tar.xz 973556 BLAKE2B a1ad356f94cdfe98104721c44fd4011c2ee86849508d59206e8de8dacb6f5255574f4e727ae1089960c96905ebba3bba6abaa831351b6330ed7c6793a491bcbe SHA512 34ee594a019c78480ecee45c2c0c2c0f4b7eb7278442cda344bc8967df9a9654dbc381ab9effe0036ad758e8455dc2cc4edd04600d3690da8559e80415551fd6 +DIST pytde-trinity-14.1.2.tar.xz 973556 BLAKE2B e34b037c8aa11dc79913ddf21d92b3e90a95d77cff5617d74f96ba18b5800a00e6396ebaa459f7b1e14f831a7977c37d00bfb596dee2a0db1f62c9a79f723169 SHA512 0335d64329e651714b053d895d26ab1de18b56b8998f595860da3e5642a54239be9693a5eb67aa179b659a6c8c29f48766e55c2234a68b7a6ff70ff3d9c1fd99 diff --git a/dev-python/pytde/pytde-14.1.2.ebuild b/dev-python/pytde/pytde-14.1.2.ebuild new file mode 100644 index 00000000..e25bd912 --- /dev/null +++ b/dev-python/pytde/pytde-14.1.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 2023-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..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} + ~trinity-base/tdelibs-${PV} + ~dev-python/sip4-tqt-${PV} + ~x11-libs/tqscintilla-${PV} + ~dev-tqt/tqtinterface-${PV} + ~dev-python/pytqt-${PV} +" +RDEPEND="${DEPEND}" + +TQBASE="/usr/tqt3" +TDEDIR="/usr/trinity/14" +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 index e73a496c..9d191e8a 100644 --- a/dev-python/pytqt/Manifest +++ b/dev-python/pytqt/Manifest @@ -1 +1,2 @@ DIST pytqt-trinity-14.1.1.tar.xz 460660 BLAKE2B 9f27d02c576dd6ad41b98feae50e81c058d64fc34dc909f6f563e0f1e77118094d094019011954f7a4bae4b44005640c8617476e719f7d99499dd0bf3fcb6f10 SHA512 b4d1f74b96a0a7851fc8c7060f9e5c7ac3eace07c87a371525031392ebe89658fe3b448e074b823dee7392369ec58d63f7b479ad8d4efddd3b506b8f9845f29f +DIST pytqt-trinity-14.1.2.tar.xz 460424 BLAKE2B 914865d589656a69dd7886dff71f207fe44dc6f94f5729cfdf42d9c82afca6fb298e682f44a98fc416f6bb20f6213db8985b825e44df8067d6f8a78478885fa6 SHA512 3204aebe83c983d213e8ef1eeb033661bd50a381b75505991fe6d346430cb72d10085f789153d46ac2886e4d34a789ecac9abb1ed93e2134f671f47d1a3b024d diff --git a/dev-python/pytqt/pytqt-14.1.2.ebuild b/dev-python/pytqt/pytqt-14.1.2.ebuild new file mode 100644 index 00000000..c41e9025 --- /dev/null +++ b/dev-python/pytqt/pytqt-14.1.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 2022-2024 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 761125fd..dafffc8a 100644 --- a/dev-python/sip4-tqt/Manifest +++ b/dev-python/sip4-tqt/Manifest @@ -1 +1,2 @@ DIST sip4-tqt-trinity-14.1.1.tar.xz 347624 BLAKE2B b86ba422544e18ac73b344db30d5f84b2016141b9a012f7c8e2f55c31fb05cf1655437c9090109d76322948a5dfa4c2941a35f30b49f06c6ef441b5d3318e0a4 SHA512 d18a04359b2c342ea46a2902a46e1cef7fdf66d786a6cf7794277ca520a69c625c983dfc68b71a77d9369be496254e753ce5c1ba41a42129f9286648b2c23059 +DIST sip4-tqt-trinity-14.1.2.tar.xz 347724 BLAKE2B 55edf9afe28aff9c9fe7932c4b3a9f8ba2e72fb2ac957897605e1dae04468b796147803b9931baffb21530fd99f589fcbb6527f6bb64fc8ca41109ae85f32876 SHA512 6c46507e430bc54a7f72c6b37f0dfb3f4559d24a0c459f11c5addf15a5a1878d8fe5b8aa2c28d4d901be8d3f4d9682310b580f7eed955c516d48ffd8296d37d2 diff --git a/dev-python/sip4-tqt/sip4-tqt-14.1.2.ebuild b/dev-python/sip4-tqt/sip4-tqt-14.1.2.ebuild new file mode 100644 index 00000000..093a0291 --- /dev/null +++ b/dev-python/sip4-tqt/sip4-tqt-14.1.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022-2024 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 +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}" +} |