diff options
Diffstat (limited to 'dev-python/pyside2')
-rw-r--r-- | dev-python/pyside2/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyside2/pyside2-5.15.11-r1.ebuild | 222 |
2 files changed, 0 insertions, 224 deletions
diff --git a/dev-python/pyside2/Manifest b/dev-python/pyside2/Manifest index 292f64886202..f877f1900bf2 100644 --- a/dev-python/pyside2/Manifest +++ b/dev-python/pyside2/Manifest @@ -1,5 +1,3 @@ -DIST pyside-setup-opensource-src-5.15.11.tar.xz 3584760 BLAKE2B c4d60439a218451eb0c505031524fe1e30a117b7e89a28b5cd7518c193a8d2de01a5db8cb3acdd97c81da6dddff99f786c6c763427f78cdd0af4031122ac2d24 SHA512 377b3f6a793313cf7f5bea0dcef6630bac32d79b247e213d0b1b719805b35692aa8dd9a8896c75c6266f05af38809f574051d64b1a2f958a48c90167feccfb91 DIST pyside-setup-opensource-src-5.15.12.tar.xz 3585204 BLAKE2B a664555b5a98d5ebda39c8226062e12c2b3308e6d95866cd9268de6a8089aef5d0e7a4958821a8e84642f01bffe2a9323ba0752d33fc803d4eb4b29453e2f070 SHA512 843d7352bfb7c9765b5033939b2a6211148ad79a6012685b2d07775745edf04c8420359efb2a3ae4a8686de4daaeb7f531f73fd152f0a2fe7dd54de0080c3cf4 -EBUILD pyside2-5.15.11-r1.ebuild 9056 BLAKE2B 849743dcf296e1d16dbcb6a0551a844fc0708d194447b23deb4120ec71612c45bb0ec25919809a1a89c46636d87daf57311bccf9225f82a98458b602be28f552 SHA512 a04efeb82c7ea12f035a094f68b65fe4c1cdce047b92b47f594b206e31d1424627fd22377b5abec244832069677b04ec498fcdfb58d1e8c24ed2a05015436997 EBUILD pyside2-5.15.12.ebuild 9056 BLAKE2B 393178162b9f1e6093a82b221b7608a8b3f8e91dbbad643628f0be5c9b8d62b0cdb462e62630beac9825b7c9025d2548446361f18699725dd3e3c0ea21b5e2ef SHA512 a833f9c2070d105280b5b07f6d5131c5c920230a1eae51b983cfbb4a4e3464b944274888ceb9f8a4a3733a7099d9a6b1e7adf0b54be6b49bae93aa371e1c4653 MISC metadata.xml 2143 BLAKE2B 0e07f94230c96f0d0cad7fc8c066356f20770d8ec285aaa049bc3650ec2f81837512d6ef217472ce799ce85a1e0a93d275d8b13f770bd68e6e86e5de495c26e8 SHA512 7bbd56f0e8bdece4cde891e8f864802fe872861fd1fa1398b3dac5554e212545acd47aa763389e685e37b2d2b8679212e06b0a8c589f824b71bcce4811973102 diff --git a/dev-python/pyside2/pyside2-5.15.11-r1.ebuild b/dev-python/pyside2/pyside2-5.15.11-r1.ebuild deleted file mode 100644 index 5ef575602cfe..000000000000 --- a/dev-python/pyside2/pyside2-5.15.11-r1.ebuild +++ /dev/null @@ -1,222 +0,0 @@ -# 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} ) - -inherit cmake python-r1 virtualx - -# TODO: Add conditional support for "QtRemoteObjects" via a new "remoteobjects" -# USE flag after an external "dev-qt/qtremoteobjects" package has been created. -# TODO: Add conditional support for apidoc generation via a new "doc" USE flag. -# Note that doing so requires the Qt source tree, sphinx, and graphviz. Once -# ready, pass the ${QT_SRC_DIR} variable to cmake to enable this support. -# TODO: Disable GLES support if the "gles2-only" USE flag is disabled. Note -# that the "PySide2/QtGui/CMakeLists.txt" and -# "PySide2/QtOpenGLFunctions/CMakeLists.txt" files test for GLES support by -# testing whether the "Qt5::Gui" list property defined by -# "/usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake" at "dev-qt/qtgui" installation -# time contains the substring "opengles2". Since cmake does not permit -# properties to be overridden from the command line, these files must instead -# be conditionally patched to avoid these tests. An issue should be filed with -# upstream requesting a CLI-settable variable to control this. - -MY_P=pyside-setup-opensource-src-${PV} - -DESCRIPTION="Python bindings for the Qt framework" -HOMEPAGE="https://wiki.qt.io/PySide2" -SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${PV}-src/${MY_P}.tar.xz" -S="${WORKDIR}/${MY_P}/sources/pyside2" - -# See "sources/pyside2/PySide2/licensecomment.txt" for licensing details. -# Shall we allow essential modules to be disabled? They are: -# (core), gui, widgets, printsupport, sql, network, testlib, concurrent, -# x11extras (for X) -LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -IUSE=" - 3d charts +concurrent datavis designer gles2-only +gui help location - multimedia +network positioning +printsupport qml quick - scxml sensors speech +sql svg test +testlib webchannel webengine websockets - +widgets +x11extras xml xmlpatterns -" - -# Manually reextract these requirements on version bumps by running the -# following one-liners from within "${S}": -# $ grep 'set.*_deps' PySide2/Qt*/CMakeLists.txt -# $ cat /lib64/cmake/Qt5*/Qt5*.cmake | grep -i DEPENDENCIES -# Note that the "designer" USE flag corresponds to the "Qt5UiTools" module. -REQUIRED_USE="${PYTHON_REQUIRED_USE} - 3d? ( gui network ) - charts? ( gui widgets ) - datavis? ( gui ) - designer? ( gui widgets xml ) - gles2-only? ( gui ) - help? ( gui sql widgets ) - location? ( gui network positioning quick ) - multimedia? ( gui network widgets ) - printsupport? ( gui widgets ) - qml? ( gui network ) - quick? ( gui network qml widgets network ) - speech? ( multimedia ) - sql? ( widgets ) - svg? ( widgets ) - testlib? ( widgets ) - webchannel? ( qml ) - webengine? ( - gui network positioning quick qml - widgets? ( printsupport network webchannel ) - ) - websockets? ( network ) - widgets? ( gui ) - x11extras? ( gui ) -" - -# Tests fail pretty bad and I'm not fixing them right now -RESTRICT="test" - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-3)*:5" - -RDEPEND="${PYTHON_DEPS} - ~dev-python/shiboken2-${PV}[${PYTHON_USEDEP}] - =dev-qt/qtcore-${QT_PV} - =dev-qt/qtopengl-${QT_PV}[gles2-only=] - =dev-qt/qtserialport-${QT_PV} - 3d? ( =dev-qt/qt3d-${QT_PV}[qml?,gles2-only=] ) - charts? ( =dev-qt/qtcharts-${QT_PV}[qml?] ) - concurrent? ( =dev-qt/qtconcurrent-${QT_PV} ) - datavis? ( =dev-qt/qtdatavis3d-${QT_PV}[qml?,gles2-only=] ) - designer? ( =dev-qt/designer-${QT_PV} ) - gui? ( =dev-qt/qtgui-${QT_PV}[jpeg,gles2-only=] ) - help? ( =dev-qt/qthelp-${QT_PV} ) - location? ( =dev-qt/qtlocation-${QT_PV} ) - multimedia? ( =dev-qt/qtmultimedia-${QT_PV}[qml?,gles2-only=,widgets?] ) - network? ( =dev-qt/qtnetwork-${QT_PV} ) - positioning? ( =dev-qt/qtpositioning-${QT_PV}[qml?] ) - printsupport? ( =dev-qt/qtprintsupport-${QT_PV}[gles2-only=] ) - qml? ( =dev-qt/qtdeclarative-${QT_PV}[widgets?] ) - quick? ( - =dev-qt/qtdeclarative-${QT_PV}[widgets?] - =dev-qt/qtquickcontrols2-${QT_PV}[widgets?] - ) - scxml? ( =dev-qt/qtscxml-${QT_PV} ) - sensors? ( =dev-qt/qtsensors-${QT_PV}[qml?] ) - speech? ( =dev-qt/qtspeech-${QT_PV} ) - sql? ( =dev-qt/qtsql-${QT_PV} ) - svg? ( =dev-qt/qtsvg-${QT_PV} ) - testlib? ( =dev-qt/qttest-${QT_PV} ) - webchannel? ( =dev-qt/qtwebchannel-${QT_PV}[qml] ) - webengine? ( || ( - =dev-qt/qtwebengine-${QT_PV}[alsa,widgets?] - =dev-qt/qtwebengine-${QT_PV}[pulseaudio,widgets?] - ) - ) - websockets? ( =dev-qt/qtwebsockets-${QT_PV}[qml?] ) - widgets? ( =dev-qt/qtwidgets-${QT_PV}[gles2-only=] ) - x11extras? ( =dev-qt/qtx11extras-${QT_PV} ) - xml? ( =dev-qt/qtxml-${QT_PV} ) - xmlpatterns? ( =dev-qt/qtxmlpatterns-${QT_PV}[qml?] ) -" -DEPEND="${RDEPEND} - test? ( x11-misc/xvfb-run ) -" - -src_configure() { - # See COLLECT_MODULE_IF_FOUND macros in CMakeLists.txt - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DAnimation=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DCore=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DExtras=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DInput=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DLogic=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DRender=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Charts=$(usex !charts) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Concurrent=$(usex !concurrent) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5DataVisualization=$(usex !datavis) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=$(usex !designer) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Gui=$(usex !gui) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Help=$(usex !help) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Location=$(usex !location) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Multimedia=$(usex !multimedia) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5MultimediaWidgets=$(usex !multimedia yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Network=$(usex !network) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Positioning=$(usex !positioning) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5PrintSupport=$(usex !printsupport) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Qml=$(usex !qml) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Quick=$(usex !quick) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5QuickControls2=$(usex !quick) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5QuickWidgets=$(usex !quick yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Script=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5ScriptTools=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Scxml=$(usex !scxml) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Sensors=$(usex !sensors) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5TextToSpeech=$(usex !speech) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Sql=$(usex !sql) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Svg=$(usex !svg) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Test=$(usex !testlib) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5UiTools=$(usex !designer) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebChannel=$(usex !webchannel) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngine=$(usex !webengine) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineCore=$(usex !webengine) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets=$(usex !webengine yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebSockets=$(usex !websockets) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets=$(usex !widgets) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5X11Extras=$(usex !x11extras) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Xml=$(usex !xml) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5XmlPatterns=$(usex !xmlpatterns) - ) - - pyside2_configure() { - local mycmakeargs=( - "${mycmakeargs[@]}" - -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" - -DPYTHON_EXECUTABLE="${PYTHON}" - -DPYTHON_SITE_PACKAGES="$(python_get_sitedir)" - -DSHIBOKEN_PYTHON_SHARED_LIBRARY_SUFFIX="-${EPYTHON}" - ) - cmake_src_configure - } - python_foreach_impl pyside2_configure -} - -src_compile() { - python_foreach_impl cmake_src_compile -} - -src_test() { - local -x PYTHONDONTWRITEBYTECODE - python_foreach_impl virtx cmake_src_test -} - -src_install() { - pyside2_install() { - cmake_src_install - python_optimize - - # Uniquify the shiboken2 pkgconfig dependency in the PySide2 pkgconfig - # file for the current Python target. See also: - # https://github.com/leycec/raiagent/issues/73 - sed -i -e 's~^Requires: shiboken2$~&-'${EPYTHON}'~' \ - "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}.pc || die - - # Uniquify the PySide2 pkgconfig file for the current Python target, - # preserving an unversioned "pyside2.pc" file arbitrarily associated - # with the last Python target. (See the previously linked issue.) - cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die - } - python_foreach_impl pyside2_install - - # CMakeLists.txt installs a "PySide2Targets-gentoo.cmake" file forcing - # downstream consumers (e.g., pyside2-tools) to target one - # "libpyside2-*.so" library linked to one Python interpreter. See also: - # https://bugreports.qt.io/browse/PYSIDE-1053 - # https://github.com/leycec/raiagent/issues/74 - sed -i -e 's~pyside2-python[[:digit:]]\+\.[[:digit:]]\+~pyside2${PYTHON_CONFIG_SUFFIX}~g' \ - "${ED}/usr/$(get_libdir)"/cmake/PySide2*/PySide2Targets-${CMAKE_BUILD_TYPE,,}.cmake || die -} |