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/pytqt | |
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/pytqt')
-rw-r--r-- | dev-python/pytqt/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytqt/pytqt-14.1.2.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
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 +} |