diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-08-02 05:59:13 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-08-02 05:59:13 +0000 |
| commit | d875cc4762810dfcc17470608f1c5eb7d7c341f7 (patch) | |
| tree | ddc0975c9a2ab7172bffc74bc2dff52cc6231f22 /dev-python | |
| parent | f813b3ece9c5f1d65320cee800a2a4a24430dabb (diff) | |
| download | baldeagleos-repo-d875cc4762810dfcc17470608f1c5eb7d7c341f7.tar.gz baldeagleos-repo-d875cc4762810dfcc17470608f1c5eb7d7c341f7.tar.xz baldeagleos-repo-d875cc4762810dfcc17470608f1c5eb7d7c341f7.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
29 files changed, 257 insertions, 90 deletions
diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest index c684bb7c210f..921cbfc98ce8 100644 --- a/dev-python/flake8/Manifest +++ b/dev-python/flake8/Manifest @@ -1,2 +1,2 @@ DIST flake8-4.0.1.tar.gz 154905 BLAKE2B b93fea36236881da595ae924b056686e0cd35d2466c1858e3ee83262922df8bc38cf5cd40a910980d287d048572dc94eb8d7c8ee4b11ebd1b4a474dfca02490c SHA512 0bdbf0218ce893df1c3e61f51cd3f371a5c72bb49ef78fec39548b1684e49b024e91cf4e3dcea60ba1efc08727985ef485814c372461e062ff4f810da99a1796 -DIST flake8-5.0.1.gh.tar.gz 145559 BLAKE2B 27c49d0e30696be086a68382235611fccf978edbd73fff0b41cd285eb6443bc183f12d54337777d07348951a6e1775793608be567149fecdfcd40cb75e879fcd SHA512 63e91269c9cad7d5807a5b6cc6dfe5fc1db6353fe28bbb6b3459e9a7ee3140db2a40c202d5964acc69546af386d4f0ea5132cbcc60d07f179960249827062440 +DIST flake8-5.0.2.tar.gz 145640 BLAKE2B 434426201cda4149d78d7be5e73b5ac14bfa86bdce40865703a735bab4cd70b5bd4d9c702204d7007d90ee3164ab20bb25615347988568806c2a5e3dfb2ccef8 SHA512 56dad617a3ced7f3a51aecfc145423b37f068d1bbe7473680bf52de682989360f3cd38fef90dd1853c50989d739aac2515eec3285fa3dad11d744acb8c03f25b diff --git a/dev-python/flake8/files/flake8-5.0.2-upgrade-mccabe.patch b/dev-python/flake8/files/flake8-5.0.2-upgrade-mccabe.patch new file mode 100644 index 000000000000..5dab4af913fe --- /dev/null +++ b/dev-python/flake8/files/flake8-5.0.2-upgrade-mccabe.patch @@ -0,0 +1,13 @@ +diff --git a/setup.cfg b/setup.cfg +index 9cbc9b3..732d6a2 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -35,7 +35,7 @@ packages = find: + package_dir = + =src + install_requires = +- mccabe>=0.6.0,<0.7.0 ++ mccabe>=0.7.0,<0.8.0 + pycodestyle>=2.8.0,<2.9.0 + pyflakes>=2.4.0,<2.5.0 + importlib-metadata<4.3;python_version<"3.8" diff --git a/dev-python/flake8/flake8-5.0.1.ebuild b/dev-python/flake8/flake8-5.0.1.ebuild deleted file mode 100644 index cac17ff65f77..000000000000 --- a/dev-python/flake8/flake8-5.0.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# 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 ) - -inherit distutils-r1 - -DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" -HOMEPAGE=" - https://github.com/pycqa/flake8/ - https://pypi.org/project/flake8/ -" -SRC_URI=" - https://github.com/PyCQA/flake8/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -# requires.txt inc. mccabe however that creates a circular dep -RDEPEND=" - >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - <dev-python/pyflakes-2.6.0[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] - <dev-python/pycodestyle-2.10.0[${PYTHON_USEDEP}] -" -PDEPEND=" - >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - ${PDEPEND} - ) -" - -distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # fails if additional flake8 plugins are installed - tests/integration/test_plugins.py::test_local_plugin_can_add_option -) diff --git a/dev-python/flake8/flake8-5.0.2.ebuild b/dev-python/flake8/flake8-5.0.2.ebuild new file mode 100644 index 000000000000..e4f45fa374f9 --- /dev/null +++ b/dev-python/flake8/flake8-5.0.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" +HOMEPAGE="https://gitlab.com/pycqa/flake8 https://pypi.org/project/flake8/" +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 ~x64-macos" + +# requires.txt inc. mccabe however that creates a circular dep +RDEPEND=" + >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] +" +PDEPEND=" + >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] + +" +BDEPEND="${RDEPEND} + test? ( + ${PDEPEND} + ) +" + +distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +src_prepare() { + # remove version-limited dep + sed -i -e '/importlib-metadata/d' setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/flake8/metadata.xml b/dev-python/flake8/metadata.xml index ea8988e8af6a..ca53b25347ed 100644 --- a/dev-python/flake8/metadata.xml +++ b/dev-python/flake8/metadata.xml @@ -2,10 +2,14 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + <maintainer type="project"> <email>python@gentoo.org</email> <name>Python</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>ports</origin> <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest index 8221da66e456..c9e5a1b368af 100644 --- a/dev-python/grpcio-tools/Manifest +++ b/dev-python/grpcio-tools/Manifest @@ -1,2 +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 +DIST grpcio-tools-1.48.0.tar.gz 2236831 BLAKE2B d00afb28e9235dfa856d40b6869b37a95e5fdbc5c0dc6dec39c7fc0ae53275c98ac5d5d4493955cfd102c5d7e5890931914d48f06345d122fc05c6e27f92168d SHA512 f81cdc593ed8d8b445597d1de72b68d66605c3ccb3e3a56117f7a02a6d548c1873c1dda3f8f255a6c9f4e8b6fc95fe270d4a63376a271ae30bfb6456adc8b375 diff --git a/dev-python/grpcio-tools/grpcio-tools-1.46.3.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.48.0.ebuild index c0a38421f007..c0a38421f007 100644 --- a/dev-python/grpcio-tools/grpcio-tools-1.46.3.ebuild +++ b/dev-python/grpcio-tools/grpcio-tools-1.48.0.ebuild diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index ac329c268b9f..e4c2978721db 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -1,2 +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 +DIST grpcio-1.48.0.tar.gz 21979601 BLAKE2B bf0191b87b36db12e0775dc0279b9b218e4aeff72c1a4eda8cda4b716e0a2edceb94f7153bd1ea5beb0e74193f6070c08f069c524a9686cc867cac2d487b477f SHA512 d7b88e325b860e74e281afffc70d43463078a53b032d11d22e407515300578f0256070d5f551d42a6e116363bb302b9c93755dcf93885c6b5b3dd3c1b373b52d diff --git a/dev-python/grpcio/files/1.37.1-cc-flag-test-fix.patch b/dev-python/grpcio/files/1.37.1-cc-flag-test-fix.patch deleted file mode 100644 index 0869c57dd113..000000000000 --- a/dev-python/grpcio/files/1.37.1-cc-flag-test-fix.patch +++ /dev/null @@ -1,26 +0,0 @@ -From c21ddf679bf46c0a13046060f17d7a87608923e3 Mon Sep 17 00:00:00 2001 -From: Georgy Yakovlev <gyakovlev@gentoo.org> -Date: Mon, 14 Jun 2021 19:38:37 -0700 -Subject: [PATCH] fix cc flag test - ---- - src/python/grpcio/commands.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py -index df8fc46..de71ea5 100644 ---- a/src/python/grpcio/commands.py -+++ b/src/python/grpcio/commands.py -@@ -234,7 +234,8 @@ class BuildExt(build_ext.build_ext): - """ - try: - # TODO(lidiz) Remove the generated a.out for success tests. -- cc_test = subprocess.Popen(['cc', '-x', 'c', '-std=c++11', '-'], -+ cc = os.environ.get('CC', 'cc') -+ cc_test = subprocess.Popen([cc, '-x', 'c', '-std=c++11', '-'], - stdin=subprocess.PIPE, - stdout=subprocess.PIPE, - stderr=subprocess.PIPE) --- -2.32.0 - diff --git a/dev-python/grpcio/grpcio-1.46.3.ebuild b/dev-python/grpcio/grpcio-1.48.0.ebuild index b36e0b3c1876..10b55e7dbe6b 100644 --- a/dev-python/grpcio/grpcio-1.46.3.ebuild +++ b/dev-python/grpcio/grpcio-1.48.0.ebuild @@ -28,8 +28,6 @@ RDEPEND=" DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}/1.37.1-cc-flag-test-fix.patch" ) - python_prepare_all() { distutils-r1_python_prepare_all hprefixify setup.py diff --git a/dev-python/installer/installer-0.5.1-r1.ebuild b/dev-python/installer/installer-0.5.1-r1.ebuild index 27252d00efd5..d13c014687d9 100644 --- a/dev-python/installer/installer-0.5.1-r1.ebuild +++ b/dev-python/installer/installer-0.5.1-r1.ebuild @@ -35,3 +35,8 @@ distutils_enable_tests pytest python_compile() { python_domodule src/installer "${WORKDIR}"/*.dist-info } + +python_install() { + distutils-r1_python_install + python_optimize +} diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest index 50eb169a1fa8..ee9d930b675a 100644 --- a/dev-python/jsonschema/Manifest +++ b/dev-python/jsonschema/Manifest @@ -1,3 +1,4 @@ DIST jsonschema-4.6.2.tar.gz 275975 BLAKE2B 7c587e8b5c5eff097390e6254ae633445ffece2bd3e9c003dca730bd332c4d3c236ea10225dc81b95ef9359a9309831290b106a07e80945574dcc2937bcd4983 SHA512 e41d6bda1bd6b12174201a70b5ad5209ab7c445faa6c947408f0fbc255839f3379ffe8b539760d993b435972936e4052300dbc420d4b87051f33180bced7efb2 DIST jsonschema-4.7.2.tar.gz 278495 BLAKE2B 55c25847e210e0bdd3bec672b4b6a4eb1a2e2ec5167c115c34a2d0b2de079a00eaff8d901386b475fc26660887090896e78e3a38c1805f5b767fa1eece740e3b SHA512 c624d7bf317ca20fd8cdd248ec7d7679fde907ab304f1a092fc7a172464f43e41904d3f88df57e1351043b978448f51166a09af3625f00a9ad4d7353033b80af DIST jsonschema-4.8.0.tar.gz 279424 BLAKE2B 9e8936bde13841f9edf42ffe214ce8d1aaae8b9be4c3040871f228399a31b4292e8cfbf4bf4261822ca1b88622cb69cdf0d55bd2cc51bf191f6e364e9bfb94f8 SHA512 75a7593eb8b0163ba428f507ed4fd9fa6d51567f284776af96f4d79cb507a69666cc048034bfa3a401f960295779e935562dde4e97cf3f7b3b4571bc28b9dde7 +DIST jsonschema-4.9.0.tar.gz 281100 BLAKE2B 5a1c387fc33735ffd39342f3e62600aea721a51be0995d10aa1726e8e4c3bf93694a7844410c0b245c699880d6642a6903525b3637883f5e662086b53deb0948 SHA512 73fc9958f37802c4558ea6893386810784d2b577c04423b7090fce4cd052e3af078f0b0c46b2b16f96bb49820047f1ec5d96cf6c6cb822fca1d988cf1d70209f diff --git a/dev-python/jsonschema/jsonschema-4.9.0.ebuild b/dev-python/jsonschema/jsonschema-4.9.0.ebuild new file mode 100644 index 000000000000..b77965e58df5 --- /dev/null +++ b/dev-python/jsonschema/jsonschema-4.9.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="An implementation of JSON-Schema validation for Python" +HOMEPAGE=" + https://pypi.org/project/jsonschema/ + https://github.com/python-jsonschema/jsonschema/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] + >=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_resources-1.4.0[${PYTHON_USEDEP}] + dev-python/pkgutil_resolve_name[${PYTHON_USEDEP}] + ' 3.8) +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +# formatter deps +RDEPEND+=" + dev-python/fqdn[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/isoduration[${PYTHON_USEDEP}] + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}] + dev-python/rfc3339-validator[${PYTHON_USEDEP}] + dev-python/rfc3986-validator[${PYTHON_USEDEP}] + dev-python/rfc3987[${PYTHON_USEDEP}] + dev-python/uri_template[${PYTHON_USEDEP}] + >=dev-python/webcolors-1.11[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires pip, does not make much sense for the users + jsonschema/tests/test_cli.py::TestCLIIntegration::test_license + # wtf? + jsonschema/tests/test_deprecations.py::TestDeprecations::test_version +) diff --git a/dev-python/meson-python/meson-python-0.8.1.ebuild b/dev-python/meson-python/meson-python-0.8.1.ebuild index 14175933898b..4cc1af8b5870 100644 --- a/dev-python/meson-python/meson-python-0.8.1.ebuild +++ b/dev-python/meson-python/meson-python-0.8.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" RDEPEND=" >=dev-python/pyproject-metadata-0.5.0[${PYTHON_USEDEP}] diff --git a/dev-python/metakernel/Manifest b/dev-python/metakernel/Manifest index 9784ebbfbe66..adacd1a96fe2 100644 --- a/dev-python/metakernel/Manifest +++ b/dev-python/metakernel/Manifest @@ -1 +1,2 @@ DIST metakernel-0.29.0.tar.gz 197295 BLAKE2B 486c57b3d0c4c41aa73c129cceccebbf818a4932beb35f5114723e43e37f496d04df50d3cfd09b7d4c254f5dea02d1c7b43f9f6e9c9e7af8e946fd79179a892b SHA512 0748663e79776680f9c52cbc4b0ee76f33ece0a489740068d60455c5003ff27e3fbe8f8c1f0f51ffe9448dbf32109e7d15e8d851198e1947d638fe91dfb4e39c +DIST metakernel-0.29.1.tar.gz 190413 BLAKE2B 726ad01bb4f53add8a538c59aa92c801293e9ec45d54d86d1e6f81ffd9d22c2066ec4cbb744f7e79bbb0ed2253093b463498d0023d7dfb4ef3733350b460a6e0 SHA512 cde9e0ee89edfd829a371b72f098a44423b107bf18b35d5f318764925f716add1d860cf5b508c562b8788b68c00ac4e97dfafc5fab775931a104e0590dc87bad diff --git a/dev-python/metakernel/metakernel-0.29.1.ebuild b/dev-python/metakernel/metakernel-0.29.1.ebuild new file mode 100644 index 000000000000..60f137399774 --- /dev/null +++ b/dev-python/metakernel/metakernel-0.29.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Metakernel for Jupyter" +HOMEPAGE="https://github.com/Calysto/metakernel" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ipykernel-5.5.6[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.9.2[${PYTHON_USEDEP}] + >=dev-python/jedi-0.18[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/requests[${PYTHON_USEDEP}] + dev-python/jupyter_kernel_test[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.25.0-disable-brittle-tests.patch +) + +distutils_enable_tests pytest diff --git a/dev-python/nbconvert/nbconvert-6.5.0-r2.ebuild b/dev-python/nbconvert/nbconvert-6.5.0-r2.ebuild index 01a0254e0d8f..c52e9c24b6b9 100644 --- a/dev-python/nbconvert/nbconvert-6.5.0-r2.ebuild +++ b/dev-python/nbconvert/nbconvert-6.5.0-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/beautifulsoup4[${PYTHON_USEDEP}] diff --git a/dev-python/pkgutil_resolve_name/Manifest b/dev-python/pkgutil_resolve_name/Manifest new file mode 100644 index 000000000000..d515ae6e546e --- /dev/null +++ b/dev-python/pkgutil_resolve_name/Manifest @@ -0,0 +1 @@ +DIST pkgutil_resolve_name-1.3.10.tar.gz 5054 BLAKE2B 3e10c593f2389899349315dd1304233e6ca7c56ea36658cf7e7a429f00c9a3d560ef0d51f841dbd4f825501495aad41cc050266bb43b2d7deebb5026d218ae30 SHA512 878d54678d33297528dc9d1c07b45455989d3ece48dedfc468e9fbbad7cb5d17a75d66563ee841b5d65fc07fbf45cb91523f009088cb16f83846edc1f2fef7f2 diff --git a/dev-python/pkgutil_resolve_name/metadata.xml b/dev-python/pkgutil_resolve_name/metadata.xml new file mode 100644 index 000000000000..a0d4c5913ba0 --- /dev/null +++ b/dev-python/pkgutil_resolve_name/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="project"> + <email>python@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pkgutil_resolve_name/pkgutil_resolve_name-1.3.10.ebuild b/dev-python/pkgutil_resolve_name/pkgutil_resolve_name-1.3.10.ebuild new file mode 100644 index 000000000000..1992f67d73d9 --- /dev/null +++ b/dev-python/pkgutil_resolve_name/pkgutil_resolve_name-1.3.10.ebuild @@ -0,0 +1,21 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +# backport from python3.9 +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Resolve a name to an object" +HOMEPAGE=" + https://github.com/graingert/pkgutil-resolve-name/ + https://pypi.org/project/pkgutil_resolve_name/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-python/pycodestyle/Manifest b/dev-python/pycodestyle/Manifest index 5339f2a58082..9820de6c38bb 100644 --- a/dev-python/pycodestyle/Manifest +++ b/dev-python/pycodestyle/Manifest @@ -1,2 +1,2 @@ -DIST pycodestyle-2.7.0.tar.gz 103640 BLAKE2B 5b1ad351aadff101732748fd4d3a4d34c3eabc058dd9d0c7551afde0dbb169ddce82ccc539e71b72ea2df0dc199b3c2213d259910a18b5acd892782e1314cc19 SHA512 26502480e5855f0fd9378664ec813bb38dc2f8ac22e01767fc8bf75e52fa7a7691382fd4f6f1edaeb5f41d150ed71ee87e0d7f525bf06acbf4b3034cec3a227a DIST pycodestyle-2.8.0.tar.gz 102299 BLAKE2B ac4708a513582bb0f27f1abfcc983319e6c7b853c53971d5f026f297f897b25a6c8a651a4d2441b19ab37e6df6f7a38a472aad0757fec59e0438263d76ccfdb2 SHA512 0098be44451bc173507e2b396aaf342ccf7f25a6a1f5d5c1f802079a76a66e6bedf9f358b5e07b27bee66e3b279c72a6b72f63e5984f58ae83b7fc5806880fc1 +DIST pycodestyle-2.9.0.tar.gz 102014 BLAKE2B ee2c2cad332e7442f9e557f388c3de09ea0ea65b0678c65d64d6293de18aa884a39a6a65ce47a99ac04b98da4e4bad14d2ccd228b22bdbd7361a3a0ca2c27afb SHA512 82926bf1c5b72decc0679d4fcec705d707b91b347ea0eec52b1f05301b96e55fc75afdb367ecdec674976fe1f2f7b475498a8e9a2ba19e3dfd483584a9ef841e diff --git a/dev-python/pycodestyle/pycodestyle-2.7.0.ebuild b/dev-python/pycodestyle/pycodestyle-2.9.0.ebuild index addbc99c7bd9..e543de817e90 100644 --- a/dev-python/pycodestyle/pycodestyle-2.7.0.ebuild +++ b/dev-python/pycodestyle/pycodestyle-2.9.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 2020-2021 Liguros Authors +# Copyright 2020-2022 Liguros Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) @@ -8,7 +8,7 @@ inherit distutils-r1 DESCRIPTION="Python style guide checker (fka pep8)" HOMEPAGE="https://pypi.org/project/pycodestyle/" -SRC_URI="https://files.pythonhosted.org/packages/02/b3/c832123f2699892c715fcdfebb1a8fdeffa11bb7b2350e46ecdd76b45a20/${P}.tar.gz" +SRC_URI="https://github.com/PyCQA/pycodestyle/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/dev-python/pygobject/pygobject-3.42.2.ebuild b/dev-python/pygobject/pygobject-3.42.2.ebuild index f647e102acc9..650fffa6b20a 100644 --- a/dev-python/pygobject/pygobject-3.42.2.ebuild +++ b/dev-python/pygobject/pygobject-3.42.2.ebuild @@ -65,6 +65,7 @@ python_test() { python_install() { meson_src_install + python_optimize } python_install_all() { diff --git a/dev-python/pyproject-metadata/pyproject-metadata-0.6.1.ebuild b/dev-python/pyproject-metadata/pyproject-metadata-0.6.1.ebuild index 3d54bf39df97..12fd2fc54585 100644 --- a/dev-python/pyproject-metadata/pyproject-metadata-0.6.1.ebuild +++ b/dev-python/pyproject-metadata/pyproject-metadata-0.6.1.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/python-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/scipy/scipy-1.9.0-r1.ebuild b/dev-python/scipy/scipy-1.9.0-r1.ebuild index a83fbbc7d1cb..3b083a875abf 100644 --- a/dev-python/scipy/scipy-1.9.0-r1.ebuild +++ b/dev-python/scipy/scipy-1.9.0-r1.ebuild @@ -38,7 +38,7 @@ else S="${WORKDIR}"/${MY_P} if [[ ${PV} != *rc* ]] ; then - KEYWORDS="~amd64 -hppa ~ppc64 ~riscv" + KEYWORDS="~amd64 ~arm64 -hppa ~ppc64 ~riscv" fi fi diff --git a/dev-python/tinycss2/tinycss2-1.1.1-r1.ebuild b/dev-python/tinycss2/tinycss2-1.1.1-r1.ebuild index 9e79906586d0..a428a450b165 100644 --- a/dev-python/tinycss2/tinycss2-1.1.1-r1.ebuild +++ b/dev-python/tinycss2/tinycss2-1.1.1-r1.ebuild @@ -27,7 +27,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-python/webencodings-0.4[${PYTHON_USEDEP}] diff --git a/dev-python/tomli/tomli-2.0.1-r1.ebuild b/dev-python/tomli/tomli-2.0.1-r1.ebuild index daea53517112..5c328a20635d 100644 --- a/dev-python/tomli/tomli-2.0.1-r1.ebuild +++ b/dev-python/tomli/tomli-2.0.1-r1.ebuild @@ -34,3 +34,8 @@ distutils_enable_tests unittest python_compile() { python_domodule src/tomli "${WORKDIR}"/*.dist-info } + +python_install() { + distutils-r1_python_install + python_optimize +} diff --git a/dev-python/versioningit/Manifest b/dev-python/versioningit/Manifest index c7f5dda67934..33a5275c2764 100644 --- a/dev-python/versioningit/Manifest +++ b/dev-python/versioningit/Manifest @@ -1 +1,2 @@ DIST versioningit-2.0.0.tar.gz 735138 BLAKE2B 59247c0a2ec85f828b1b36c7f7ff6981fdd430b242c262f7325586e8ab35410083e0a795e72204c9ad9c0c50bb02c047f8baa01c556f74d69a8ddfc9e911474b SHA512 d700e25f3b58efd87943a950ede66ad8814e3aeea1927bb68b51312a636684b16695c44492f4357595305a5a85a3fc8c411d80a02e9b157162844d731dcab93f +DIST versioningit-2.0.1.tar.gz 735415 BLAKE2B 92aefa4c565ba1e7e707e7ea53a139c64e645ca5e68c74f8ee516122996037061174f703b566458d947e131ed56cc0a9922ce23bf82680607591900a7cc88e36 SHA512 b6f8c578d36607731429e43a7bd349ac69e44943a7b9a79c9f70e1dd44201ee6af239a575ebb36a44e870ee2a121a91d1d63c8e63dadaac71139431ef2eb36e5 diff --git a/dev-python/versioningit/versioningit-2.0.1.ebuild b/dev-python/versioningit/versioningit-2.0.1.ebuild new file mode 100644 index 000000000000..2e7f072bd8d8 --- /dev/null +++ b/dev-python/versioningit/versioningit-2.0.1.ebuild @@ -0,0 +1,50 @@ +# 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 setuptools plugin for versioning based on git tags" +HOMEPAGE=" + https://github.com/jwodder/versioningit/ + https://pypi.org/project/versioningit/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/packaging-17.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Tries to do wheel/pip installs + test/test_end2end.py +) + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i \ + -e '/--cov/d' \ + -e '/-cov-/d' \ + tox.ini || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest -p no:pytest-describe +} |
