diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pytde/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytde/pytde-14.1.1.ebuild | 64 | ||||
-rw-r--r-- | dev-python/pytqt/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytqt/pytqt-14.1.1.ebuild | 68 | ||||
-rw-r--r-- | dev-python/sip4-tqt/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sip4-tqt/sip4-tqt-14.1.1.ebuild | 50 |
6 files changed, 185 insertions, 0 deletions
diff --git a/dev-python/pytde/Manifest b/dev-python/pytde/Manifest index d4e21e0c..0e16c869 100644 --- a/dev-python/pytde/Manifest +++ b/dev-python/pytde/Manifest @@ -1 +1,2 @@ DIST pytde-trinity-14.1.0.tar.xz 973688 BLAKE2B d593d95bfa75a08fb8cd4ebbadb3d878bdbcb198c9792a3985782ff0114220de57f79710252f28634acacc6584350e58aa583c5ed71f8995dd69b91181bd1d5f SHA512 2f4cfa4fee52cbaf80d2d6b25f0a731fc0e738fca87fa93204b5d9b34174c01b6aeca18750a5055457a7df11d85029ed004dd0d3e119bc7a064248129477ab66 +DIST pytde-trinity-14.1.1.tar.xz 973556 BLAKE2B a1ad356f94cdfe98104721c44fd4011c2ee86849508d59206e8de8dacb6f5255574f4e727ae1089960c96905ebba3bba6abaa831351b6330ed7c6793a491bcbe SHA512 34ee594a019c78480ecee45c2c0c2c0f4b7eb7278442cda344bc8967df9a9654dbc381ab9effe0036ad758e8455dc2cc4edd04600d3690da8559e80415551fd6 diff --git a/dev-python/pytde/pytde-14.1.1.ebuild b/dev-python/pytde/pytde-14.1.1.ebuild new file mode 100644 index 00000000..ba6c393b --- /dev/null +++ b/dev-python/pytde/pytde-14.1.1.ebuild @@ -0,0 +1,64 @@ +# 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} + ~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 fa3ab172..e91050b4 100644 --- a/dev-python/pytqt/Manifest +++ b/dev-python/pytqt/Manifest @@ -1 +1,2 @@ DIST pytqt-trinity-14.1.0.tar.xz 461532 BLAKE2B e639008c5948eab5755219f7f87fca2bf53e07f616f9e4041b3462d2c095473be97198dae3079efaa01c72981ed270fbbfd8aeb37a331741f7c464f54f07b6dd SHA512 8ddcac9bc79e34c9f86de5becb9cbf5efa5a834b091ab8b108ecde8b9f725fad3101917bed072de5e96a502a9a1d85cc4c115ac89c2341b9d6dacca0e852cf60 +DIST pytqt-trinity-14.1.1.tar.xz 460660 BLAKE2B 9f27d02c576dd6ad41b98feae50e81c058d64fc34dc909f6f563e0f1e77118094d094019011954f7a4bae4b44005640c8617476e719f7d99499dd0bf3fcb6f10 SHA512 b4d1f74b96a0a7851fc8c7060f9e5c7ac3eace07c87a371525031392ebe89658fe3b448e074b823dee7392369ec58d63f7b479ad8d4efddd3b506b8f9845f29f diff --git a/dev-python/pytqt/pytqt-14.1.1.ebuild b/dev-python/pytqt/pytqt-14.1.1.ebuild new file mode 100644 index 00000000..1eb897eb --- /dev/null +++ b/dev-python/pytqt/pytqt-14.1.1.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 a10e7d87..084b62f5 100644 --- a/dev-python/sip4-tqt/Manifest +++ b/dev-python/sip4-tqt/Manifest @@ -1 +1,2 @@ DIST sip4-tqt-trinity-14.1.0.tar.xz 347792 BLAKE2B 59468b673a334c851905306e93e85bd4e299821ec7767e78cd45eea031aa20efd388d18915a8c31e14bcaf5a9c70b5ca6d5880d5d9ce97e5e2c1774a524ce41f SHA512 202115ad509da0023edeed12d598c9d127179e12d6bb70b19d6599323e31a85ab83bcfa3f3afc5e4309f1ab5c36e5a6c0fb2b796ec76ac05a6a579f97b8d20b2 +DIST sip4-tqt-trinity-14.1.1.tar.xz 347624 BLAKE2B b86ba422544e18ac73b344db30d5f84b2016141b9a012f7c8e2f55c31fb05cf1655437c9090109d76322948a5dfa4c2941a35f30b49f06c6ef441b5d3318e0a4 SHA512 d18a04359b2c342ea46a2902a46e1cef7fdf66d786a6cf7794277ca520a69c625c983dfc68b71a77d9369be496254e753ce5c1ba41a42129f9286648b2c23059 diff --git a/dev-python/sip4-tqt/sip4-tqt-14.1.1.ebuild b/dev-python/sip4-tqt/sip4-tqt-14.1.1.ebuild new file mode 100644 index 00000000..acef063a --- /dev/null +++ b/dev-python/sip4-tqt/sip4-tqt-14.1.1.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}" +} |