From 9c26fcf51085241030a088f8ac16051c756386cd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 7 Mar 2023 23:58:32 +0000 Subject: gentoo auto-resync : 07:03:2023 - 23:58:31 --- dev-python/Manifest.gz | Bin 260399 -> 260381 bytes dev-python/aesara/Manifest | 6 - dev-python/aesara/aesara-2.8.10.ebuild | 115 ----------- dev-python/aesara/aesara-2.8.11.ebuild | 113 ----------- dev-python/aesara/aesara-2.8.9.ebuild | 102 ---------- dev-python/greenlet/Manifest | 8 +- .../greenlet/files/greenlet-2.0.1-gcc-13.patch | 47 ----- dev-python/greenlet/greenlet-1.1.3.ebuild | 29 --- dev-python/greenlet/greenlet-2.0.1-r1.ebuild | 33 --- dev-python/greenlet/greenlet-2.0.1.ebuild | 29 --- dev-python/greenlet/greenlet-2.0.2.ebuild | 2 +- dev-python/pyside6/Manifest | 2 +- dev-python/pyside6/pyside6-6.4.2-r1.ebuild | 223 +++++++++++++++++++++ dev-python/pyside6/pyside6-6.4.2.ebuild | 223 --------------------- 14 files changed, 226 insertions(+), 706 deletions(-) delete mode 100644 dev-python/aesara/aesara-2.8.10.ebuild delete mode 100644 dev-python/aesara/aesara-2.8.11.ebuild delete mode 100644 dev-python/aesara/aesara-2.8.9.ebuild delete mode 100644 dev-python/greenlet/files/greenlet-2.0.1-gcc-13.patch delete mode 100644 dev-python/greenlet/greenlet-1.1.3.ebuild delete mode 100644 dev-python/greenlet/greenlet-2.0.1-r1.ebuild delete mode 100644 dev-python/greenlet/greenlet-2.0.1.ebuild create mode 100644 dev-python/pyside6/pyside6-6.4.2-r1.ebuild delete mode 100644 dev-python/pyside6/pyside6-6.4.2.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 8c7dd1976bf4..08c521f59c1e 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest index 650b88917fa0..fb3b9057457e 100644 --- a/dev-python/aesara/Manifest +++ b/dev-python/aesara/Manifest @@ -1,11 +1,5 @@ AUX aesara-2.6.5-compiledir-tid.patch 1707 BLAKE2B 77f8fa3618f930dddad8e864dee3e73fc0b965018d508be5877d5bcae4430024c4e4f90e905ac912da22a4d4934d6fc71acf4ebd49b7e8efb12c90dfaa072ed2 SHA512 9b6bbd8bc56f61c89dfd85cb18251ff8d73d717d91178efa9309e6b897dbda28937dea84f1d7d1a917c285219d51c0adcee1233112f2dcdb9f8c7b714a6c6c12 AUX aesara-2.8.10-fix-tuple.patch 649 BLAKE2B bfc2b2971fdaa452c5d14d75f68af5931b979dcb2951baf8bb1cf759058b4c0f341233b33d907722302ea8374cbd965e4d09e87f069ee2b1a558bf4e9a7309c9 SHA512 2c5846c723f214a8f623593f518194edb113f0d7c64ab1d69d6e4c5278125910f1c775cffdb46871d23ddf5332bbd84f252ed58e2560663c0c36520f1fb72372 -DIST aesara-rel-2.8.10.gh.tar.gz 4342183 BLAKE2B 3e6dcb362d613ce9fb621408d3d7c6f6d3f30e52fe39f484fbe6c9d834d59b428e736b13275d99b204774c719cc532fc42e877685b0639b344fa5b2965dfe602 SHA512 360419a79eb0571d431bb146e5fcf2d63a9c8b40e3ee0a31d7d38aeeceaa47da10ab3f640a4b4011f0a9b28438f20a0feb3ea64d07289d0e9513cb32d066820b -DIST aesara-rel-2.8.11.gh.tar.gz 4680093 BLAKE2B 29409c49d2d31e9a51d0a2d09a50b85ae3195df7fdb2722abcefcdf36dcd429f4e3b5c483e4bd8a0789eeefdcff3ea8f057583e69cd7c216aa6c5292dd3630c3 SHA512 58298b9cb94e4e9eb025f151de7352c6c8b91e8946ddb98384dcae72977107607e101ef42c63a44d75020b40175041e1b7fdd030b733d80b6a102a265532d337 DIST aesara-rel-2.8.12.gh.tar.gz 4582575 BLAKE2B d212e41fd22b54335bcc6f7a744d51113b1cfbad011480eabfde1b72cef5955ce019f2ee2a821d4cea22aa4340a2537156e3f4a5a1962ae0f23107d20df3d70a SHA512 c65e63efa1d6e9de0df6db6f96226d6f830198626a3dc7e77a977e3260ab276745b9c8ae5fa9ea48edb9aee9d88c8181e7a7e19aaa49e51290e4df619e227bbf -DIST aesara-rel-2.8.9.gh.tar.gz 4351952 BLAKE2B ffdc3d33caba5cf5edd3dd15e62cd295dd23f944ac6d76461e9e43717a4126669391dadfee51c6117911dc4236e8787d3e9ab712a0fcbd1dcb137e64f9f994c4 SHA512 3fb4374899ab71366961a07c750f594505467cdab01b6851b36d1dd924b816117ebe488a6cae548650df393c8447de69e21ce2cf6eafe34e951b98f27c3a4f6c -EBUILD aesara-2.8.10.ebuild 3575 BLAKE2B 4eb431b1b356f61397db2cab09d15fe083d8d52031201de7258bc561f4d6f4b93e901bb2832afa8724a96307bf71f26920021bc252fbc796ccb9e4c4b41095b4 SHA512 e85600dce339d11017cdea81b6948051ebe2ae25a67afabb4c3327844b6094ecc0b34391f3fc66d5ba88d7f50857d594d7a174e1d81394f0ac0ec43f1e985bbf -EBUILD aesara-2.8.11.ebuild 3468 BLAKE2B 1e002e2237754f13aa42f9f80f382ac562207965ea1e2a78226308add5fea9afd6541f80e116980dd99d019e92b202e968ebb1fe804dda2e0dc4ea3a71203e7d SHA512 6dd5533c230103be15377f6df0fec914dbfc10ce42dd50a4a54d47ef25776fdfcf3d33bc17df8c164ee627863d0ccd77b32310d1819bce538035ad67d485fe1c EBUILD aesara-2.8.12.ebuild 3420 BLAKE2B aa1535e2bd4b4b5112af31518a66beda3032d32f89c137fad36e37ada1a167e9ec7b1ea75da00f5be2d4aa2cd3877e147412692664a5c3048f1bfc20bf59e257 SHA512 147e664570e2f0cd9eae47893e7ce944ef7c7cf49ceb93575def15e1b3016dac8762e3462eb0684ac1dbdb0de229981b1e61600360273c29a8b70aec275bdc9d -EBUILD aesara-2.8.9.ebuild 2912 BLAKE2B 2ccb6ee70a8ef4391d5ee53f773aa53d5da9801b520a4b55ce24dfa5069f9af0cea2d92825076de8759a15a0ad178593d80132444eca5f131a2118afc5b7903c SHA512 4ffd0b5406cf22dd492fd838c6407b9a933cd7c1a094b4574d65e16ac8029ace8d42569200fb86998b8e5e833046de519fdf59c60fc4ae523ed634baf09cf51a MISC metadata.xml 506 BLAKE2B be65b6be62282fa47152985d79892fd04105a47e00a427ee8341d27aeff21b144bee7e7d0f16b2f4b617c941bdf5ebd9de37a42c39d117cdfd579c3035d35a74 SHA512 a207ec3db85a8e6f03feabd14da588f0b9ca9a88ab2495ade0f40b516b3bbd20fe78b14698d28da7ceed238737a9f4d63f587156ef609e846b485132d598c6bb diff --git a/dev-python/aesara/aesara-2.8.10.ebuild b/dev-python/aesara/aesara-2.8.10.ebuild deleted file mode 100644 index ecc99c59864d..000000000000 --- a/dev-python/aesara/aesara-2.8.10.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -# A whole bunch of test failures with 3.11 -PYTHON_COMPAT=( python3_{9..10} ) - -inherit distutils-r1 multiprocessing optfeature - -MY_P=aesara-rel-${PV} -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" -HOMEPAGE=" - https://github.com/aesara-devs/aesara/ - https://pypi.org/project/aesara/ -" -SRC_URI=" - https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - dev-python/cons[${PYTHON_USEDEP}] - dev-python/etuples[${PYTHON_USEDEP}] - dev-python/logical-unification[${PYTHON_USEDEP}] - dev-python/minikanren[${PYTHON_USEDEP}] - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/aesara-2.6.5-compiledir-tid.patch - "${FILESDIR}"/aesara-2.8.10-fix-tuple.patch -) - -distutils_enable_sphinx doc 'dev-python/sphinx-rtd-theme' -distutils_enable_tests pytest - -src_prepare() { - # do not claim "bin" package (sic!) - rm bin/__init__.py || die - distutils-r1_src_prepare - - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} - -python_test() { - local EPYTEST_DESELECT=( - # speed tests are unreliable - tests/scan/test_basic.py::test_speed - tests/scan/test_basic.py::test_speed_rnn - tests/scan/test_basic.py::test_speed_batchrnn - tests/link/test_vm.py::test_speed - tests/link/test_vm.py::test_speed_lazy - tests/tensor/test_gc.py::test_merge_opt_runtime - - # rounding problem? - # https://github.com/aesara-devs/aesara/issues/477 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good - - # Deprecation warning causes unexpected additional output - tests/tensor/test_basic.py::TestLongTensor::test_fit_int64 - - # dunno - tests/tensor/test_elemwise.py::TestDimShuffle::test_memory_leak - tests/tensor/signal/test_pool.py::TestDownsampleFactorMax::test_DownsampleFactorMaxGradGrad_grad - - # TODO - tests/link/c/test_op.py::test_ExternalCOp_c_code_cache_version - tests/sparse/sandbox/test_sp.py::TestSP::test_multilayer_conv - tests/sparse/sandbox/test_sp.py::TestSP::test_maxpool - - # TODO: Package pytest-benchmark - tests/scan/test_basic.py::TestExamples::test_reordering - tests/scan/test_basic.py::TestExamples::test_scan_as_tensor_on_gradients - tests/scan/test_basic.py::TestExamples::test_multiple_outs_taps - tests/scan/test_rewriting.py::TestPushOutAddScan::test_pregreedy_optimizer - tests/scan/test_rewriting.py::TestSaveMem::test_savemem_opt - tests/scan/test_basic.py::test_cython_performance - ) - local EPYTEST_IGNORE=( - # we do not package jax or numba - tests/link/jax - tests/link/numba - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x AESARA_FLAGS="cxx=${CXX}" - AESARA_FLAGS+=",config.gcc__cxxflags=\"${CXXFLAGS}\"" - AESARA_FLAGS+=',compiledir_format="compiledir_%(thread_id)s"' - - epytest -p xdist.plugin -n "$(makeopts_jobs)" - # clean up the compiledir, as it can grow pretty large - rm -r "${HOME}"/.aesara || die -} - -pkg_postinst() { - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda -} diff --git a/dev-python/aesara/aesara-2.8.11.ebuild b/dev-python/aesara/aesara-2.8.11.ebuild deleted file mode 100644 index e964e1962314..000000000000 --- a/dev-python/aesara/aesara-2.8.11.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9..10} ) - -inherit distutils-r1 multiprocessing optfeature - -MY_P=aesara-rel-${PV} -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" -HOMEPAGE=" - https://github.com/aesara-devs/aesara/ - https://pypi.org/project/aesara/ -" -SRC_URI=" - https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - dev-python/cons[${PYTHON_USEDEP}] - dev-python/etuples[${PYTHON_USEDEP}] - dev-python/logical-unification[${PYTHON_USEDEP}] - dev-python/minikanren[${PYTHON_USEDEP}] - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/aesara-2.6.5-compiledir-tid.patch - "${FILESDIR}"/aesara-2.8.10-fix-tuple.patch -) - -distutils_enable_tests pytest - -src_prepare() { - # do not claim "bin" package (sic!) - rm bin/__init__.py || die - distutils-r1_src_prepare - - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} - -python_test() { - local EPYTEST_DESELECT=( - # speed tests are unreliable - tests/scan/test_basic.py::test_speed - tests/scan/test_basic.py::test_speed_rnn - tests/scan/test_basic.py::test_speed_batchrnn - tests/link/test_vm.py::test_speed - tests/link/test_vm.py::test_speed_lazy - tests/tensor/test_gc.py::test_merge_opt_runtime - - # rounding problem? - # https://github.com/aesara-devs/aesara/issues/477 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good - - # Deprecation warning causes unexpected additional output - tests/tensor/test_basic.py::TestLongTensor::test_fit_int64 - - # dunno - tests/tensor/test_elemwise.py::TestDimShuffle::test_memory_leak - tests/tensor/signal/test_pool.py::TestDownsampleFactorMax::test_DownsampleFactorMaxGradGrad_grad - - # TODO - tests/link/c/test_op.py::test_ExternalCOp_c_code_cache_version - tests/sparse/sandbox/test_sp.py::TestSP::test_multilayer_conv - tests/sparse/sandbox/test_sp.py::TestSP::test_maxpool - - # TODO: Package pytest-benchmark - tests/scan/test_basic.py::TestExamples::test_reordering - tests/scan/test_basic.py::TestExamples::test_scan_as_tensor_on_gradients - tests/scan/test_basic.py::TestExamples::test_multiple_outs_taps - tests/scan/test_rewriting.py::TestPushOutAddScan::test_pregreedy_optimizer - tests/scan/test_rewriting.py::TestSaveMem::test_savemem_opt - tests/scan/test_basic.py::test_cython_performance - ) - local EPYTEST_IGNORE=( - # we do not package jax or numba - tests/link/jax - tests/link/numba - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x AESARA_FLAGS="cxx=${CXX}" - AESARA_FLAGS+=",config.gcc__cxxflags=\"${CXXFLAGS}\"" - AESARA_FLAGS+=',compiledir_format="compiledir_%(thread_id)s"' - - epytest -p xdist.plugin -n "$(makeopts_jobs)" - # clean up the compiledir, as it can grow pretty large - rm -r "${HOME}"/.aesara || die -} - -pkg_postinst() { - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda -} diff --git a/dev-python/aesara/aesara-2.8.9.ebuild b/dev-python/aesara/aesara-2.8.9.ebuild deleted file mode 100644 index 5022ff79eae2..000000000000 --- a/dev-python/aesara/aesara-2.8.9.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) - -inherit distutils-r1 multiprocessing optfeature - -MY_P=aesara-rel-${PV} -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" -HOMEPAGE=" - https://github.com/aesara-devs/aesara/ - https://pypi.org/project/aesara/ -" -SRC_URI=" - https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" - -RDEPEND=" - dev-python/cons[${PYTHON_USEDEP}] - dev-python/etuples[${PYTHON_USEDEP}] - dev-python/logical-unification[${PYTHON_USEDEP}] - dev-python/minikanren[${PYTHON_USEDEP}] - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - >=dev-python/setuptools-48.0.0[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/aesara-2.6.5-compiledir-tid.patch -) - -distutils_enable_sphinx doc 'dev-python/sphinx-rtd-theme' -distutils_enable_tests pytest - -src_prepare() { - # do not claim "bin" package (sic!) - rm bin/__init__.py || die - sed -e 's/find:/find_namespace:/' \ - -e '/exclude =/a\ doc*' \ - -i setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # speed tests are unreliable - tests/scan/test_basic.py::test_speed - tests/scan/test_basic.py::test_speed_rnn - tests/scan/test_basic.py::test_speed_batchrnn - tests/link/test_vm.py::test_speed - tests/link/test_vm.py::test_speed_lazy - tests/tensor/test_gc.py::test_merge_opt_runtime - - # rounding problem? - # https://github.com/aesara-devs/aesara/issues/477 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good - - # dunno - tests/tensor/test_elemwise.py::TestDimShuffle::test_memory_leak - - # TODO - tests/link/c/test_op.py::test_ExternalCOp_c_code_cache_version - tests/sparse/sandbox/test_sp.py::TestSP::test_multilayer_conv - tests/sparse/sandbox/test_sp.py::TestSP::test_maxpool - ) - local EPYTEST_IGNORE=( - # we do not package jax or numba - tests/link/jax - tests/link/numba - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x AESARA_FLAGS="cxx=${CXX}" - AESARA_FLAGS+=",config.gcc__cxxflags=\"${CXXFLAGS}\"" - AESARA_FLAGS+=',compiledir_format="compiledir_%(thread_id)s"' - - epytest -p xdist.plugin -n "$(makeopts_jobs)" - # clean up the compiledir, as it can grow pretty large - rm -r "${HOME}"/.aesara || die -} - -pkg_postinst() { - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda -} diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index ec520bc3eb9c..067dea45706e 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1,9 +1,3 @@ -AUX greenlet-2.0.1-gcc-13.patch 1458 BLAKE2B c99ef6da5a9d9a09ee02eb96eb04599db95c3fef22ad28c3d9066ceb54ef975c8dbfcbca48ade74be9601ca7111d8802d22543d986ac94ec2e7e6e8baafafeae SHA512 3cf43f496e24de66cbb788be6a529cd254cbc0721bd7e1a1b4b3e75d6bcef61b654e4d6f65c11f7e41590fa3b57477964eb263ca7bfa6849f01a936af3da1f37 -DIST greenlet-1.1.3.tar.gz 91624 BLAKE2B 88ba03f7a5acc7de2ab757a04667de9774ec8979b0f3d45131f8174a4ea9a608e359e4d8ce2f7e57c58ce4844e58a082d35d983fd583fc6f53ffa38363fb7863 SHA512 9ece4a4e758de963c96c7cbd33aec33fa11ddd3d46b8dc4194e14d534f8f68787df551cb1e3be57fc8a65fbd8d5daf8fee59567927f6f272535dd7c720baa4f4 -DIST greenlet-2.0.1.tar.gz 163824 BLAKE2B 4b06e3b95399f38dc529b06656dfee0347eb72cbce4ab62d4655d017457bf9df234d2767c1296705ba23b0d9f6476654327766efd329e48459c311600f33248a SHA512 3f4ccc761f64c7f10946d2fa965ef847e814ca1b6f57dc0df262cb6eed24148b44c6629770bf038656a9e3706e45553080844dfc841643604bd4776ca7ca03a2 DIST greenlet-2.0.2.tar.gz 164980 BLAKE2B 1afa8390e96d7eeafd84a4323a4eb9e4b2cad50a3e6654b1609702a5a74dfb5dadc7a1ff81cc8e7718d0587728c2ec944069db8241f1aa0723d2f98e6911ddb6 SHA512 03d0b2764c52524c97930a7bd856a432360a96ddbe3d1f2352ec49750994e6811fd28378f83b96cac91520234d0a6e9e56232ff688c71ff57f6340d3d182635b -EBUILD greenlet-1.1.3.ebuild 747 BLAKE2B 7b9b6ac190e1b8d9395d5ea3046c9faa42d0e4ac70ca6f484806d7c3a0c08a4c2cb4695bc5e6861c16108bdb6c1a56573dd3e2ae8c14048b0cd30c60f99c2c86 SHA512 8a5d22cde3504cabfd318cd7b65232e516e84076fb33cbc7e4e40915e768982a8d588f3770534b64ed0e12c311a6c0940600f0fbb04c5d0b87c382de6261fc9c -EBUILD greenlet-2.0.1-r1.ebuild 800 BLAKE2B 880b2bf1220e428a0f4bfe7c2e1f7662c8da1ba5a02226aa88ba3c79f96a84dbd95291d841bf45c2291578d163cfe39466856581e5718bf24c91cedc3f847ebc SHA512 efa880f7a3663e30986d60efec273850756223bf3ebe63c3a24ba1a622fdf3216f423fa0f4823dbe3c91f35cfdd95928e3a5dd95c47ecee308473480c2515c48 -EBUILD greenlet-2.0.1.ebuild 752 BLAKE2B 44b12f599b30a7a9192d9902f9a9bb600987e07cc3594828a0699d3480c5757db69f9e2aac4cc9aeb4563c8470bd36d76a21991c768a9b9b244fdb220df44e46 SHA512 abf080585de3cd9ff73935a2ca2ed759ca8af7bf32c86ac7fec8382541dd2e7b14ecc2fa551cc689214c3df75494fcdfa9b70aac093c1c9f3260d8cf1456619b -EBUILD greenlet-2.0.2.ebuild 950 BLAKE2B 6d6e644216ada2507339bd7b8ff3ef19e37f6d16c05b903e80946a83f39551ec47af49650199739be66843f66da8c43fc8b41988a1bc67e26ba5535040b7df8a SHA512 95d916336b58c0d944c5931866280f00cd04d20bcd86c6ac31ea5ee7af901daf4ba3ec97e0fda91b78aa3be7963499a04f6caae26745275cd57b404c868c8538 +EBUILD greenlet-2.0.2.ebuild 949 BLAKE2B cedb2666bc9571398772670121daba0e6af518af0c2a81a9a3382e3df07f820d5e2b92b81ffe1683196208dc6e0918353956e44aeaf02d2d3e7e1aedc38ca01a SHA512 8447db75fd1c0af3e9498f0c3ad4f70a6b1891705bafc4b48cc98479b07449bb3b535de48531cedbc8d5f2782214dd803aaaa972b90defae900eb3f5f03096e3 MISC metadata.xml 388 BLAKE2B db0aba92c5c405fa5736f97c2db14319514e95296ad11aa9aac26e95bdb630961e2ae430cbfcdf2b72425c805b83556f3dda6983dde075be3cb0a3f7d0a45e8f SHA512 3b9003e181f15b46ddd5af3e4a6012f115ca42be0bf2f4e40c0fbb196231de8a5b1320d402de6d4105f61d7e4fd5d868131404796cea19a7547a53ee17c26ce1 diff --git a/dev-python/greenlet/files/greenlet-2.0.1-gcc-13.patch b/dev-python/greenlet/files/greenlet-2.0.1-gcc-13.patch deleted file mode 100644 index 4afbca8f1479..000000000000 --- a/dev-python/greenlet/files/greenlet-2.0.1-gcc-13.patch +++ /dev/null @@ -1,47 +0,0 @@ -https://github.com/python-greenlet/greenlet/commit/3be53248cd1f8e4859563b84b04054de7a9fcad2 -https://github.com/python-greenlet/greenlet/commit/86c4e2a98f1bd27eff38edd5dba8c10300bc8e64 - -From 3be53248cd1f8e4859563b84b04054de7a9fcad2 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 16 Jan 2023 21:37:26 -0800 -Subject: [PATCH] greenlet: Drop using 'register' storage class keyword - -This has been dropped in c++17 and newer - -Signed-off-by: Khem Raj ---- a/src/greenlet/platform/switch_riscv_unix.h -+++ b/src/greenlet/platform/switch_riscv_unix.h -@@ -11,8 +11,8 @@ - static int - slp_switch(void) - { -- register int ret; -- register long *stackref, stsizediff; -+ int ret; -+ long *stackref, stsizediff; - __asm__ volatile ("" : : : REGS_TO_SAVE); - __asm__ volatile ("mv %0, sp" : "=r" (stackref) : ); - { - -From 86c4e2a98f1bd27eff38edd5dba8c10300bc8e64 Mon Sep 17 00:00:00 2001 -From: Jason Madden -Date: Thu, 26 Jan 2023 12:58:46 -0600 -Subject: [PATCH] Add the rebind member to the allocator. - -Based on, and fixes #335 ---- a/src/greenlet/greenlet_allocator.hpp -+++ b/src/greenlet/greenlet_allocator.hpp -@@ -51,6 +51,11 @@ namespace greenlet - else - PyMem_Free(p); - } -+ // This member is deprecated in C++17 and removed in C++20 -+ template< class U > -+ struct rebind { -+ typedef PythonAllocator other; -+ }; - - }; - } - - diff --git a/dev-python/greenlet/greenlet-1.1.3.ebuild b/dev-python/greenlet/greenlet-1.1.3.ebuild deleted file mode 100644 index 03a481f04531..000000000000 --- a/dev-python/greenlet/greenlet-1.1.3.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -# Note: greenlet is built-in in pypy -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="Lightweight in-process concurrent programming" -HOMEPAGE=" - https://greenlet.readthedocs.io/en/latest/ - https://github.com/python-greenlet/greenlet/ - https://pypi.org/project/greenlet/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 -hppa -ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -distutils_enable_sphinx docs -distutils_enable_tests unittest - -python_test() { - eunittest greenlet.tests -} diff --git a/dev-python/greenlet/greenlet-2.0.1-r1.ebuild b/dev-python/greenlet/greenlet-2.0.1-r1.ebuild deleted file mode 100644 index 2b8702123d9d..000000000000 --- a/dev-python/greenlet/greenlet-2.0.1-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -# Note: greenlet is built-in in pypy -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="Lightweight in-process concurrent programming" -HOMEPAGE=" - https://greenlet.readthedocs.io/en/latest/ - https://github.com/python-greenlet/greenlet/ - https://pypi.org/project/greenlet/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa -ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" - -PATCHES=( - "${FILESDIR}"/${P}-gcc-13.patch -) - -distutils_enable_sphinx docs -distutils_enable_tests unittest - -python_test() { - eunittest greenlet.tests -} diff --git a/dev-python/greenlet/greenlet-2.0.1.ebuild b/dev-python/greenlet/greenlet-2.0.1.ebuild deleted file mode 100644 index d843b4ea57c5..000000000000 --- a/dev-python/greenlet/greenlet-2.0.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -# Note: greenlet is built-in in pypy -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="Lightweight in-process concurrent programming" -HOMEPAGE=" - https://greenlet.readthedocs.io/en/latest/ - https://github.com/python-greenlet/greenlet/ - https://pypi.org/project/greenlet/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 -hppa -ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" - -distutils_enable_sphinx docs -distutils_enable_tests unittest - -python_test() { - eunittest greenlet.tests -} diff --git a/dev-python/greenlet/greenlet-2.0.2.ebuild b/dev-python/greenlet/greenlet-2.0.2.ebuild index d37d2863a754..3f6c1121adbe 100644 --- a/dev-python/greenlet/greenlet-2.0.2.ebuild +++ b/dev-python/greenlet/greenlet-2.0.2.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 -hppa -ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 -hppa -ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" BDEPEND=" test? ( diff --git a/dev-python/pyside6/Manifest b/dev-python/pyside6/Manifest index 870c67913194..451b2cb59388 100644 --- a/dev-python/pyside6/Manifest +++ b/dev-python/pyside6/Manifest @@ -1,5 +1,5 @@ AUX pyside6-6.3.1-fix-designer-plugin-install-location.patch 685 BLAKE2B 2f3b3873f4f1f46b737ae85467798b25fd1634a15a391cd7fa04a1c391a56cd57a68ec4f98b51460cd805fc75cc0ee50b9addc4a757520429f6b7e66101ed609 SHA512 76ca097b42b47d3b290966fe805b1b4f58e04ab05d8e5420dfa1014e3399452a0326d964d2304068c78a6a82bcea2883d5c9e6a51b383a7f96a7520cfebdfcad AUX pyside6-6.3.1-no-strip.patch 953 BLAKE2B f88bac603a584213a864fcfc7c528f1d236ebdbfb653c3877316cd0b95c30c2f7288b1c81c6a90a3e4228536da4aa63552991fefa952f450b0b852b3e2aed94a SHA512 2920075a26fc059bdebc8eb5fa7c15de74729b7f8d1eb59197f7426afa7a65f1f78a8ebb76e946b2dfaf5817dbf090744bafaed2f2156f2d1548c2932a7ce61a DIST pyside-setup-opensource-src-6.4.2.tar.xz 8759528 BLAKE2B cc1a18e9dc81eb02bbfffd38816da68f053337f94c485fdd2f99488ae7ade2e899be1d98518def8f39a4eeaeaff6018ff09402bfe55b3484d78d8c4d9796b4e7 SHA512 129ea420000fceef9726fab9e0320e8286a34aa0855fc4bd369adc0020b76909b3a5ac8c3fa622b73da1561b39dcaeb8ac121f634918e2c0460a9ebaccb0f659 -EBUILD pyside6-6.4.2.ebuild 9171 BLAKE2B ed08e7147b47e137df340030a45d0e99c51063291b657a744944fe1bada03851cbc197a8a50938dc397460dac502551a82b14fa56f7c6528755ab124cb80bded SHA512 85b669184364731a9f067ff89df46a62dbefce4e6cbc609eb6e089b45567a99e273b5d23aa3861cffcb5cb96cb04a835edb89227faa1900c40412a6713cb5bdb +EBUILD pyside6-6.4.2-r1.ebuild 9135 BLAKE2B ee65a35bf585fd245949f42bb48fff2ed441da6f96507f28a725221ac06134ef17fca4d4acf2fa38778fce62008e716b7a6c2326ef68cadb96d70d381c1fb9a1 SHA512 658fe5ada14cd93d5417ef848896b2f09405a52ade33f16c02fe67b3f69aeab22891f385347ad3bb1b894f7dc3e0456f1c0a8c375eb8447ac1bf8974a25fb534 MISC metadata.xml 1830 BLAKE2B fe8b0657824ef49182b8a5ac334539e10ff88d56f1d0ff517ce9247f0ec1c8b82158688fefde8e01c99fadcb0268e6e0109fef49830ffdec821e803e2ad23517 SHA512 4b49ec54b699673da2c9173f849f70e2a42321608c2893fa9d161a2ff51a917864042b3c0421c3723b98bcbde0d53e78e8c832f25a689dc7e3499d05446a014b diff --git a/dev-python/pyside6/pyside6-6.4.2-r1.ebuild b/dev-python/pyside6/pyside6-6.4.2-r1.ebuild new file mode 100644 index 000000000000..55aee68d1d8a --- /dev/null +++ b/dev-python/pyside6/pyside6-6.4.2-r1.ebuild @@ -0,0 +1,223 @@ +# 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_{9..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 "PySide6/QtGui/CMakeLists.txt" and +# "PySide6/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/PySide6" +SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}/sources/pyside6" + +# See "sources/pyside6/PySide6/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" +IUSE=" + +dbus charts +concurrent designer gles2-only +gui help multimedia + +network network-auth +opengl positioning +printsupport qml quick + quick3d serialport +sql svg test +testlib webchannel webengine + websockets +widgets +xml +" + +# Manually reextract these requirements on version bumps by running the +# following one-liner from within "${S}": +# $ grep 'set.*_deps' PySide6/Qt*/CMakeLists.txt +# Note that the "designer" USE flag corresponds to the "Qt6UiTools" module. +REQUIRED_USE="${PYTHON_REQUIRED_USE} + charts? ( gui widgets ) + designer? ( widgets ) + gles2-only? ( gui ) + gui? ( dbus opengl ) + help? ( network sql widgets ) + multimedia? ( gui network ) + network-auth? ( network ) + opengl? ( gui ) + printsupport? ( widgets ) + qml? ( network ) + quick? ( gui network opengl qml ) + quick3d? ( gui network opengl qml quick ) + sql? ( widgets ) + svg? ( gui ) + testlib? ( widgets ) + webchannel? ( qml ) + webengine? ( network gui printsupport quick webchannel ) + websockets? ( network ) + widgets? ( 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-2)*:6" + +RDEPEND="${PYTHON_DEPS} + ~dev-python/shiboken6-${PV}[${PYTHON_USEDEP}] + =dev-qt/qtbase-${QT_PV}[concurrent?,dbus?,gles2-only=,network?,opengl?,sql?,widgets?,xml?] + charts? ( =dev-qt/qtcharts-${QT_PV} ) + designer? ( =dev-qt/qttools-${QT_PV}[designer] ) + gui? ( + =dev-qt/qtbase-${QT_PV}[gui,jpeg] + x11-libs/libxkbcommon + ) + help? ( =dev-qt/qttools-${QT_PV}[assistant] ) + multimedia? ( =dev-qt/qtmultimedia-${QT_PV} ) + network-auth? ( =dev-qt/qtnetworkauth-${QT_PV} ) + positioning? ( =dev-qt/qtpositioning-${QT_PV} ) + printsupport? ( =dev-qt/qtbase-${QT_PV}[gui,widgets] ) + qml? ( =dev-qt/qtdeclarative-${QT_PV}[widgets?] ) + quick3d? ( =dev-qt/qtquick3d-${QT_PV} ) + serialport? ( =dev-qt/qtserialport-${QT_PV} ) + svg? ( =dev-qt/qtsvg-${QT_PV} ) + testlib? ( =dev-qt/qtbase-${QT_PV}[gui] ) + webchannel? ( =dev-qt/qtwebchannel-${QT_PV} ) + webengine? ( =dev-qt/qtwebengine-${QT_PV}[widgets?] ) + websockets? ( =dev-qt/qtwebsockets-${QT_PV} ) +" +DEPEND="${RDEPEND} + test? ( =dev-qt/qtbase-${QT_PV}[gui] ) +" +# testlib is toggled by the gui flag on qtbase + +PATCHES=( + "${FILESDIR}/${PN}-6.3.1-no-strip.patch" + "${FILESDIR}/${PN}-6.3.1-fix-designer-plugin-install-location.patch" +) + +src_configure() { + # See collect_module_if_found macros in PySideHelpers.cmake + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DAnimation=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DCore=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DExtras=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DInput=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DLogic=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DRender=yes + #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6AxContainer=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Bluetooth=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Charts=$(usex !charts) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Concurrent=$(usex !concurrent) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DataVisualization=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DBus=$(usex !dbus) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Designer=$(usex !designer) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Gui=$(usex !gui) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Help=$(usex !help) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6HttpServer=yes + #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6Location=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Multimedia=$(usex !multimedia) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6MultimediaWidgets=$(usex !multimedia yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6NetworkAuth=$(usex !network-auth) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Network=$(usex !network) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Nfc=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGL=$(usex !opengl) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGLWidgets=$(usex !opengl yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Pdf=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PdfWidgets=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Positioning=$(usex !positioning) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PrintSupport=$(usex !printsupport) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Qml=$(usex !qml) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick3D=$(usex !quick3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick=$(usex !quick) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickControls2=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickWidgets=$(usex !quick yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6RemoteObjects=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Scxml=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sensors=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SerialPort=$(usex !serialport) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SpatialAudio=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sql=$(usex !sql) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6StateMachine=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Svg=$(usex !svg) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SvgWidgets=$(usex !svg yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Test=$(usex !testlib) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6TextToSpeech=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6UiTools=$(usex !designer) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebChannel=$(usex !webchannel) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineCore=$(usex !webengine) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineQuick=$(usex !webengine yes $(usex !quick)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineWidgets=$(usex !webengine yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebSockets=$(usex !websockets) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Widgets=$(usex !widgets) + #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6WinExtras=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Xml=$(usex !xml) + # try to avoid pre-stripping + -DQFP_NO_OVERRIDE_OPTIMIZATION_FLAGS=yes + -DQFP_NO_STRIP=yes + + ) + + pyside6_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 pyside6_configure +} + +src_compile() { + python_foreach_impl cmake_src_compile +} + +src_test() { + local -x PYTHONDONTWRITEBYTECODE + python_foreach_impl virtx cmake_src_test +} + +src_install() { + pyside6_install() { + cmake_src_install + python_optimize + + # Uniquify the shiboken6 pkgconfig dependency in the PySide6 pkgconfig + # file for the current Python target. See also: + # https://github.com/leycec/raiagent/issues/73 + sed -i -e 's~^Requires: shiboken6$~&-'${EPYTHON}'~' \ + "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}.pc || die + + # Uniquify the PySide6 pkgconfig file for the current Python target, + # preserving an unversioned "pyside6.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 pyside6_install + + # CMakeLists.txt installs a "PySide6Targets-gentoo.cmake" file forcing + # downstream consumers (e.g., pyside6-tools) to target one + # "libpyside6-*.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~pyside6-python[[:digit:]]\+\.[[:digit:]]\+~pyside6${PYTHON_CONFIG_SUFFIX}~g' \ + "${ED}/usr/$(get_libdir)/cmake/PySide6-${PV}/PySide6Targets-${CMAKE_BUILD_TYPE,,}.cmake" || die +} diff --git a/dev-python/pyside6/pyside6-6.4.2.ebuild b/dev-python/pyside6/pyside6-6.4.2.ebuild deleted file mode 100644 index 03d16f85c62b..000000000000 --- a/dev-python/pyside6/pyside6-6.4.2.ebuild +++ /dev/null @@ -1,223 +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_{9..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 "PySide6/QtGui/CMakeLists.txt" and -# "PySide6/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/PySide6" -SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_P}.tar.xz" -S="${WORKDIR}/${MY_P}/sources/pyside6" - -# See "sources/pyside6/PySide6/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" -IUSE=" - +dbus charts +concurrent designer gles2-only +gui help multimedia - +network network-auth +opengl positioning +printsupport qml quick - quick3d serialport +sql svg test +testlib webchannel webengine - websockets +widgets +xml -" - -# Manually reextract these requirements on version bumps by running the -# following one-liner from within "${S}": -# $ grep 'set.*_deps' PySide6/Qt*/CMakeLists.txt -# Note that the "designer" USE flag corresponds to the "Qt6UiTools" module. -REQUIRED_USE="${PYTHON_REQUIRED_USE} - charts? ( gui widgets ) - designer? ( widgets ) - gles2-only? ( gui ) - gui? ( dbus opengl ) - help? ( network sql widgets ) - multimedia? ( gui network ) - network-auth? ( network ) - opengl? ( gui ) - printsupport? ( widgets ) - qml? ( network ) - quick? ( gui network opengl qml ) - quick3d? ( gui network opengl qml quick ) - sql? ( widgets ) - svg? ( gui ) - testlib? ( widgets ) - webchannel? ( qml ) - webengine? ( network gui printsupport quick webchannel ) - websockets? ( network ) - widgets? ( 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-2)*:6" - -RDEPEND="${PYTHON_DEPS} - ~dev-python/shiboken6-${PV}[${PYTHON_USEDEP}] - =dev-qt/qtbase-${QT_PV}[concurrent?,dbus?,gles2-only=,network?,opengl?,sql?,widgets?,xml?] - charts? ( =dev-qt/qtcharts-${QT_PV} ) - designer? ( =dev-qt/qttools-${QT_PV}[designer] ) - gui? ( - =dev-qt/qtbase-${QT_PV}[gui,jpeg] - x11-libs/libxkbcommon - ) - help? ( =dev-qt/qttools-${QT_PV}[assistant] ) - multimedia? ( =dev-qt/qtmultimedia-${QT_PV}[qml(+)?,gles2-only(-)=,widgets(+)?] ) - network-auth? ( =dev-qt/qtnetworkauth-${QT_PV} ) - positioning? ( =dev-qt/qtpositioning-${QT_PV} ) - printsupport? ( =dev-qt/qtbase-${QT_PV}[gui,widgets] ) - qml? ( =dev-qt/qtdeclarative-${QT_PV}[widgets?] ) - quick3d? ( =dev-qt/qtquick3d-${QT_PV} ) - serialport? ( =dev-qt/qtserialport-${QT_PV} ) - svg? ( =dev-qt/qtsvg-${QT_PV} ) - testlib? ( =dev-qt/qtbase-${QT_PV}[gui] ) - webchannel? ( =dev-qt/qtwebchannel-${QT_PV} ) - webengine? ( =dev-qt/qtwebengine-${QT_PV}[widgets?] ) - websockets? ( =dev-qt/qtwebsockets-${QT_PV} ) -" -DEPEND="${RDEPEND} - test? ( =dev-qt/qtbase-${QT_PV}[gui] ) -" -# testlib is toggled by the gui flag on qtbase - -PATCHES=( - "${FILESDIR}/${PN}-6.3.1-no-strip.patch" - "${FILESDIR}/${PN}-6.3.1-fix-designer-plugin-install-location.patch" -) - -src_configure() { - # See collect_module_if_found macros in PySideHelpers.cmake - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DAnimation=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DCore=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DExtras=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DInput=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DLogic=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DRender=yes - #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6AxContainer=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Bluetooth=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Charts=$(usex !charts) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Concurrent=$(usex !concurrent) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DataVisualization=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DBus=$(usex !dbus) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Designer=$(usex !designer) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Gui=$(usex !gui) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Help=$(usex !help) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6HttpServer=yes - #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6Location=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Multimedia=$(usex !multimedia) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6MultimediaWidgets=$(usex !multimedia yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6NetworkAuth=$(usex !network-auth) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Network=$(usex !network) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Nfc=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGL=$(usex !opengl) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGLWidgets=$(usex !opengl yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Pdf=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PdfWidgets=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Positioning=$(usex !positioning) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PrintSupport=$(usex !printsupport) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Qml=$(usex !qml) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick3D=$(usex !quick3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick=$(usex !quick) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickControls2=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickWidgets=$(usex !quick yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6RemoteObjects=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Scxml=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sensors=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SerialPort=$(usex !serialport) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SpatialAudio=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sql=$(usex !sql) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6StateMachine=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Svg=$(usex !svg) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SvgWidgets=$(usex !svg yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Test=$(usex !testlib) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6TextToSpeech=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6UiTools=$(usex !designer) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebChannel=$(usex !webchannel) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineCore=$(usex !webengine) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineQuick=$(usex !webengine yes $(usex !quick)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineWidgets=$(usex !webengine yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebSockets=$(usex !websockets) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Widgets=$(usex !widgets) - #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6WinExtras=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Xml=$(usex !xml) - # try to avoid pre-stripping - -DQFP_NO_OVERRIDE_OPTIMIZATION_FLAGS=yes - -DQFP_NO_STRIP=yes - - ) - - pyside6_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 pyside6_configure -} - -src_compile() { - python_foreach_impl cmake_src_compile -} - -src_test() { - local -x PYTHONDONTWRITEBYTECODE - python_foreach_impl virtx cmake_src_test -} - -src_install() { - pyside6_install() { - cmake_src_install - python_optimize - - # Uniquify the shiboken6 pkgconfig dependency in the PySide6 pkgconfig - # file for the current Python target. See also: - # https://github.com/leycec/raiagent/issues/73 - sed -i -e 's~^Requires: shiboken6$~&-'${EPYTHON}'~' \ - "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}.pc || die - - # Uniquify the PySide6 pkgconfig file for the current Python target, - # preserving an unversioned "pyside6.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 pyside6_install - - # CMakeLists.txt installs a "PySide6Targets-gentoo.cmake" file forcing - # downstream consumers (e.g., pyside6-tools) to target one - # "libpyside6-*.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~pyside6-python[[:digit:]]\+\.[[:digit:]]\+~pyside6${PYTHON_CONFIG_SUFFIX}~g' \ - "${ED}/usr/$(get_libdir)/cmake/PySide6-${PV}/PySide6Targets-${CMAKE_BUILD_TYPE,,}.cmake" || die -} -- cgit v1.2.3