diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-17 09:31:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-17 09:31:54 +0100 |
commit | 5a21cec0c36dba03507dcbd5e8ab6698d00b39bf (patch) | |
tree | aa76c2f85f9c77c2f9a5af47ae0aa6509585770a /dev-python/pyside6-tools | |
parent | 280d9db9f9470686aae5ce1fa4cfa57b26e9beb2 (diff) |
gentoo auto-resync : 17:08:2023 - 09:31:54
Diffstat (limited to 'dev-python/pyside6-tools')
-rw-r--r-- | dev-python/pyside6-tools/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyside6-tools/pyside6-tools-6.5.2.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/pyside6-tools/Manifest b/dev-python/pyside6-tools/Manifest index 5bc27ee99221..d71facd529e6 100644 --- a/dev-python/pyside6-tools/Manifest +++ b/dev-python/pyside6-tools/Manifest @@ -1,3 +1,5 @@ DIST pyside-setup-everywhere-src-6.5.1.1.tar.xz 13565304 BLAKE2B 55b221142f5e112a39c0b5df7f7b200f65cfd30da2884340b9bef5e7cb1bcfe2e8ed7aeb0cf7ef5f894f43f6ad582b35e649b7c6430bdba8719e70cca3c29c2d SHA512 fe99ad09b4e0b238175594bbff94453a84c56f21b004477fdab2a2435b4b4148b0b99b26e1b1e1671b71656f4cfb03c3913aa6d85084e3eb8200ff906535a5eb +DIST pyside-setup-everywhere-src-6.5.2.tar.xz 13576204 BLAKE2B 3e1d62e6d877140137896552184c8fe56fd62056a1ea506ab474256ee0e2f16d3e10ddb84965602650bb466f3563555c3c344698b6877a45f9130d1e919aba21 SHA512 ca677645579fc6b82285dd6c294909ca5e91a8c8efbc53bd103aff64e3ef89eff67820bfc9100cf50f043015d41c49d4ff86b3008f02505941a09bd54621f403 EBUILD pyside6-tools-6.5.1.1.ebuild 1380 BLAKE2B 7924867247c00a4e0e0457a14d9979be11e1ad17fb6c0195da46dbead27083ff570867cafb177843cbcadad553e3734a9d8320b4a5bb8834edc0228e013fdada SHA512 10388c9f9372fd8cb3d5ebc676919570b374eefe6bd246f8b2c32d4ef08d84ffc5336c3e3b4b0a2d6c7394955e7d0286707b29de1bb930154ef1db8176adae5c +EBUILD pyside6-tools-6.5.2.ebuild 1381 BLAKE2B 3cc72a8fb39ed8608af3519ce915576ca1c50ed436a8e2fd9e6d8966ce54ff8ecbe3bdfab04368c713c7ea390354c26d6e34103145e2b7451a88f71c78d9c3de SHA512 c8d33463faab4d3eb172105b9108688120bc3d13170b93540b7cdeeed77a284959581c92264b1b2615d4d2ac94ff38fab2117776e161059fda7ead322ed3e461 MISC metadata.xml 402 BLAKE2B 28348df442d189eadb56e04dfda71c1d5a56868aae85611a7d77ecdc7651e34ce02563c8da1270aad55758e2dd4301de44434e0bbdb010ef484e240068602ede SHA512 a54866110e38c24d67d60286c64b63dc0b537c55eb201b84b9173b47710b6e8a840d9072ca46fbef969bf481e43e1d8824b20655d7fe6b300cfd5333c3f74a41 diff --git a/dev-python/pyside6-tools/pyside6-tools-6.5.2.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.5.2.ebuild new file mode 100644 index 000000000000..c79229966af6 --- /dev/null +++ b/dev-python/pyside6-tools/pyside6-tools-6.5.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: Add PyPy once officially supported. See also: +# https://bugreports.qt.io/browse/PYSIDE-535 +PYTHON_COMPAT=( python3_{10..11} ) +CMAKE_IN_SOURCE_BUILD=1 + +inherit cmake python-r1 + +MY_PN="pyside-setup-everywhere-src" + +DESCRIPTION="PySide development tools (pyside6-lupdate with support for Python)" +HOMEPAGE="https://wiki.qt.io/PySide6" +SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz" +S="${WORKDIR}/${MY_PN}-$(ver_cut 1-3)/sources/pyside-tools" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + ~dev-python/pyside6-${PV}[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +src_prepare() { + cmake_src_prepare + + python_copy_sources +} + +src_configure() { + pyside-tools_configure() { + local mycmakeargs=( + # the tools conflict with tools from Qt + -DNO_QT_TOOLS=yes + ) + CMAKE_USE_DIR="${BUILD_DIR}" cmake_src_configure + } + + python_foreach_impl pyside-tools_configure +} + +src_compile() { + pyside-tools_compile() { + CMAKE_USE_DIR="${BUILD_DIR}" cmake_src_compile + } + + python_foreach_impl pyside-tools_compile +} + +src_install() { + pyside-tools_install() { + python_doexe "${BUILD_DIR}/"*.py + } + + python_foreach_impl pyside-tools_install + + einstalldocs +} |