diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-15 13:15:19 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-15 13:15:19 +0000 |
| commit | 6a43745b968bc06d584e577a66141ea984138222 (patch) | |
| tree | 449b40c8df0d16ef4b7b88fef76bef8817ee2837 /dev-python | |
| parent | 4ed27139afc9404054461e4d12e1e1b517bc4ba4 (diff) | |
| download | baldeagleos-repo-6a43745b968bc06d584e577a66141ea984138222.tar.gz baldeagleos-repo-6a43745b968bc06d584e577a66141ea984138222.tar.xz baldeagleos-repo-6a43745b968bc06d584e577a66141ea984138222.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
23 files changed, 267 insertions, 337 deletions
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index c335b47e0ea8..980766813033 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -2,3 +2,4 @@ DIST cfn-lint-0.77.5.tar.gz 3513226 BLAKE2B edff62682027d87fc4f0934aba83ca1cbd83 DIST cfn-lint-0.77.6.tar.gz 3554363 BLAKE2B abd496cdb72e1032c92a6489da12a4ffb4f83bba994067f9e2d333e55a13ea22d07db880dd3acca208f9b8328c17fe98540cec2847dac32ad87b2662aa0047e4 SHA512 b36c781dbd3294d6f2cfe43f617832170e47c9c9502845a551e6a9263e28dc6de99c77abd998699a2fcb6f08535daff615b17072c3ad1fe9c10853890a71989f DIST cfn-lint-0.77.7.tar.gz 3554332 BLAKE2B b669b9f97523933eb5549f7b2d67a132aef2236301b24094a0b74e9198d49121d4ec173c99d74b554b77eee2765b4ceb97126f2ccfab121393bc68e34cfb8147 SHA512 124ab4b96963f4971a25535852290ee71b5eed82e85a4101b3aa0469213b1006bfe8ae3d384f1acf236a0fa9915a24999b00f31f0d6ddbedbdaba123bfbb823b DIST cfn-lint-0.77.8.tar.gz 3578363 BLAKE2B 33fbc0dd76a025425453bf39da0cd1c9ffc15b057735e2add0a54fe387377824839ab34fb37216db4fe0cc05f60878b4ac828aceecd888d510612d9c44d8473f SHA512 7fc71965d33df29557de996e2ba0e911e681b5d220e69346a26448c1e04f3cd40f7e17b933cde695ad5aa6170d46981834efa19103e50d6690b4d476d13f82ba +DIST cfn-lint-0.77.9.tar.gz 3477918 BLAKE2B dd575c9610289b5fd256b7ddd11985a6b5790706d2d8d79409bea4b3c6600d680931893ce8f9b38724c14348fbb6023bd43dbd932c822547d923f5eaa43552bc SHA512 f861fb4b6e8c95e6ac9cda564b9f65c639696a1df16408500fab9a07c317e4663a1bbde87e245536b555a664f325441bd802a703ede7cd51f16be473afe34966 diff --git a/dev-python/cfn-lint/cfn-lint-0.77.9.ebuild b/dev-python/cfn-lint/cfn-lint-0.77.9.ebuild new file mode 100644 index 000000000000..fd044b24f9ef --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.77.9.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.68.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index 9d6e8eb93f09..61136567d3c4 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1 +1,2 @@ DIST python-api-core-2.11.0.gh.tar.gz 187535 BLAKE2B e8029b6344b572e1dcc8455b95f3ee63c8d3684f0c8807793e4e6ba2dd0179c939f183144085c2b94a29b8a1ae0e39aeffceb632988702806665ec39c51e3ce5 SHA512 798ff3970027d7ce60dcb62a88d395ebf00454f902fda4f272fc240b9ec104af112dd9de479fb6761990c48931c8ccd8c5223a1b2b5fa44823cabac862efdba8 +DIST python-api-core-2.11.1.gh.tar.gz 187982 BLAKE2B 095b96b50f0723543acf32e4db092a8b24eccf68088229668f7f36aa0d29f66905ea8c43d7ca4a4ee4179664b6bb63c45e4619d621a99f8c2a81a4b3dd61c25e SHA512 a2ca8a2a136fd29999662201af462b45da07c0e4d124649bba12d0564c595ebf02bd398354394d7eb4116c875b2c72b29280ee5a770a6773254accc979eacbbe diff --git a/dev-python/google-api-core/google-api-core-2.11.1.ebuild b/dev-python/google-api-core/google-api-core-2.11.1.ebuild new file mode 100644 index 000000000000..dcc1a633444a --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.11.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +MY_P=python-api-core-${PV} +DESCRIPTION="Core Library for Google Client Libraries" +HOMEPAGE=" + https://github.com/googleapis/python-api-core/ + https://pypi.org/project/google-api-core/ + https://googleapis.dev/python/google-api-core/latest/index.html +" +SRC_URI=" + https://github.com/googleapis/python-api-core/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/googleapis-common-protos-1.56.2[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.19.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + !dev-python/namespace-google +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/proto-plus[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # failing due to missing grpcio-status + tests/asyncio/test_grpc_helpers_async.py::test_wrap_unary_errors + tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_raised + tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_read + tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_aiter + tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_write + tests/unit/test_grpc_helpers.py::test_wrap_unary_errors + tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_invocation + tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_iterator_initialization + tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_during_iteration +) + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +src_test() { + rm -r google || die + distutils-r1_src_test +} + +python_test() { + distutils_write_namespace google + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio tests +} diff --git a/dev-python/insipid-sphinx-theme/insipid-sphinx-theme-0.4.1.ebuild b/dev-python/insipid-sphinx-theme/insipid-sphinx-theme-0.4.1.ebuild index 6f2e4095cc60..ef3bc0905ba6 100644 --- a/dev-python/insipid-sphinx-theme/insipid-sphinx-theme-0.4.1.ebuild +++ b/dev-python/insipid-sphinx-theme/insipid-sphinx-theme-0.4.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" RDEPEND=" dev-python/jinja[${PYTHON_USEDEP}] diff --git a/dev-python/mistletoe/mistletoe-1.1.0.ebuild b/dev-python/mistletoe/mistletoe-1.1.0-r1.ebuild index ebaa2f0754a7..a84719547fb9 100644 --- a/dev-python/mistletoe/mistletoe-1.1.0.ebuild +++ b/dev-python/mistletoe/mistletoe-1.1.0-r1.ebuild @@ -15,7 +15,6 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -RDEPEND="" -DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-python/parameterized[${PYTHON_USEDEP}] )" distutils_enable_tests pytest diff --git a/dev-python/pyproject-api/Manifest b/dev-python/pyproject-api/Manifest index 2d16c660c2c7..695db7377edd 100644 --- a/dev-python/pyproject-api/Manifest +++ b/dev-python/pyproject-api/Manifest @@ -1 +1,2 @@ DIST pyproject_api-1.5.1.tar.gz 22081 BLAKE2B 53ee778b4e04cac2f16ecd054adc7fd86373d6402f80d485fe22457252684f774b6a5df23d08cf6c6b1f96964d6dc1b1cc9014415f3d9105ffbb09421f69a11e SHA512 31936d242861027ea892e86219f430371aae18631c92893cefc8fb8fc02315906857ee57e5412eed62bf584e0bd24cca7ba82471c0ac6a72c71e8e93b8285a3e +DIST pyproject_api-1.5.2.tar.gz 21926 BLAKE2B 337fa749273273e0d4c761876ac1b9ec25c02ad206dd222790717dde44ad82409d5200b94c2b5d35984116b1c88cfa10b93c699e684ff51b3235b936e35fe0ee SHA512 ee12ec0dccce0130bca703886c40ac21802f58fb7683370592f9dabbf83366939f5032d7f55c6b712cfa4fa0cf34d88fc37a05eae9d811b34fe9c7377886b8d7 diff --git a/dev-python/pyproject-api/pyproject-api-1.5.2.ebuild b/dev-python/pyproject-api/pyproject-api-1.5.2.ebuild new file mode 100644 index 000000000000..f5485147e269 --- /dev/null +++ b/dev-python/pyproject-api/pyproject-api-1.5.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="API to interact with the python pyproject.toml based projects" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-api/ + https://pypi.org/project/pyproject-api/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.{8..10}) +" +BDEPEND=" + >=dev-python/hatch-vcs-0.3.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + >=dev-python/wheel-0.40[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires Python 2 installed + tests/test_frontend.py::test_can_build_on_python_2 +) diff --git a/dev-python/pyside2-tools/Manifest b/dev-python/pyside2-tools/Manifest index 7553ff9ce874..44289e185b45 100644 --- a/dev-python/pyside2-tools/Manifest +++ b/dev-python/pyside2-tools/Manifest @@ -1,3 +1,2 @@ DIST pyside-setup-opensource-src-5.15.10.tar.xz 3583764 BLAKE2B 7e19e8f8460582012d3fec09ac99f826298cbfcd0887339c2adababb7a21bfc67a2918e91858888e89eca0a6f780929b2a7fa70c28d72ece24b7ea939ca76f56 SHA512 dc548ab870fcc5cc637de1bcb2f428527c650287fdb3720a3ade4638cc0bb12bc4a1ed87e7f6a4ec730a26742e08ceec806bcac6af91c7a01ddc0ce7980a79d2 -DIST pyside-setup-opensource-src-5.15.8.tar.xz 3582256 BLAKE2B eef6668c612c39eac4ea29db4eee0cc6eef72034babaa14525ca63cf6e02695df27bf8a6764110c4bcc77f55c7e9fb531074916a45d7ea324265e50d9a60d592 SHA512 78e19a8e8fa413bb784f16847d5774e4362409a2bd83567177b83f1391c37305d373155fb95ea569c6c483175e62a0d3f5d91a2fd5dae85d48c8047d242b9e22 DIST pyside-setup-opensource-src-5.15.9.tar.xz 3581660 BLAKE2B 65d5317f9ea55385bbe093cf43c214655effd877feed6409acc4f6f65768dcde8c94c4f29157f8d7dcb36d442c649290764706834885b08ecf9934b383b3e2a4 SHA512 cc63d64b909f1fd98b64a0bba61b278b1a5b60059168287546ee36204ede2df4317eb4ce5638a268d387e6db40fec203631fc4a48e4116a6b4a30d675bf876d3 diff --git a/dev-python/pyside2-tools/metadata.xml b/dev-python/pyside2-tools/metadata.xml index a23b2c41091f..5d1b85afa189 100644 --- a/dev-python/pyside2-tools/metadata.xml +++ b/dev-python/pyside2-tools/metadata.xml @@ -9,10 +9,6 @@ <email>waebbl-gentoo@posteo.net</email> <name>Bernd Waibel</name> </maintainer> - <maintainer type="person"> - <email>fordfrog@gentoo.org</email> - <name>Miroslav Ć ulc</name> - </maintainer> <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pyside2-tools/pyside2-tools-5.15.8.ebuild b/dev-python/pyside2-tools/pyside2-tools-5.15.8.ebuild deleted file mode 100644 index 73525dd027ef..000000000000 --- a/dev-python/pyside2-tools/pyside2-tools-5.15.8.ebuild +++ /dev/null @@ -1,77 +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_{7,8,9,10,11} ) -CMAKE_IN_SOURCE_BUILD=1 - -inherit cmake python-r1 - -MY_P=pyside-setup-opensource-src-${PV} - -DESCRIPTION="PySide development tools (pyside2-lupdate with support for Python)" -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/${PN}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - ~dev-python/pyside2-${PV}[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -DOCS=( README.md ) - -# the tools conflict with tools from QT -PATCHES=( - "${FILESDIR}/${PN}-5.15.1-dont-install-tools.patch" -) - -src_prepare() { - cmake_src_prepare - - python_copy_sources -} - -src_configure() { - # The tests are only related to the tools that we don't install - local mycmakeargs=( - -DBUILD_TESTS=OFF - ) - - pyside-tools_configure() { - local mycmakeargs=( - "${mycmakeargs[@]}" - -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" - ) - 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}/pylupdate/pyside2-lupdate" - } - - python_foreach_impl pyside-tools_install - - doman pylupdate/pyside2-lupdate.1 - einstalldocs -} diff --git a/dev-python/pyside2-tools/pyside2-tools-5.15.9.ebuild b/dev-python/pyside2-tools/pyside2-tools-5.15.9.ebuild index 21759e95a0c4..73525dd027ef 100644 --- a/dev-python/pyside2-tools/pyside2-tools-5.15.9.ebuild +++ b/dev-python/pyside2-tools/pyside2-tools-5.15.9.ebuild @@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}/sources/${PN}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} diff --git a/dev-python/pyside2/Manifest b/dev-python/pyside2/Manifest index 7553ff9ce874..44289e185b45 100644 --- a/dev-python/pyside2/Manifest +++ b/dev-python/pyside2/Manifest @@ -1,3 +1,2 @@ DIST pyside-setup-opensource-src-5.15.10.tar.xz 3583764 BLAKE2B 7e19e8f8460582012d3fec09ac99f826298cbfcd0887339c2adababb7a21bfc67a2918e91858888e89eca0a6f780929b2a7fa70c28d72ece24b7ea939ca76f56 SHA512 dc548ab870fcc5cc637de1bcb2f428527c650287fdb3720a3ade4638cc0bb12bc4a1ed87e7f6a4ec730a26742e08ceec806bcac6af91c7a01ddc0ce7980a79d2 -DIST pyside-setup-opensource-src-5.15.8.tar.xz 3582256 BLAKE2B eef6668c612c39eac4ea29db4eee0cc6eef72034babaa14525ca63cf6e02695df27bf8a6764110c4bcc77f55c7e9fb531074916a45d7ea324265e50d9a60d592 SHA512 78e19a8e8fa413bb784f16847d5774e4362409a2bd83567177b83f1391c37305d373155fb95ea569c6c483175e62a0d3f5d91a2fd5dae85d48c8047d242b9e22 DIST pyside-setup-opensource-src-5.15.9.tar.xz 3581660 BLAKE2B 65d5317f9ea55385bbe093cf43c214655effd877feed6409acc4f6f65768dcde8c94c4f29157f8d7dcb36d442c649290764706834885b08ecf9934b383b3e2a4 SHA512 cc63d64b909f1fd98b64a0bba61b278b1a5b60059168287546ee36204ede2df4317eb4ce5638a268d387e6db40fec203631fc4a48e4116a6b4a30d675bf876d3 diff --git a/dev-python/pyside2/pyside2-5.15.8-r1.ebuild b/dev-python/pyside2/pyside2-5.15.8-r1.ebuild deleted file mode 100644 index 357c365c0bda..000000000000 --- a/dev-python/pyside2/pyside2-5.15.8-r1.ebuild +++ /dev/null @@ -1,226 +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_{7,8,9,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 x86" -IUSE=" - 3d charts +concurrent datavis designer gles2-only +gui help location - multimedia +network positioning +printsupport qml quick script scripttools - 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 ) - scripttools? ( gui script widgets ) - 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-2)*: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?] - ) - script? ( =dev-qt/qtscript-${QT_PV}[scripttools?] ) - 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?] ) - 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 ) -" - -PATCHES=( - "${FILESDIR}/${PN}-5.15.2-python310.patch" - "${FILESDIR}/${PN}-5.15.2-python311.patch" - "${FILESDIR}/${PN}-5.15.2-python311-fixups.patch" -) - -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=$(usex !script) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5ScriptTools=$(usex !scripttools) - -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-${PV}/PySide2Targets-${CMAKE_BUILD_TYPE,,}.cmake" || die -} diff --git a/dev-python/scrapy/scrapy-2.8.0.ebuild b/dev-python/scrapy/scrapy-2.8.0.ebuild index c97146d0eca5..56afb79f37a1 100644 --- a/dev-python/scrapy/scrapy-2.8.0.ebuild +++ b/dev-python/scrapy/scrapy-2.8.0.ebuild @@ -30,7 +30,7 @@ RDEPEND="${PYTHON_DEPS} >=dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] dev-python/queuelib[${PYTHON_USEDEP}] - dev-python/service_identity[${PYTHON_USEDEP}] + dev-python/service-identity[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] dev-python/tldextract[${PYTHON_USEDEP}] >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx_lv2_theme/Manifest b/dev-python/sphinx_lv2_theme/Manifest index 8eb273aea0bd..d14a0addb93c 100644 --- a/dev-python/sphinx_lv2_theme/Manifest +++ b/dev-python/sphinx_lv2_theme/Manifest @@ -1,2 +1 @@ -DIST sphinx_lv2_theme-v1.2.2.tar.bz2 10221 BLAKE2B ff4c4f2e0f359b73bc63684b9120454741aafaaaad5b521a5a3bdec904f0fb390fb1e132317607f8559bd7991847dfcf2506b5462b00335a2d003835a9b33075 SHA512 94013784d1ce75ff872eb868b7cd20ef9351facf95d684bd49a4b0dfb8155aab19914dd03b5fe7c11cf42cd972ba6af6f377c8c6e2a3993622a911e9845da1cf DIST sphinx_lv2_theme-v1.4.0.tar.bz2 10368 BLAKE2B c4ef7bb51965ebecb193d13b6d3866db6234bec8387c9e532550cafb14bf404711715f60831912770998e4cd9feb21a7d3ea1d8e987e276ec644ce51f63e6be6 SHA512 fba7af83bbc7e47a3a87e7b819cd83009b4b2e04e6280efe56b0f7bc348f784a85f004b7124a5c3704329be95a0432ca690f9675e6b9330ecf493994258ddc8c diff --git a/dev-python/sphinx_lv2_theme/sphinx_lv2_theme-1.2.2.ebuild b/dev-python/sphinx_lv2_theme/sphinx_lv2_theme-1.2.2.ebuild deleted file mode 100644 index c8d7186b607a..000000000000 --- a/dev-python/sphinx_lv2_theme/sphinx_lv2_theme-1.2.2.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Minimal pure-CSS Sphinx theme using the LV2 plugin documentation style" -HOMEPAGE=" - https://gitlab.com/lv2/sphinx_lv2_theme/ - https://pypi.org/project/sphinx-lv2-theme/ -" -SRC_URI="https://gitlab.com/lv2/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" -S="${WORKDIR}/${PN}-v${PV}" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" diff --git a/dev-python/sphinxcontrib-katex/Manifest b/dev-python/sphinxcontrib-katex/Manifest index 21609995804c..ab0efc8183f0 100644 --- a/dev-python/sphinxcontrib-katex/Manifest +++ b/dev-python/sphinxcontrib-katex/Manifest @@ -1 +1,2 @@ DIST sphinxcontrib-katex-0.9.4.tar.gz 98826 BLAKE2B 8d89ba5b5e282d94f57eb976a8779c176e0ae769eb91cc03d5a44461f51f966be8c995dfc2fc7c74d28d52487a76edd8f64879b6045f5c15d4aa97e2c2eb862f SHA512 3fb66ca12a78d1a22dbb029a1c82de57ff0407da1fba8bf49be927b83c618fe7a80ef5560a1639439a6761146bc3073b4a9e52c6869d44d4d1f05cc311780519 +DIST sphinxcontrib-katex-0.9.6.tar.gz 99157 BLAKE2B 72c0be16e2670a7990c8c25b788d2050c516c64c7f288729653ba656a061d8f5152d30c671bd0ed74b3db52c1dd531b341267e3bfca2bb1d9b929238e5ac1679 SHA512 caa1671922a1a677a94687de930d8c7d53b10b2e1e6e8c84e06426ea6a6fee295605b2d99cb3b3d159f016772dae376dd638a507110ebc139387e120f2324e12 diff --git a/dev-python/sphinxcontrib-katex/sphinxcontrib-katex-0.9.6.ebuild b/dev-python/sphinxcontrib-katex/sphinxcontrib-katex-0.9.6.ebuild new file mode 100644 index 000000000000..fd8ff1e13607 --- /dev/null +++ b/dev-python/sphinxcontrib-katex/sphinxcontrib-katex-0.9.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="KaTeX Sphinx extension for rendering of math in HTML pages" +HOMEPAGE="https://github.com/hagenw/sphinxcontrib-katex" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/sphinx-4.5.0-r1[${PYTHON_USEDEP}] + doc? ( dev-python/insipid-sphinx-theme ) +" + +DOCS=() + +distutils_enable_sphinx docs + +src_prepare() { + default + sed -i -e 's/license_file/license_files/' setup.cfg || die +} + +python_install_all() { + distutils-r1_python_install_all + find "${ED}" -name '*.pth' -delete || die +} diff --git a/dev-python/tulir-telethon/Manifest b/dev-python/tulir-telethon/Manifest index 399459ebe0f0..95ce71dfa13f 100644 --- a/dev-python/tulir-telethon/Manifest +++ b/dev-python/tulir-telethon/Manifest @@ -1,2 +1,2 @@ -DIST tulir-telethon-1.28.0_alpha9.gh.tar.gz 485954 BLAKE2B 2658d9b8e64223cc7daddd531ca9c5bdec3cb0edf27949b227a8c34d3a1f6546b8136b845cc1822e643b83046742015890d405ca40f461d68aa9410fb25703e0 SHA512 7e2a375be30700b13aeae088385d19344288895c95d2262fb8764f66ffe7d145d6ade4c9e31313e7df04a5c684ae7ee0571318b6eedd519aacaf77a61037381a DIST tulir-telethon-1.29.0_alpha1.gh.tar.gz 490598 BLAKE2B d3ff45d6a18ac5673be18ff121e9151be4db8790f8ceff6ab80eb3ede089f67c336305e70340bac13609c99c53d44da7d684c510cf2055346184eb817e1fbe1e SHA512 01e8e85a485cdba047c340712a1ceaf1dec56bff936f7f76b5b709e32604c5bfd8e71cd4a30c6f6df47f5218f4bc3d96df01e36ec1608f3f76026543c1597193 +DIST tulir-telethon-1.29.0_alpha2.gh.tar.gz 491082 BLAKE2B d965e4e6116ccff86cd6a0f561bd25a0af9bee85c314cae358f47eef30e17345c1b770088875717699b584649652a136be7ccc7da370434aa545d7620a2b9ac9 SHA512 f3e97bbc1bf505866661965206f65f25224508d623bc5cffefea5743ba21c2b8c94afd60c7da2a7854e86cde52557a3609fe22c9fb888ea52ed286d555d3fdbf diff --git a/dev-python/tulir-telethon/tulir-telethon-1.28.0_alpha9-r1.ebuild b/dev-python/tulir-telethon/tulir-telethon-1.29.0_alpha2.ebuild index 4edea02c02ec..4edea02c02ec 100644 --- a/dev-python/tulir-telethon/tulir-telethon-1.28.0_alpha9-r1.ebuild +++ b/dev-python/tulir-telethon/tulir-telethon-1.29.0_alpha2.ebuild diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest index 04e97970d2bb..8e921d7e7488 100644 --- a/dev-python/ubelt/Manifest +++ b/dev-python/ubelt/Manifest @@ -1 +1,2 @@ DIST ubelt-1.2.4.gh.tar.gz 337670 BLAKE2B 4c8b1c05cbed0f28e69b43445f12881e4c619be4a513b9263a6eb4d674e56b0a869d1e78072e1e89a505a12b3b40dddbb48424bccdcfbae1a7eabf7746bc79d0 SHA512 5fbe36598a035d1504b24a06e8f0fcd1c9d0ccc238f81bfad582288aced9ebc8323e7acf2705d47e60f36513cbf665051f554cce122d75d55247b5fc122af419 +DIST ubelt-1.3.0.gh.tar.gz 345051 BLAKE2B f7019311fa432e8c520b42261cc2cf1a494029bbb627c1b868364d4f816bc6a5c55c22e9755c4302f81f5984947bb7ada07b4d0137c1fee9be99e404c744ca54 SHA512 cd63501092d63426fa6169ab87d8224342f6ad59b1d9a41f36c53fda57057a10f8d20db26502bdbcc13c803eff3054cd2da67509308cc0930e1f765fe5f1281a diff --git a/dev-python/ubelt/ubelt-1.3.0.ebuild b/dev-python/ubelt/ubelt-1.3.0.ebuild new file mode 100644 index 000000000000..923181ac3b8c --- /dev/null +++ b/dev-python/ubelt/ubelt-1.3.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="A stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress" +HOMEPAGE=" + https://github.com/Erotemic/ubelt/ + https://pypi.org/project/ubelt/ +" +SRC_URI=" + https://github.com/Erotemic/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] + >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] + dev-python/xdoctest[${PYTHON_USEDEP}] + >=dev-python/xxhash-1.0.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/test_editable_modules.py::test_import_of_editable_install + # relies on passwd home being equal to ${HOME} + ubelt/util_path.py::userhome:0 +) |
