diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-25 00:55:50 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-25 00:55:50 +0000 |
| commit | 251a0cf3a4ba7209ab5574f1989420eac448ef1a (patch) | |
| tree | e530614a91af8774d2fc6888e13fff096d85019f /dev-python | |
| parent | 17057f71ae50eb3e8c46e353de50aa00c65eb331 (diff) | |
| download | baldeagleos-repo-251a0cf3a4ba7209ab5574f1989420eac448ef1a.tar.gz baldeagleos-repo-251a0cf3a4ba7209ab5574f1989420eac448ef1a.tar.xz baldeagleos-repo-251a0cf3a4ba7209ab5574f1989420eac448ef1a.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
53 files changed, 603 insertions, 168 deletions
diff --git a/dev-python/boolean-py/boolean-py-4.0.ebuild b/dev-python/boolean-py/boolean-py-4.0.ebuild index 6e458f8a3a32..d6ca55773997 100644 --- a/dev-python/boolean-py/boolean-py-4.0.ebuild +++ b/dev-python/boolean-py/boolean-py-4.0.ebuild @@ -22,6 +22,6 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" distutils_enable_tests pytest diff --git a/dev-python/cerberus/cerberus-1.3.4-r1.ebuild b/dev-python/cerberus/cerberus-1.3.4-r1.ebuild index edb688f30caf..12f766232275 100644 --- a/dev-python/cerberus/cerberus-1.3.4-r1.ebuild +++ b/dev-python/cerberus/cerberus-1.3.4-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ISC" SLOT="0" -KEYWORDS="amd64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~riscv ~x86" PATCHES=( "${FILESDIR}"/${PN}-1.3.2_no-pytest-runner.patch diff --git a/dev-python/csscompressor/csscompressor-0.9.5-r1.ebuild b/dev-python/csscompressor/csscompressor-0.9.5-r1.ebuild index 79513869d4ea..bcdaa1e69abd 100644 --- a/dev-python/csscompressor/csscompressor-0.9.5-r1.ebuild +++ b/dev-python/csscompressor/csscompressor-0.9.5-r1.ebuild @@ -16,6 +16,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv x86" distutils_enable_tests pytest diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest index ae2aa750e06a..d06b03d91bc5 100644 --- a/dev-python/dask/Manifest +++ b/dev-python/dask/Manifest @@ -1,3 +1,4 @@ DIST dask-2022.05.0.gh.tar.gz 8658529 BLAKE2B 0b09ef38137d9c395384549fd8a3b0218ad1761ccb1816f8fc4f4af7328215716603e3f41b8cc3bf7044ff42b72eee277147b3bd03da48467cccc88f239bb2bd SHA512 15605321143f354ffb9c890823f5751131d942cc16c523b2d00bdcc752ddc5243525f7cda138091604c8f2f9c5b4a309b1efc95f483b753673df98cc8a81ce81 DIST dask-2022.05.2.gh.tar.gz 8721528 BLAKE2B 42b83ca6fe58b014d3aa90cc99dc4b9b631d6b5bb3243a2a2bd1bcfc6f9ffe5d545b7bcc43edfd3299273e105f7355fbaa9490043a12a8c303773d0e08e63d8c SHA512 1d6ce8db1c83ac22f081beec8667f35acda48578263c637ee294934c729d16a7aca4259e0dde6fed6f2dc9924490589610fc3fc4225dfe07552b15b6af20d8d5 DIST dask-2022.6.0.gh.tar.gz 8727952 BLAKE2B 060595de52ec64db83bf56d5b4c975ac22009fbe4efadd903ddafa80400e8b5706d60a47445b70f513a73cc915dc696b7ee17831f6c4aed4f55ca11bd8c4fcce SHA512 92619558dc8ed4808842cf45bad703443bfc38f2206fe15e65e5dc457040042eeefc9cd0fb16a8322c4a8972dd10b0b7250451d1883a148e2238f5bcb3f0555e +DIST dask-2022.6.1.gh.tar.gz 8729249 BLAKE2B 211beeb3960569aa1cb68a4fd9b261a417297de5dc406d50bc54342239227ea01e2158b618bd889862a7eff8bb01bb43d098937bb3911f088250957caa672d04 SHA512 6e06b63dd5c7f1d7c6c7dce867ffa42b956023b313b25245a339f698b06bea17a03cc4ead9bd5aef8ddf081750cad4df4b6b2972038315c89585221382c9e95c diff --git a/dev-python/dask/dask-2022.6.1.ebuild b/dev-python/dask/dask-2022.6.1.ebuild new file mode 100644 index 000000000000..1189a0f7728b --- /dev/null +++ b/dev-python/dask/dask-2022.6.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" +HOMEPAGE=" + https://www.dask.org/ + https://github.com/dask/dask/ + https://pypi.org/project/dask/ +" +SRC_URI=" + https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/cloudpickle-0.2.2[${PYTHON_USEDEP}] + >=dev-python/fsspec-0.6.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.15.1[${PYTHON_USEDEP}] + >=dev-python/pandas-0.25.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/partd-0.3.10[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] + >=dev-python/toolz-0.8.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/toolz[${PYTHON_USEDEP}] + test? ( + dev-python/moto[${PYTHON_USEDEP}] + dev-python/numexpr[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # another test relying on -Werror + "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" + # TODO + dask/array/tests/test_reductions.py::test_mean_func_does_not_warn + dask/tests/test_config.py::test__get_paths +) + +python_test() { + epytest -p no:flaky -m "not network" +} diff --git a/dev-python/gevent-websocket/Manifest b/dev-python/gevent-websocket/Manifest new file mode 100644 index 000000000000..251e4a5fcc8c --- /dev/null +++ b/dev-python/gevent-websocket/Manifest @@ -0,0 +1 @@ +DIST gevent-websocket-0.10.1.tar.gz 18366 BLAKE2B bf811eeabab247f97946c971aabd3e4a5cc6034f0874bdfcfbd83ebd08a276d72f70c97694da5fbbb96c988b288d45f55970949d9f4f75bbcb62c027f13aaed2 SHA512 4f25ec1646c223b89ddbb7cf4decae72cc4baa6e872443dc05994987f509068a806c8b5e135c433d631e35b3902227f0e4c89d8071aa74e24c06b0e543e8df93 diff --git a/dev-python/gevent-websocket/gevent-websocket-0.10.1.ebuild b/dev-python/gevent-websocket/gevent-websocket-0.10.1.ebuild new file mode 100644 index 000000000000..6f0a3894fed8 --- /dev/null +++ b/dev-python/gevent-websocket/gevent-websocket-0.10.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Websocket handler for the gevent pywsgi server" +HOMEPAGE="https://pypi.org/project/gevent-websocket/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" + +RDEPEND="dev-python/gevent[${PYTHON_USEDEP}]" diff --git a/dev-python/gevent-websocket/metadata.xml b/dev-python/gevent-websocket/metadata.xml new file mode 100644 index 000000000000..29792034041a --- /dev/null +++ b/dev-python/gevent-websocket/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>vowstar@gmail.com</email> + <name>Huang Rui</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest index 13ae70d4fd08..8221da66e456 100644 --- a/dev-python/grpcio-tools/Manifest +++ b/dev-python/grpcio-tools/Manifest @@ -1 +1,2 @@ DIST grpcio-tools-1.46.3.tar.gz 2230780 BLAKE2B 630be914acb522b5ceac844302d0acefdb4cd57f84a79520da5f10060d672f0e7e2bbc0d1243bfa944afe414e61f619f690d12c80fe6fb2004f4227fa90464bb SHA512 92874cead68f8dfba6ac2c7dd2231910d21283fbb9fe8b52082a0004eb9a7af312ac2c66e3dda320583deb2fccd0701da329d37a4cf0b16551e238d9421b59e0 +DIST grpcio-tools-1.47.0.tar.gz 2236500 BLAKE2B dd5d09df5ffd2fb7858ceba13237c6e616c573629822944db14ef415613e655881d0eb6d31409a874b4633cb655d38a28e3b6167c6d0ebad33d17c48f3f6afc1 SHA512 87869741ba89230d022a0f5824852b0e7bf3f48127aef378191667a7e3c2abc5cb584a91e5d8375acae963fbb72b9e233371ad3e7498a1cdd2303257fd3e44ea diff --git a/dev-python/grpcio-tools/grpcio-tools-1.47.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.47.0.ebuild new file mode 100644 index 000000000000..c0a38421f007 --- /dev/null +++ b/dev-python/grpcio-tools/grpcio-tools-1.47.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022 LiGurOs Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 multiprocessing prefix + +DESCRIPTION="Protobuf code generator for gRPC" +HOMEPAGE="https://grpc.io" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + ~dev-python/grpcio-${PV}[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND}" + +python_prepare_all() { + distutils-r1_python_prepare_all + hprefixify setup.py +} + +python_configure_all() { + export GRPC_PYTHON_BUILD_WITH_CYTHON=1 + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" +} diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index 536cdd9b40e5..ac329c268b9f 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -1 +1,2 @@ DIST grpcio-1.46.3.tar.gz 21847306 BLAKE2B ae92d569b14b49456fb7bb4adc99c29f4312e82e40e1337382a32be26160f8d6108ed5070dc33f37bcfeeca7e2aacdb1b1873e6871d2c4655bf5bff08a33f061 SHA512 34b0157b3be1a04c3d01b52e9ecdfc14c969ce0f505b0c04f5b1c0d77c2288bfaf3eaa1439af9c717570518323d7d0086406d7e44435e9738fe9e0801e3faa68 +DIST grpcio-1.47.0.tar.gz 21892877 BLAKE2B c2e131a6fa5fe5e2f7f529fe714c59eb66be66a9cda3acf0d1c7dd3dfcb2406bd20a01b18b222e6da09b7825ff66da113d98f6166e3578149b3915788905ca9c SHA512 daa345850ef0c96c00c45249e4cc281af812ed65d8e5ebcb15c2a1d801a429efa18fa66d0bce82fd4c11a7694e9ef8487aa299117dd51d1da42dd025ea7a5ed2 diff --git a/dev-python/grpcio/grpcio-1.47.0.ebuild b/dev-python/grpcio/grpcio-1.47.0.ebuild new file mode 100644 index 000000000000..10b55e7dbe6b --- /dev/null +++ b/dev-python/grpcio/grpcio-1.47.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 LiGurOs Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 multiprocessing prefix + +DESCRIPTION="High-performance RPC framework (python libraries)" +HOMEPAGE="https://grpc.io" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" +IUSE="libressl" + +RDEPEND=" + !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist(-)] ) + libressl? ( dev-libs/libressl ) + >=dev-libs/re2-0.2021.11.01:= + >=dev-python/cython-0.28.3[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + net-dns/c-ares:= + sys-libs/zlib:= +" + +DEPEND="${RDEPEND}" + +python_prepare_all() { + distutils-r1_python_prepare_all + hprefixify setup.py +} + +python_configure_all() { + # os.environ.get('GRPC_BUILD_WITH_BORING_SSL_ASM', True) + export GRPC_BUILD_WITH_BORING_SSL_ASM= + export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 + export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 + export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 + export GRPC_PYTHON_BUILD_WITH_SYSTEM_RE2=1 + export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 + export GRPC_PYTHON_BUILD_WITH_CYTHON=1 + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" +} diff --git a/dev-python/h5py/h5py-3.7.0.ebuild b/dev-python/h5py/h5py-3.7.0.ebuild index ca910e4e850f..e0836a90f11a 100644 --- a/dev-python/h5py/h5py-3.7.0.ebuild +++ b/dev-python/h5py/h5py-3.7.0.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" # disable mpi until mpi4py gets python3_8 #IUSE="examples mpi" IUSE="examples" diff --git a/dev-python/hypothesis/hypothesis-6.47.4.ebuild b/dev-python/hypothesis/hypothesis-6.47.4.ebuild index fd110a80bfde..76ae0a30c4d1 100644 --- a/dev-python/hypothesis/hypothesis-6.47.4.ebuild +++ b/dev-python/hypothesis/hypothesis-6.47.4.ebuild @@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}/hypothesis-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="cli" RDEPEND=" diff --git a/dev-python/kgb/kgb-7.0-r1.ebuild b/dev-python/kgb/kgb-7.0-r1.ebuild index 0be2ac7e9013..ec2e8f34a7cc 100644 --- a/dev-python/kgb/kgb-7.0-r1.ebuild +++ b/dev-python/kgb/kgb-7.0-r1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" distutils_enable_tests pytest diff --git a/dev-python/license-expression/license-expression-30.0.0.ebuild b/dev-python/license-expression/license-expression-30.0.0.ebuild index 3a1b41011a26..3b59bb05f1a8 100644 --- a/dev-python/license-expression/license-expression-30.0.0.ebuild +++ b/dev-python/license-expression/license-expression-30.0.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" >=dev-python/boolean-py-4.0[${PYTHON_USEDEP}] diff --git a/dev-python/mamba/mamba-0.11.2.ebuild b/dev-python/mamba/mamba-0.11.2.ebuild index 0c2609395120..4b16785b1b6c 100644 --- a/dev-python/mamba/mamba-0.11.2.ebuild +++ b/dev-python/mamba/mamba-0.11.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{7,8,9,10} ) inherit distutils-r1 DESCRIPTION="Python test runner born under the banner of Behavior Driven Development" -HOMEPAGE="https://nestorsalceda.github.io/mamba" +HOMEPAGE="https://nestorsalceda.com/mamba/" SRC_URI="https://github.com/nestorsalceda/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" diff --git a/dev-python/manuel/Manifest b/dev-python/manuel/Manifest index 49d752317b50..4a94990aabb3 100644 --- a/dev-python/manuel/Manifest +++ b/dev-python/manuel/Manifest @@ -1 +1,2 @@ DIST manuel-1.11.2.tar.gz 51846 BLAKE2B 0650c9db757a7e8bd0ba12dcdfda8ff071107d460fab7d24715796e477960ebe41375a10cd83a1c7881c76e6fa1e7cdd5cda383be75adffeea7e1cd6d763df13 SHA512 bbfd3ca58ccb0fb40ecbf54a5be0e73989e93ec026b8c686a7ef4e746c650ffed6f2fc5f119fe58e7c13a4a13cacb8c568384a69b1068413ab6bd6f01664a72f +DIST manuel-1.12.4.tar.gz 45369 BLAKE2B e15f9261854fbad8ee1e1dc8645ec286a212c460a78fff1576b6886d8bf462ffe9a5484338fd9efc2bf053a7689e16b08de55f763ae319e66a363c5c28cf2a60 SHA512 cd65307f2ca94e66d88bc0c7c75702d49f505b358ebb812fd20906036ba10f2d1d11d2d69404b88c5f10b584dea05a988b5dc8ba07210b9d20ebd8a11b701633 diff --git a/dev-python/manuel/manuel-1.12.4.ebuild b/dev-python/manuel/manuel-1.12.4.ebuild new file mode 100644 index 000000000000..93853fc17364 --- /dev/null +++ b/dev-python/manuel/manuel-1.12.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="Lets you mix and match traditional doctests with custom test syntax" +HOMEPAGE=" + https://github.com/benji-york/manuel/ + https://pypi.org/project/manuel/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests setup.py + +src_prepare() { + # unused rdep + sed -e "/'setuptools'/d" -i setup.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/markdown-it-py/markdown-it-py-2.1.0.ebuild b/dev-python/markdown-it-py/markdown-it-py-2.1.0.ebuild index 17a7726c0928..8b2d69ba88bf 100644 --- a/dev-python/markdown-it-py/markdown-it-py-2.1.0.ebuild +++ b/dev-python/markdown-it-py/markdown-it-py-2.1.0.ebuild @@ -3,13 +3,16 @@ EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10} ) DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + inherit distutils-r1 DESCRIPTION="Python port of markdown-it, Markdown parser" -HOMEPAGE="https://pypi.org/project/markdown-it-py/ - https://github.com/executablebooks/markdown-it-py" +HOMEPAGE=" + https://pypi.org/project/markdown-it-py/ + https://github.com/executablebooks/markdown-it-py/ +" SRC_URI=" https://github.com/executablebooks/markdown-it-py/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz diff --git a/dev-python/mdit-py-plugins/mdit-py-plugins-0.3.0.ebuild b/dev-python/mdit-py-plugins/mdit-py-plugins-0.3.0.ebuild index b5198bb7b5f6..3da017a0b167 100644 --- a/dev-python/mdit-py-plugins/mdit-py-plugins-0.3.0.ebuild +++ b/dev-python/mdit-py-plugins/mdit-py-plugins-0.3.0.ebuild @@ -3,13 +3,16 @@ EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10} ) DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + inherit distutils-r1 DESCRIPTION="Collection of plugins for markdown-it-py" -HOMEPAGE="https://pypi.org/project/mdit-py-plugins/ - https://github.com/executablebooks/mdit-py-plugins" +HOMEPAGE=" + https://pypi.org/project/mdit-py-plugins/ + https://github.com/executablebooks/mdit-py-plugins/ +" SRC_URI=" https://github.com/executablebooks/mdit-py-plugins/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz diff --git a/dev-python/mdurl/mdurl-0.1.1.ebuild b/dev-python/mdurl/mdurl-0.1.1.ebuild index 3045da709c46..314afb4409ec 100644 --- a/dev-python/mdurl/mdurl-0.1.1.ebuild +++ b/dev-python/mdurl/mdurl-0.1.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index c3de0f7ecd65..9e06c8309a69 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -5,3 +5,4 @@ DIST mkdocs-material-8.3.3.gh.tar.gz 8283580 BLAKE2B aa6dc9e07b0a7fcb6fd598f4bef DIST mkdocs-material-8.3.4.gh.tar.gz 8311720 BLAKE2B df2b01fa36b49e33be95d67935b24361f1d87394f118b51c51e4b822b8975dc41530d3e1cb87c7ebeb21dafb6494664730cdf96608af5dd5b83fc8715971dd92 SHA512 453e866c1dac643c9347573b3412642a1eadbb5e1087170bcd8ada57506d53d59bc52072ab8a6ac034feabacd09a47f3d32b5f7f3b0535e98d7ab3bf29733af0 DIST mkdocs-material-8.3.6.gh.tar.gz 8312956 BLAKE2B c4a6603a23adb882c404356234b10f9a41159424534f1eed4d407381ae8bad0c50adc2d92670e33a52e0e946fdcf0a5a02ae74b25e6ef7439cdb57f178eab313 SHA512 94ec949c133d09b166326490ee8da4c539ded266aeabdd46970596df7da5607dc06866e618cdbe1694a8e1cd1ba0202a3fbb9da90cc5862f4324551c3a4e4154 DIST mkdocs-material-8.3.7.gh.tar.gz 8202111 BLAKE2B 1a30a3d4de788adb3b0129458d9c3ad14f16f40c8109f8b31cf15cb285cd5ad58e8eea529a8bc74ba8ef9342589ae2e22a561e01e1d0940ac77e673232557caf SHA512 766bb25d4f6a0332bd7ebb473b846b45a006e44335cf0b5b57024ef1f77f5ca173ad3fea5041ce9bfb777d2da2249907f3c4b921d41686fe430ed43c158e8780 +DIST mkdocs-material-8.3.8.gh.tar.gz 8318363 BLAKE2B 5b97026e96e28058e7d7081db9da92bc4457e8e7e022e4201c558c1193c5ff293f85ec576cb46db40de24c301f73a614217062a6bee2835fedab71c362e89a96 SHA512 216ae887463e67251285b788ff298db504ce65043337707a2f54dc3ce31f3461c90126a86c506c709592b3e3876934685a97e68a9c58ac0a4b6be480bb3b65b8 diff --git a/dev-python/mkdocs-material/mkdocs-material-8.3.8.ebuild b/dev-python/mkdocs-material/mkdocs-material-8.3.8.ebuild new file mode 100644 index 000000000000..c6c3069f44ba --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-8.3.8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 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} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jinja-2.11.1[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.3.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.12[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-9.4[${PYTHON_USEDEP}] +" + +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=">=dev-python/mkdocs-material-extensions-1.0.3[${PYTHON_USEDEP}]" diff --git a/dev-python/myst_parser/myst_parser-0.18.0.ebuild b/dev-python/myst_parser/myst_parser-0.18.0.ebuild index ff44e9a679f2..d4f74e94d024 100644 --- a/dev-python/myst_parser/myst_parser-0.18.0.ebuild +++ b/dev-python/myst_parser/myst_parser-0.18.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 @@ -43,10 +43,19 @@ BDEPEND=" ) " -EPYTEST_DESELECT=( - # Unimportant tests needing a new dep linkify - tests/test_renderers/test_myst_config.py::test_cmdline - tests/test_sphinx/test_sphinx_builds.py::test_extended_syntaxes -) - distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Unimportant tests needing a new dep linkify + tests/test_renderers/test_myst_config.py::test_cmdline + tests/test_sphinx/test_sphinx_builds.py::test_extended_syntaxes + ) + + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + # bad test relying on exact exception messages + "tests/test_renderers/test_include_directive.py::test_errors[9-Non-existent path:]" + ) + + epytest +} diff --git a/dev-python/pdm-pep517/pdm-pep517-0.12.7.ebuild b/dev-python/pdm-pep517/pdm-pep517-0.12.7.ebuild index 845cc21c1891..773c078ae24f 100644 --- a/dev-python/pdm-pep517/pdm-pep517-0.12.7.ebuild +++ b/dev-python/pdm-pep517/pdm-pep517-0.12.7.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] diff --git a/dev-python/pydiffx/pydiffx-1.0.1-r1.ebuild b/dev-python/pydiffx/pydiffx-1.0.1-r1.ebuild index 7ff27d27a08a..af2a3ec5e25b 100644 --- a/dev-python/pydiffx/pydiffx-1.0.1-r1.ebuild +++ b/dev-python/pydiffx/pydiffx-1.0.1-r1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P}/python LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" RDEPEND=" dev-python/six[${PYTHON_USEDEP}] diff --git a/dev-python/pyghmi/Manifest b/dev-python/pyghmi/Manifest index 24851fd604b5..8a679aa9fb7b 100644 --- a/dev-python/pyghmi/Manifest +++ b/dev-python/pyghmi/Manifest @@ -1,2 +1,3 @@ DIST pyghmi-1.5.47.tar.gz 243783 BLAKE2B 4611df2616c7681c10664b645969b40f85a41ea2f16c3bcd4123230e90087903e6d7265b0147d93f994a4af32a77750685230d4e977418ba129a3e2093f8065c SHA512 f4122537488ca05035603f15106646e539c5081ee71ba3fc1f37e8175ffe98dbbc59446fa4683816a4211b90bb9f82adea4c5d42e4ce8b2b301c35f862262394 DIST pyghmi-1.5.48.tar.gz 243927 BLAKE2B 8395aa3bbba752654c2ad73f76735370f31f9548f91e7e0bbb3e52afd2d67a00b316f7e1e25a49ad16004308a635104fa57a00a6bed63639068de86d96e44316 SHA512 f3ee4d44504b2fa5950817e1957ac23c666af6ba36b0ba65dafa5b42036d12d204accf996c75947ecdb5f9533025b9b0d17b0e96612019d622fee678fd0ff592 +DIST pyghmi-1.5.49.tar.gz 244142 BLAKE2B f35b483cc4d48c5bc3fe6bd5c6ac3ea320d7c131a0e77f8ff8af1d14ecdc38972170d93b830070ab8c2d27ec8b8f1607ea0c065af4ad402bd0ee2e25307b9658 SHA512 9c8ce9ddf61b613cba59a49af4f5ebc40e37f83debf10854d2781f6b47fb0fff058cb9f784ed2d527f84ed1bad7c12acb97460fbab6a8552876510634c1bf5dd diff --git a/dev-python/pyghmi/pyghmi-1.5.49.ebuild b/dev-python/pyghmi/pyghmi-1.5.49.ebuild new file mode 100644 index 000000000000..3f4d5d210c90 --- /dev/null +++ b/dev-python/pyghmi/pyghmi-1.5.49.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="A pure python implementation of IPMI protocol" +HOMEPAGE=" + https://opendev.org/x/pyghmi/ + https://pypi.org/project/pyghmi/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] + dev-python/pbr[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.6.5[${PYTHON_USEDEP}] + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/pytest-datadir/pytest-datadir-1.3.1-r1.ebuild b/dev-python/pytest-datadir/pytest-datadir-1.3.1-r1.ebuild index 7440cf7957cd..494d2a6e644c 100644 --- a/dev-python/pytest-datadir/pytest-datadir-1.3.1-r1.ebuild +++ b/dev-python/pytest-datadir/pytest-datadir-1.3.1-r1.ebuild @@ -4,18 +4,24 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + inherit distutils-r1 DESCRIPTION="Pytest plugin for manipulating test data directories and files" -HOMEPAGE="https://github.com/gabrielcnr/pytest-datadir" +HOMEPAGE=" + https://github.com/gabrielcnr/pytest-datadir/ + https://pypi.org/project/pytest-datadir/ +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" distutils_enable_tests pytest diff --git a/dev-python/pytest-param-files/pytest-param-files-0.3.4.ebuild b/dev-python/pytest-param-files/pytest-param-files-0.3.4.ebuild index ba01c34a9b66..bd8906dd3d13 100644 --- a/dev-python/pytest-param-files/pytest-param-files-0.3.4.ebuild +++ b/dev-python/pytest-param-files/pytest-param-files-0.3.4.ebuild @@ -3,13 +3,16 @@ EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10} ) DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + inherit distutils-r1 DESCRIPTION="Pytest parametrize decorators from external files." -HOMEPAGE="https://pypi.org/project/pytest_param_files/ - https://github.com/chrisjsewell/pytest-param-files" +HOMEPAGE=" + https://github.com/chrisjsewell/pytest-param-files/ + https://pypi.org/project/pytest_param_files/ +" SRC_URI=" https://github.com/chrisjsewell/pytest-param-files/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz @@ -19,6 +22,8 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" distutils_enable_tests pytest diff --git a/dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild index bd22820f7754..0f9e5ad69408 100644 --- a/dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild +++ b/dev-python/pytest-regressions/pytest-regressions-2.3.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/pytoolconfig/pytoolconfig-1.1.2.ebuild b/dev-python/pytoolconfig/pytoolconfig-1.1.2.ebuild index 520f3afba7b3..145c5c19b07e 100644 --- a/dev-python/pytoolconfig/pytoolconfig-1.1.2.ebuild +++ b/dev-python/pytoolconfig/pytoolconfig-1.1.2.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/rope/rope-1.2.0.ebuild b/dev-python/rope/rope-1.2.0.ebuild index 1be00bb73a32..f9de617b6edf 100644 --- a/dev-python/rope/rope-1.2.0.ebuild +++ b/dev-python/rope/rope-1.2.0.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" IUSE="doc" RDEPEND=" diff --git a/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r2.ebuild b/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r2.ebuild index 1f69e4242022..4545f8c46a48 100644 --- a/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r2.ebuild +++ b/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] diff --git a/dev-python/shiboken2/files/shiboken2-5.15.2-numpy-1.23.patch b/dev-python/shiboken2/files/shiboken2-5.15.2-numpy-1.23.patch new file mode 100644 index 000000000000..6cd9feab800b --- /dev/null +++ b/dev-python/shiboken2/files/shiboken2-5.15.2-numpy-1.23.patch @@ -0,0 +1,28 @@ +Backport of https://code.qt.io/cgit/pyside/pyside-setup.git/commit/?id=1422cf4a7f277fb13fd209f24a90d6c02641497d. + +From 1422cf4a7f277fb13fd209f24a90d6c02641497d Mon Sep 17 00:00:00 2001 +From: Friedemann Kleint <Friedemann.Kleint@qt.io> +Date: Thu, 23 Jun 2022 10:44:01 +0200 +Subject: libshiboken: Fix build with numpy 1.23.0 + +Pick-to: 6.3 6.2 5.15 +Change-Id: I885c332d6c948820140946c73ae1926e88834143 +Reviewed-by: Christian Tismer <tismer@stackless.com> +--- a/libshiboken/sbknumpyarrayconverter.cpp ++++ b/libshiboken/sbknumpyarrayconverter.cpp +@@ -116,8 +116,13 @@ std::ostream &operator<<(std::ostream &str, PyArrayObject *o) + str << " NPY_ARRAY_NOTSWAPPED"; + if ((flags & NPY_ARRAY_WRITEABLE) != 0) + str << " NPY_ARRAY_WRITEABLE"; +- if ((flags & NPY_ARRAY_UPDATEIFCOPY) != 0) +- str << " NPY_ARRAY_UPDATEIFCOPY"; ++#if NPY_VERSION >= 0x00000010 // NPY_1_23_API_VERSION ++ if ((flags & NPY_ARRAY_WRITEBACKIFCOPY) != 0) ++ str << " NPY_ARRAY_WRITEBACKIFCOPY"; ++#else ++ if ((flags & NPY_ARRAY_UPDATEIFCOPY) != 0) ++ str << " NPY_ARRAY_UPDATEIFCOPY"; ++#endif + } else { + str << '0'; + } diff --git a/dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild b/dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild index 29b7c2f7420d..6e71bc3c9587 100644 --- a/dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild +++ b/dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild @@ -60,7 +60,11 @@ DEPEND="${RDEPEND} " DOCS=( AUTHORS ) -PATCHES=( "${FILESDIR}/${P}-python310.patch" ) + +PATCHES=( + "${FILESDIR}/${P}-python310.patch" + "${FILESDIR}/${P}-numpy-1.23.patch" +) # Ensure the path returned by get_llvm_prefix() contains clang as well. llvm_check_deps() { diff --git a/dev-python/sqlalchemy-migrate/Manifest b/dev-python/sqlalchemy-migrate/Manifest new file mode 100644 index 000000000000..f97e9647ceb0 --- /dev/null +++ b/dev-python/sqlalchemy-migrate/Manifest @@ -0,0 +1 @@ +DIST sqlalchemy-migrate-0.13.0.tar.gz 131424 BLAKE2B 925ee05144360c469d714342005c8b79dc0f1ef7c07ec641c00ec39e4aa18046b3afa7524f4e5afeb292cf78b2b85bac714f44102e0daf799ce09f0af40f3047 SHA512 1ca826a5d80c1373ffc4b2366dfb6d5dd24204964462873451c97d8ff4d75fc6c63f663c4769b7f6cc00002f6a98d425f41d759e5c010b4b81a8b74ffbb102b6 diff --git a/dev-python/sqlalchemy-migrate/files/sqlalchemy-migrate-0.13-disable-sphinx-exts.patch b/dev-python/sqlalchemy-migrate/files/sqlalchemy-migrate-0.13-disable-sphinx-exts.patch new file mode 100644 index 000000000000..ad11435a8434 --- /dev/null +++ b/dev-python/sqlalchemy-migrate/files/sqlalchemy-migrate-0.13-disable-sphinx-exts.patch @@ -0,0 +1,13 @@ +intersphinx: prevent resource downloads at build time\ +--- a/doc/source/conf.py ++++ b/doc/source/conf.py +@@ -28,8 +28,7 @@ sys.path.append(os.path.dirname(os.path.abspath('.'))) + + # Add any Sphinx extension module names here, as strings. They can be extensions + # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. +-extensions = ['sphinx.ext.autodoc', +- 'sphinx.ext.intersphinx'] ++extensions = ['sphinx.ext.autodoc'] + + # link to sqlalchemy docs + intersphinx_mapping = { diff --git a/dev-python/sqlalchemy-migrate/metadata.xml b/dev-python/sqlalchemy-migrate/metadata.xml new file mode 100644 index 000000000000..29792034041a --- /dev/null +++ b/dev-python/sqlalchemy-migrate/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>vowstar@gmail.com</email> + <name>Huang Rui</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sqlalchemy-migrate/sqlalchemy-migrate-0.13.0.ebuild b/dev-python/sqlalchemy-migrate/sqlalchemy-migrate-0.13.0.ebuild new file mode 100644 index 000000000000..5447c1979a9f --- /dev/null +++ b/dev-python/sqlalchemy-migrate/sqlalchemy-migrate-0.13.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="SQLAlchemy Schema Migration Tools" +HOMEPAGE="https://pypi.org/project/sqlalchemy-migrate/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +CDEPEND=">=dev-python/pbr-1.8.0[${PYTHON_USEDEP}]" +DEPEND=" + ${CDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND=">=dev-python/sqlalchemy-0.9.6[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + >=dev-python/six-1.7.0[${PYTHON_USEDEP}] + dev-python/sqlparse[${PYTHON_USEDEP}] + >=dev-python/tempita-0.4[${PYTHON_USEDEP}]" +# Testsuite requires a missing dep and errors with poor report output + +PATCHES=( "${FILESDIR}/${PN}-0.13-disable-sphinx-exts.patch" ) + +python_compile_all() { + if use doc; then + einfo ""; einfo "The build seeks to import modules from an installed state of the package" + einfo "simply ignore all warnings / errors of failure to import module migrate.<module>"; einfo "" + emake -C doc/source html + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/source/_build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 8fe3b9337dd7..a56e1d2b1fcd 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -1,3 +1,4 @@ DIST SQLAlchemy-1.4.36.tar.gz 8146415 BLAKE2B 62560ac2f2c542d60588a24eef225d39f1b6c4cf6feddfac4631e06731206a837cc0f76b88b40c73600361243857e9e1768b4b4ac0bf5ee8e28736d81028ae58 SHA512 c9bb38ce5eeb7817727e93695f10cf5c247710b809f3298b233ed8be4e2cc08e5a14581d0c5aa2af02d7a49f036fe3a0bb7a88120b58bdce0f115016bdaf2c77 DIST SQLAlchemy-1.4.37.tar.gz 8155965 BLAKE2B cf21c2ab73a5ba2576a857a12f30ea516265af946e25c1b137e57019d862bf04f4757b4755cee28e6f53642d1f1b58f43c99cd1c69f87640e47ac8a1d1ff8d28 SHA512 3f8a814f9bb6fa273f7b210c4567bf7411d0cf2e5caf010a5387fb946063704c342072145a858fb906545dfb1b959155d041e6073273674e51715356fc1f39e6 DIST SQLAlchemy-1.4.38.tar.gz 8211925 BLAKE2B c65a8bddfc77bb6262e24a9b191344da312641dcd759de8541439e13cc532d9c2ef92da50c0b46ace60f2fd8582dfa6ea37b2f393fd979b3f122d962c688ede8 SHA512 4f54873fe2ba14b00cfa900251bc81d4fbbd62ed2b0f5f35bd3d5157796b869a3b7a9acf162f65da3f05b4b43cfc8bba437600f7fb81887a1839043a6ad516b4 +DIST SQLAlchemy-1.4.39.tar.gz 8212369 BLAKE2B d65993c4342c2cb5bc76ea4ecc986d0ec521a6eb785604ceeca0c9c22187e4af29fc8bd940a130162ca9dd5c30d58b5d0999472285382c6f6bed3863ff9f20cd SHA512 a7c6b73250044289add492b2d7df9010f3b9a3a5126c8b3448d7339cf743c4be3f1c08d238107bb12c579b2bbd7d20e216e331d3ee10dcf79c0f23ca44d496af diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.39.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.39.ebuild new file mode 100644 index 000000000000..6e9d2ad0a598 --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-1.4.39.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2022 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} pypy3 ) +PYTHON_REQ_USE="sqlite?" + +inherit distutils-r1 optfeature + +MY_PN="SQLAlchemy" +MY_P="${MY_PN}-${PV/_beta/b}" + +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE=" + https://www.sqlalchemy.org/ + https://pypi.org/project/SQLAlchemy/ + https://github.com/sqlalchemy/sqlalchemy/ +" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples +sqlite test" + +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # hardcode call counts specific to Python versions + test/aaa_profiling +) + +src_prepare() { + sed -i -e '/greenlet/d' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # warning tests are unreliable + test/base/test_warnings.py + ) + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access + ) + if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-_exclusions0]" + "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" + ) + fi + + # upstream's test suite is horribly hacky; it relies on disabling + # the warnings plugin and turning warnings into errors; this also + # means that any DeprecationWarnings from third-party plugins cause + # everything to explode + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS= + # upstream automagically depends on xdist when it is importable + if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then + PYTEST_PLUGINS+=xdist.plugin + fi + epytest +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "asyncio support" dev-python/greenlet + optfeature "MySQL support" \ + dev-python/mysqlclient \ + dev-python/pymysql \ + dev-python/mysql-connector-python + optfeature "postgresql support" dev-python/psycopg:2 +} diff --git a/dev-python/uri_template/Manifest b/dev-python/uri_template/Manifest index 687bf0c895a0..24363e96fbc0 100644 --- a/dev-python/uri_template/Manifest +++ b/dev-python/uri_template/Manifest @@ -1,2 +1 @@ -DIST uri_template-v1.1.0.tar.gz 18014 BLAKE2B 01ac4439b6661d0d1e7adb5b5ebcc594497cdaeef24b33cbfc8a26f607e779a72ae20838dbbcce28278886c87df475adfd53c73287a4768d848f65b95ba2ce58 SHA512 b6d34931e750acc6c160e7157fc000984acc099023e9794163777679cbe706b8a646bab89e82171c0318827b7a7b9cfcfb997768120cabcf36e7982214321665 DIST uri_template-v1.2.0.tar.gz 18284 BLAKE2B cf857ccd8496111f61fb95af020514f1c484e5c3ff19829f28bc2dc112887fe276dac68aa21e0d092d42a22319e8d6ac8aff95c734aadd8417c56f57b0076256 SHA512 81b046bbc2dc4d5c0b40a76f13713c10e69d803e3d9da13ab69cc6d40569ef0a39c786a6637a66651a5c3d3e68807f923ad48a7feaf898ae3ca6fd03c0e68c37 diff --git a/dev-python/uri_template/uri_template-1.1.0.ebuild b/dev-python/uri_template/uri_template-1.1.0.ebuild deleted file mode 100644 index a5bcd88c6851..000000000000 --- a/dev-python/uri_template/uri_template-1.1.0.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 2022 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} pypy3 ) - -inherit distutils-r1 - -MY_P="${PN}-v${PV}" -DESCRIPTION="URI Template expansion in strict adherence to RFC 6570" -HOMEPAGE="https://gitlab.linss.com/open-source/uri_template/" -SRC_URI="https://gitlab.linss.com/open-source/${PN}/-/archive/v${PV}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -python_test() { - "${EPYTHON}" "test.py" || die "Tests fail with ${EPYTHON}." -} diff --git a/dev-python/uri_template/uri_template-1.2.0.ebuild b/dev-python/uri_template/uri_template-1.2.0-r1.ebuild index d916bd1e2df6..84a1f09c858f 100644 --- a/dev-python/uri_template/uri_template-1.2.0.ebuild +++ b/dev-python/uri_template/uri_template-1.2.0-r1.ebuild @@ -23,6 +23,12 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +src_prepare() { + distutils-r1_src_prepare + # fix the version number + sed -i -e "/version/s:0\.0\.0:${PV}:" setup.py || die +} + python_test() { "${EPYTHON}" "test.py" || die "Tests fail with ${EPYTHON}." } diff --git a/dev-python/watchfiles/Manifest b/dev-python/watchfiles/Manifest index 8d842b6bb81e..f875ad9edfd9 100644 --- a/dev-python/watchfiles/Manifest +++ b/dev-python/watchfiles/Manifest @@ -38,7 +38,6 @@ DIST unicode-xid-0.2.2.crate 14955 BLAKE2B 6c6da49ac08dbd8b3248272224d6bff96b9cd DIST unindent-0.1.8.crate 8326 BLAKE2B 3123c6b540b152d89cc7a9a76ff1315549f973c6a26adc6ca1b40518973fcc95a9f8da94d1c52ee551f2870181a265aac7e4339a3d46ba5280021b49ad842df2 SHA512 7752f4a29306b3c43f768bc400d610d1537457b22cceae8a5ebba31c857e219dc433a10a676d3cf94316a7cd6c7013c8960c825c6f1f9db5a3c2edd0a60591a8 DIST walkdir-2.3.2.crate 23516 BLAKE2B 473f2b51aafd6ac17e5c3da8d545d179b31486b3a65ab39fbd8bd7fbb2ebcc24bebf01781200a26a68f0b1cb464f5763a919aead3b03eba5a7e1be6efec5500b SHA512 6c44071354faf37720ec4117ded34c8d530489542ee107ac26a7a56ef4a882b9003e22e84f1d61f6078643521343e35aa1f7b57c838779e78e5937a667bf82da DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032f885cc50c4f8bf7dd70fd5cbc438de349838370d8699e9627b0a4fc76030ea9fe6d508f41d0c9928a875fdbc47e73bfb17241cf7b155 SHA512 043500ab28cd9cb779475255da5d109ebab7fccca72b64873dc28d77bc5a157ba8d96b9e8f05223b5b36c7089bb7b4ba87657fc69bac16b78972f897294a865f -DIST watchfiles-0.14.1.gh.tar.gz 38276 BLAKE2B 1007b4822774b6d04ffa4ea61b1e30a4c2da358e6561891599177f4060c606dc4f46f15a8fa40ff22e292440eb67ec33eaf7048db973fc8ea9c90d6f6adb9e14 SHA512 098ca0d3a7e2eafd3706e08753ac7b242bcf1aa68609a89531405ce7c69cb6ba205c5d72d28064acf9963c81e969e8ba753510d27ef525e007e1943bf9d07c1e DIST watchfiles-0.15.0.gh.tar.gz 38496 BLAKE2B b748904540c28bac3a3be3a1a236352bdba316d1230b196ce1d0ec90324299664c065d1644f7eeafa232e197493aba5b8685db5583c9899f57262651f0e53dc7 SHA512 1398c3337cd0f36bfd489dbca4c968bae2c23949d43567777411c1e9773ac633962164d61dcc84d462adba9d79e108ec98fc31866f364bfa72c26599d12a6fdc DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 diff --git a/dev-python/watchfiles/watchfiles-0.14.1.ebuild b/dev-python/watchfiles/watchfiles-0.14.1.ebuild deleted file mode 100644 index 27e5414fd4f1..000000000000 --- a/dev-python/watchfiles/watchfiles-0.14.1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 2022 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} pypy3 ) - -CRATES=" - autocfg-1.1.0 - bitflags-1.3.2 - cfg-if-1.0.0 - crossbeam-channel-0.5.4 - crossbeam-utils-0.8.8 - filetime-0.2.16 - fsevent-sys-4.1.0 - indoc-1.0.4 - inotify-0.9.6 - inotify-sys-0.1.5 - kqueue-1.0.5 - kqueue-sys-1.0.3 - lazy_static-1.4.0 - libc-0.2.124 - lock_api-0.4.7 - log-0.4.16 - mio-0.8.2 - miow-0.3.7 - notify-5.0.0-pre.15 - ntapi-0.3.7 - once_cell-1.10.0 - parking_lot-0.12.0 - parking_lot_core-0.9.2 - proc-macro2-1.0.37 - pyo3-0.16.4 - pyo3-build-config-0.16.4 - pyo3-ffi-0.16.4 - pyo3-macros-0.16.4 - pyo3-macros-backend-0.16.4 - quote-1.0.18 - redox_syscall-0.2.13 - same-file-1.0.6 - scopeguard-1.1.0 - smallvec-1.8.0 - syn-1.0.91 - target-lexicon-0.12.3 - unicode-xid-0.2.2 - unindent-0.1.8 - walkdir-2.3.2 - wasi-0.11.0+wasi-snapshot-preview1 - winapi-0.3.9 - winapi-i686-pc-windows-gnu-0.4.0 - winapi-util-0.1.5 - winapi-x86_64-pc-windows-gnu-0.4.0 - windows-sys-0.34.0 - windows_aarch64_msvc-0.34.0 - windows_i686_gnu-0.34.0 - windows_i686_msvc-0.34.0 - windows_x86_64_gnu-0.34.0 - windows_x86_64_msvc-0.34.0 -" - -inherit cargo distutils-r1 - -DESCRIPTION="Simple, modern file watching and code reload in Python" -HOMEPAGE=" - https://pypi.org/project/watchfiles/ - https://github.com/samuelcolvin/watchfiles/ -" -SRC_URI=" - https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - $(cargo_crate_uris ${CRATES}) -" - -LICENSE="MIT" -# crates -LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions Artistic-2 BSD" -LICENSE+=" CC0-1.0 ISC MIT Unlicense" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~x86" - -RDEPEND=" - =dev-python/anyio-3*[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - dev-python/dirty-equals[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -# enjoy Rust -QA_FLAGS_IGNORED=".*/_rust_notify.*" - -distutils_enable_tests pytest - -python_test() { - rm -rf watchfiles || die - epytest -} diff --git a/dev-python/watchfiles/watchfiles-0.15.0.ebuild b/dev-python/watchfiles/watchfiles-0.15.0-r1.ebuild index f15de049f049..09b761cc42da 100644 --- a/dev-python/watchfiles/watchfiles-0.15.0.ebuild +++ b/dev-python/watchfiles/watchfiles-0.15.0-r1.ebuild @@ -96,6 +96,13 @@ QA_FLAGS_IGNORED=".*/_rust_notify.*" distutils_enable_tests pytest +src_prepare() { + distutils-r1_src_prepare + + # fix version number + sed -i -e "/^version/s:0\.0\.0:${PV}:" Cargo.toml || die +} + python_test() { rm -rf watchfiles || die epytest diff --git a/dev-python/watchgod/watchgod-0.8.2.ebuild b/dev-python/watchgod/watchgod-0.8.2-r1.ebuild index 76a4eddc5ab1..c55755ddf780 100644 --- a/dev-python/watchgod/watchgod-0.8.2.ebuild +++ b/dev-python/watchgod/watchgod-0.8.2-r1.ebuild @@ -39,10 +39,12 @@ BDEPEND=" distutils_enable_tests pytest src_prepare() { - # increase timeout - sed -e '/sleep/s/0.01/1.0/' -i tests/test_watch.py || die - distutils-r1_src_prepare + + # increase timeout + sed -i -e '/sleep/s/0.01/1.0/' tests/test_watch.py || die + # fix version number in metadata + sed -i -e "s:0\.0\.dev0:${PV}:" watchgod/version.py || die } python_test() { diff --git a/dev-python/xcffib/xcffib-0.11.1-r1.ebuild b/dev-python/xcffib/xcffib-0.11.1-r1.ebuild index 954c541ed1dc..97de4293a4e2 100644 --- a/dev-python/xcffib/xcffib-0.11.1-r1.ebuild +++ b/dev-python/xcffib/xcffib-0.11.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" DEPEND="x11-libs/libxcb" RDEPEND=" diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 8682b5dfb846..437c3a500b56 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,2 +1,3 @@ DIST xmlschema-1.11.1.tar.gz 454932 BLAKE2B b80885b7bde87115caece3cdcd036c5ef7cc225acb01ca610c97b2759142a6deb1c29e9fbaf08f60ef4ec80ac4d7dd4b382dd5cd0b74f0f766101664a3cb7fca SHA512 58800377e4bdec70608286057093827fd72bce82117424753a37632c2dbccf2b4e354bfa6e62c3dec06ec98ff262eff258e18c0c6e6af2b5fd520ad11118531c DIST xmlschema-1.11.2.tar.gz 476302 BLAKE2B 61d194ae9d269c2bb8231b8ce9068cf0fb0019022abdb24748c4df8ede8821e1c197ea040e07bd267c060944ea1dcd4ada300995287f47e617daf2f923c54abc SHA512 777743e1a0711ceb3aa752b33d65b79e56252284cb911c504751152a86281fba9a39e96271fd8058093c65d69badecdd8e30d836578c9138ff988843fbe9b90c +DIST xmlschema-1.11.3.tar.gz 477008 BLAKE2B 30e0802e271bf82a1baa8f38317048f4ccda994e2dd04c2fdbf70e4240c2227e821bd416326347d0817b27635dde2c67f446adde2cdf443301046f15ac84175c SHA512 5920573900f0cfc159e3239883aaada18502ac0d33dc7a9aaaf4ab63b41f6d37ba68989aa931e0e2e3e546d335788cb55b1d350d5856d06f12904549cf3cb723 diff --git a/dev-python/xmlschema/xmlschema-1.11.3.ebuild b/dev-python/xmlschema/xmlschema-1.11.3.ebuild new file mode 100644 index 000000000000..34fc66f8f9e5 --- /dev/null +++ b/dev-python/xmlschema/xmlschema-1.11.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019-2022 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="An XML Schema validator and decoder" +HOMEPAGE=" + https://github.com/sissaschool/xmlschema/ + https://pypi.org/project/xmlschema/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/elementpath-2.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" tests/test_all.py -v || + die "Tests fail with ${EPYTHON}" +} |
