diff options
Diffstat (limited to 'dev-python/PyQtWebEngine')
-rw-r--r-- | dev-python/PyQtWebEngine/Manifest | 3 | ||||
-rw-r--r-- | dev-python/PyQtWebEngine/PyQtWebEngine-5.14.0.ebuild | 75 | ||||
-rw-r--r-- | dev-python/PyQtWebEngine/PyQtWebEngine-5.15.1_pre2006110847.ebuild | 75 | ||||
-rw-r--r-- | dev-python/PyQtWebEngine/PyQtWebEngine-5.15.6-r1.ebuild | 52 | ||||
-rw-r--r-- | dev-python/PyQtWebEngine/metadata.xml | 2 |
5 files changed, 54 insertions, 153 deletions
diff --git a/dev-python/PyQtWebEngine/Manifest b/dev-python/PyQtWebEngine/Manifest index f267b62d52bd..3cbff134bc2f 100644 --- a/dev-python/PyQtWebEngine/Manifest +++ b/dev-python/PyQtWebEngine/Manifest @@ -1,2 +1 @@ -DIST PyQtWebEngine-5.14.0.tar.gz 47794 BLAKE2B 28f4a577ab5d8c1bea439b11e836008d27b4a49f31f230885013b515147a95c97e398328d1fc3a99619c3fd6eca3da7e94bf5873de9ac6511e0f59e467d4490c SHA512 c5274ce5ba1c80c6851971c3e18acf33121cd5863f613bd1789fdb40323b52429b55b54f3dcbb3127c85343e11f14c004ad54711b2b59cab95fd440f90fe5f2e -DIST PyQtWebEngine-5.15.1.dev2006110847.tar.gz 48514 BLAKE2B a4c4490720dcc1bf95c62e3bb9e72f2e25000a2641b64f2a0466649899f56eac0594461471ba787c332a32cda8b48cff0bddd2d4beceadfca02b1c06668e4117 SHA512 1f39052f22598f4fdb30ce9b9180fc145414e2e6708f2bda5a6f9166824926f91ca61070e64c4d9f880f0711a0c4c3a6a345d9904092bb13d51bd28e71fd52ab +DIST PyQtWebEngine-5.15.6.tar.gz 48871 BLAKE2B af7c30a0d2e65e12a6eb4a2d3a40d72f94f16a5b4e509f9366be4bfb7d4358b27b3f9c0a7e4a2e7254d38950cbbd6bd4eb88e321949d4d9a44e6ea7e06c2f902 SHA512 f744fb0468ccbc79aad23d941c8e96d537ceeedfae215c7095dbf36b04b3dd042f0ff80aeca25a23715964b7d6db3bc80513f509d15c6dd6bd51e42a1a4e1975 diff --git a/dev-python/PyQtWebEngine/PyQtWebEngine-5.14.0.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.14.0.ebuild deleted file mode 100644 index 0f869cca5363..000000000000 --- a/dev-python/PyQtWebEngine/PyQtWebEngine-5.14.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6..9} ) -inherit python-r1 qmake-utils - -DESCRIPTION="Python bindings for QtWebEngine" -HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/intro" - -MY_P=${PN}-${PV/_pre/.dev} -if [[ ${PV} == *_pre* ]]; then - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -fi - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" -IUSE="debug" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} -" - -RDEPEND=" - ${PYTHON_DEPS} - >=dev-python/PyQt5-5.13.1[gui,network,printsupport,ssl,webchannel,widgets,${PYTHON_USEDEP}] - >=dev-python/PyQt5-sip-4.19.22:=[${PYTHON_USEDEP}] - dev-qt/qtcore:5 - dev-qt/qtwebengine:5[widgets] -" -DEPEND="${RDEPEND} - ~dev-python/sip-4.19.22[${PYTHON_USEDEP}] -" - -S=${WORKDIR}/${MY_P} - -src_configure() { - configuration() { - local myconf=( - "${PYTHON}" - "${S}"/configure.py - --qmake="$(qt5_get_bindir)"/qmake - $(usex debug '--debug --trace' '') - --verbose - ) - echo "${myconf[@]}" - "${myconf[@]}" || die - - # Fix parallel install failure - sed -i -e '/INSTALLS += distinfo/i distinfo.depends = install_subtargets install_pep484_stubs install_api' \ - ${PN}.pro || die - - # Run eqmake to respect toolchain and build flags - eqmake5 -recursive ${PN}.pro - } - python_foreach_impl run_in_build_dir configuration -} - -src_compile() { - python_foreach_impl run_in_build_dir default -} - -src_install() { - installation() { - emake INSTALL_ROOT="${D}" install - python_optimize - } - python_foreach_impl run_in_build_dir installation - - einstalldocs -} diff --git a/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.1_pre2006110847.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.1_pre2006110847.ebuild deleted file mode 100644 index 94183f43f9bb..000000000000 --- a/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.1_pre2006110847.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6..9} ) -inherit python-r1 qmake-utils - -DESCRIPTION="Python bindings for QtWebEngine" -HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/intro" - -MY_P=${PN}-${PV/_pre/.dev} -if [[ ${PV} == *_pre* ]]; then - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -fi - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="debug" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} -" - -RDEPEND=" - ${PYTHON_DEPS} - >=dev-python/PyQt5-5.14[gui,network,printsupport,ssl,webchannel,widgets,${PYTHON_USEDEP}] - >=dev-python/PyQt5-sip-4.19.22:=[${PYTHON_USEDEP}] - dev-qt/qtcore:5 - dev-qt/qtwebengine:5[widgets] -" -DEPEND="${RDEPEND} - >=dev-python/sip-4.19.22[${PYTHON_USEDEP}] -" - -S=${WORKDIR}/${MY_P} - -src_configure() { - configuration() { - local myconf=( - "${PYTHON}" - "${S}"/configure.py - --qmake="$(qt5_get_bindir)"/qmake - $(usex debug '--debug --trace' '') - --verbose - ) - echo "${myconf[@]}" - "${myconf[@]}" || die - - # Fix parallel install failure - sed -i -e '/INSTALLS += distinfo/i distinfo.depends = install_subtargets install_pep484_stubs install_api' \ - ${PN}.pro || die - - # Run eqmake to respect toolchain and build flags - eqmake5 -recursive ${PN}.pro - } - python_foreach_impl run_in_build_dir configuration -} - -src_compile() { - python_foreach_impl run_in_build_dir default -} - -src_install() { - installation() { - emake INSTALL_ROOT="${D}" install - python_optimize - } - python_foreach_impl run_in_build_dir installation - - einstalldocs -} diff --git a/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.6-r1.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.6-r1.ebuild new file mode 100644 index 000000000000..70a71c72b141 --- /dev/null +++ b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.6-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=sip +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 flag-o-matic multiprocessing pypi qmake-utils + +DESCRIPTION="Python bindings for QtWebEngine" +HOMEPAGE=" + https://www.riverbankcomputing.com/software/pyqtwebengine/ + https://pypi.org/project/PyQtWebEngine/ +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 arm64 ~x86" +IUSE="debug" + +DEPEND=" + >=dev-python/PyQt5-5.15.5[gui,network,printsupport,ssl,webchannel,widgets,${PYTHON_USEDEP}] + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + dev-qt/qtwebengine:5[widgets] +" +RDEPEND=" + ${DEPEND} + >=dev-python/PyQt5-sip-12.9:=[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/PyQt-builder-1.10[${PYTHON_USEDEP}] + >=dev-python/sip-6.2[${PYTHON_USEDEP}] + dev-qt/qtcore:5 +" + +python_configure_all() { + append-cxxflags ${CPPFLAGS} # respect CPPFLAGS notably for DISTUTILS_EXT=1 + + DISTUTILS_ARGS=( + --jobs="$(makeopts_jobs)" + --qmake="$(qt5_get_bindir)"/qmake + --qmake-setting="$(qt5_get_qmake_args)" + --verbose + $(usev debug '--debug --qml-debug --tracing') + ) +} diff --git a/dev-python/PyQtWebEngine/metadata.xml b/dev-python/PyQtWebEngine/metadata.xml index 79c3ac6b0821..38c3ab157a5c 100644 --- a/dev-python/PyQtWebEngine/metadata.xml +++ b/dev-python/PyQtWebEngine/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>qt@gentoo.org</email> |