diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-09-22 18:25:38 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-09-22 18:25:38 +0000 |
| commit | 9ea2dbbe31826c9efce9bb1e2e1c376dad8fbcb8 (patch) | |
| tree | 7e1049830ad88548ec622b869abde044258e5f46 /dev-python | |
| parent | 4c6efbbf83279da57674e1da55d38d2f5a30c45e (diff) | |
| download | baldeagleos-repo-9ea2dbbe31826c9efce9bb1e2e1c376dad8fbcb8.tar.gz baldeagleos-repo-9ea2dbbe31826c9efce9bb1e2e1c376dad8fbcb8.tar.xz baldeagleos-repo-9ea2dbbe31826c9efce9bb1e2e1c376dad8fbcb8.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/GitPython/GitPython-3.1.37.ebuild | 84 | ||||
| -rw-r--r-- | dev-python/GitPython/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/bibtexparser/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/bibtexparser/bibtexparser-1.4.1.ebuild | 30 | ||||
| -rw-r--r-- | dev-python/mkdocs-material/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/mkdocs-material/mkdocs-material-9.4.1.ebuild | 65 | ||||
| -rw-r--r-- | dev-python/msgpack/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/msgpack/msgpack-1.0.6.ebuild | 51 | ||||
| -rw-r--r-- | dev-python/pytest-check/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pytest-check/pytest-check-2.2.2.ebuild | 26 | ||||
| -rw-r--r-- | dev-python/setuptools-scm/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/setuptools-scm/setuptools-scm-8.0.3.ebuild | 64 | ||||
| -rw-r--r-- | dev-python/structlog/structlog-23.1.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/werkzeug/files/werkzeug-2.3.4-iri-bytes.patch | 64 |
14 files changed, 328 insertions, 65 deletions
diff --git a/dev-python/GitPython/GitPython-3.1.37.ebuild b/dev-python/GitPython/GitPython-3.1.37.ebuild new file mode 100644 index 000000000000..000208c03eb5 --- /dev/null +++ b/dev-python/GitPython/GitPython-3.1.37.ebuild @@ -0,0 +1,84 @@ +# 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_{8,9,10,11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +TEST_P=GitPython-${PV} +GITDB_P=gitdb-4.0.10 +SMMAP_P=smmap-5.0.0_p1 + +DESCRIPTION="Library used to interact with Git repositories" +HOMEPAGE=" + https://github.com/gitpython-developers/GitPython/ + https://pypi.org/project/GitPython/ +" +SRC_URI+=" + test? ( + https://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-vcs/git + >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "travis@ci.com" || die + git config --global user.name "Travis Runner" || die + + git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die + git clone "${DISTDIR}/${GITDB_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb || die + git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die + + cd "${T}"/test || die + git rev-parse HEAD > .git/refs/remotes/origin/master || die + TRAVIS=1 ./init-tests-after-clone.sh || die + cat test/fixtures/.gitconfig >> ~/.gitconfig || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # performance tests are unreliable by design + test/performance + # unimpoortant and problematic + test/test_installation.py + # Internet + test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs + test/test_quick_doc.py::QuickDoc::test_cloned_repo_object + # requires which(1) + # https://github.com/gitpython-developers/GitPython/pull/1525 + test/test_git.py::TestGit::test_refresh + # TODO + test/test_submodule.py::TestSubmodule::test_base_rw + test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit + test/test_submodule.py::TestSubmodule::test_list_only_valid_submodules + test/test_submodule.py::TestSubmodule::test_root_module + ) + + epytest -o addopts= test +} diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest index 40dd14d4172a..19402d8fd872 100644 --- a/dev-python/GitPython/Manifest +++ b/dev-python/GitPython/Manifest @@ -8,5 +8,7 @@ DIST GitPython-3.1.35.gitbundle 9605813 BLAKE2B 37eee9cbf4e1824b26f5cca987c82919 DIST GitPython-3.1.35.tar.gz 198670 BLAKE2B 65700e88fc124043d1ca9cc896b8b7a2f84eeba38923a68d74a27ee684f8f3adbe1fc34044db71167b63c3069f34ec2d714a906ec476adbbec038ce65d7fdd6b SHA512 5b749ffd0d1d47bf6be9f714e4faa2ca3b353da2eedfaf99d344bde030777f98a04ebe877eda98b1c8ab7c129238d855e6bf238d3a2433219faf0cd1695509bc DIST GitPython-3.1.36.gitbundle 9634402 BLAKE2B 7ab020b412b43ade1171ee7c7080929a5824cb2955e015615152b5faf802f9373ba34c5ce5626ef8541686239ff263f051de72934618d8432d4031f22c20d0f3 SHA512 de1c51232c2ee89668fc4671c7b0615ba4620d292fd1097f25b0f2eedda927c68d6529521adae7f61415f8042801d9620cc7a8c7d0b40236b92fe843f28b5d89 DIST GitPython-3.1.36.tar.gz 199490 BLAKE2B 29a6ff6345575674b1ca07d178346510996b4610963b6c46dceb79991afa2fd3ed81a5823ab4d7d57e05564f68a9ac9be8d3144a621ff5252a2b581757500845 SHA512 f81a62a224d85c26783e69bed7279e08e772a411a88bff398a979a3302a91f70e27c22fbe635dcf2bb8d4af2eaf1af49946f78b67a7cc909a5e67332da9fd74d +DIST GitPython-3.1.37.gitbundle 9744035 BLAKE2B 57f16e0ebfdf6e2078c8a8fa220185add124431491b0959649c5fca8cf234cf4f3bb86b46937a04de33b5600a3c50dc2c46acff69dfbb03973d48663f8a45bc8 SHA512 b18e2cc7f97f82ba7f36181bb76bb58797ac0c13043f44b9ffdb31523ffafd37cc916986a8a358c85c867937145ad58da052bf650fd346fdacc80b89feeb8d8c +DIST GitPython-3.1.37.tar.gz 200076 BLAKE2B b5db83f6712a94464fec98229af739ca7eb71eb47bd03164e94bb680c03bd84e49c7956e3a58937464c6fd6e4254a24d5e89150f40a59c5d101d7e56daca8fba SHA512 c036b5a12b2839a152d21cc6163445c067d70b18984888e799b0900449bea0a5290f6520fae5cab83fb8553af9c6bb0150c9b28103311deecb3686de30dd35f1 DIST gitdb-4.0.10.gitbundle 1485461 BLAKE2B 5a217c609a402cd7888da1502b25d217812503cd703cda8bce3c7159732c59d7f4bcd52688a5da457f43fde1645a6db79588a6fc8cc8dff5c58e9dcbaef79b9a SHA512 98dba48f75e28eaded791f91c611e07bef73c28a7f8ac58889b05d04f4b3699a85a5be1c829ea3e2f380507a9009f35bc552bb4260564127e2863807f9b4712a DIST smmap-5.0.0_p1.gitbundle 324544 BLAKE2B 69098c7644abaec7f32226cad7ff3008e49d94c9f7349d0b815223249c20bfd2b51a50474e51864821f30c98f5982e5c35ce9217145a1e5d11326492c41faecc SHA512 4f36ca2c94ddfeb949c880fb52c3b1905d144dd59b95f2f05c93ed7b694dcb128218a2800ca23b721fbeff9a1920e8c3326675098e2ef0361ff6e90c8c2850ba diff --git a/dev-python/bibtexparser/Manifest b/dev-python/bibtexparser/Manifest index 07239be70e26..1284b94305cf 100644 --- a/dev-python/bibtexparser/Manifest +++ b/dev-python/bibtexparser/Manifest @@ -1 +1,2 @@ DIST bibtexparser-1.4.0.gh.tar.gz 93130 BLAKE2B e55a5cd960f979af460cca3850e58b035e0a937d2d230b200ea954e1c795ab436d09cdeb4d6b369a7802a9f6d3f98f1533ce821f3df4000a4154103367bb603b SHA512 70fcb501539c25d684ffd84b3a15eb03cf497f70bfdd1d14b2842978e8c6b3d1877d37195789ab3053432582c6c3520f98f90d774835b4c8124505e05905293c +DIST bibtexparser-1.4.1.gh.tar.gz 97146 BLAKE2B 8040532fe2153ff6ec664631a11b4f61548f99198c565bb554d0fe09d1fa54ee368c08be72bf7e86c5b6ca696deb0210496d4772243a05c5c9b28d73f52e6dc5 SHA512 f8e8f911eac38e98362bbbeff5b4af986e426911db9c54e93ec4a4eee1b1ceed630222c1a51454639566a6b5bad60c86a70b882a1c05084927fcbe7315e837ce diff --git a/dev-python/bibtexparser/bibtexparser-1.4.1.ebuild b/dev-python/bibtexparser/bibtexparser-1.4.1.ebuild new file mode 100644 index 000000000000..83523c31e76d --- /dev/null +++ b/dev-python/bibtexparser/bibtexparser-1.4.1.ebuild @@ -0,0 +1,30 @@ +# 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_{8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="A BibTeX parser written in Python" +HOMEPAGE=" + https://github.com/sciunto-org/python-bibtexparser/ + https://pypi.org/project/bibtexparser/ +" +SRC_URI=" + https://github.com/sciunto-org/python-bibtexparser/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/python-${P}" + +LICENSE="|| ( BSD LGPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/pyparsing[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 0f7b8834dff2..114e7c1440d0 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -2,3 +2,4 @@ DIST mkdocs-material-9.2.6.gh.tar.gz 14397658 BLAKE2B b83245c3278f497d1beea0d3eb DIST mkdocs-material-9.2.8.gh.tar.gz 14412534 BLAKE2B f4483a199d86af9ebf6b19937e6d637b52cb38e2c33e22b864cc6cc701663c32ceaa03cf195d0d211349029dcc075c3b2ff702270a7c0032ca68260fad48d8a9 SHA512 efbbd4b99cf5a466d68c38259c50c8621ab8f06a6d50369f54234b15ed1d0d4cbeb2b476d43b0eec89f329667fca32258b84082b7a5f6404bbcd39434856b296 DIST mkdocs-material-9.3.1.gh.tar.gz 14442779 BLAKE2B 8a10b863708614f4fb9c082606afdb1bb0bc2d64690bbbdab5e636d82f234dba19304e07865a4a5bf7cac42679bea6997729775c8ad8f4ad3a646815853d8db8 SHA512 7f0f7365dd914df56a72578240f418faea5884801200683cdcf8df703bef44fc74a399e62f2f351de697a2416ddc3d68e3f5935dc9f6704e88acca238629e015 DIST mkdocs-material-9.3.2.gh.tar.gz 14484998 BLAKE2B 24c45c9583835f8bf59b49c6b892459920207356cfcc469fec707acf728839af3c551f73a781745e71fbfeda6de65436079d8f27e4157454ca9979a8cdf499cd SHA512 c46de59682c70679164dd3768a793ffcf8e638ffc71dad5d21325090e0c3bfd345dc3c58829a992f995d1047a2007626fc9e68e98729766f8f75c2c3274fcb8d +DIST mkdocs-material-9.4.1.gh.tar.gz 14492819 BLAKE2B 8390e3875108fe9a0cb8ab9388278fa936be4839d159124a4f3c482443ea19ae0f90eb623d6f6a74a37881d353c54b27c03e83300bb4cda5446922861092ad78 SHA512 d45356ee77a0b768f9e2158169ed1505dab6c23f99f6893343de4636924dfd83740f1c9e19789753018fa666f27865b45334bffb4ee92190324da98a887c1cfa diff --git a/dev-python/mkdocs-material/mkdocs-material-9.4.1.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.4.1.ebuild new file mode 100644 index 000000000000..dc81421f5e12 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.4.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] + >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] + >=dev-python/readtime-2.0[${PYTHON_USEDEP}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] + ) +" + +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/msgpack/Manifest b/dev-python/msgpack/Manifest index 4fd6e7b1b3e9..69bc323eaf19 100644 --- a/dev-python/msgpack/Manifest +++ b/dev-python/msgpack/Manifest @@ -1 +1,2 @@ DIST msgpack-1.0.5.tar.gz 127834 BLAKE2B 3dcf454630021e35d5c6d5ce850d7ac74a6d11d6fe7c7ed07040daa62585bd6b11dc0f68a5b4c4bf20346c25bc23017f79f2d1bad09f175008b184461d0eea5d SHA512 bc3bf27ca7a9204c5ebc009e4a03db4fb48f6c2733bef393aed16652f07ac92c9400258818743245598343c86494d39b39017ab70d7563a5844091eca11a9faa +DIST msgpack-1.0.6.tar.gz 166462 BLAKE2B 19cbef99c44b6509b829462b54cea6c6bc47a30714e5f89b8f08329f2b1b46f4dea7bab4e1c32c4b9cdee44ab10d5223f3c3cc8df52c67d5f98a917dbbc3dd99 SHA512 dde756a1f3d390067a065b12c7e2c3b94aab9378d9d41e3b5338bc2e4e809b234b390618dddd6ccff13403ac03750d7c44fa567c8f87c23350e62d4d469d9707 diff --git a/dev-python/msgpack/msgpack-1.0.6.ebuild b/dev-python/msgpack/msgpack-1.0.6.ebuild new file mode 100644 index 000000000000..46f5704f68a6 --- /dev/null +++ b/dev-python/msgpack/msgpack-1.0.6.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="MessagePack (de)serializer for Python" +HOMEPAGE=" + https://msgpack.org/ + https://github.com/msgpack/msgpack-python/ + https://pypi.org/project/msgpack/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="+native-extensions" + +# extension code is relying on CPython implementation details +BDEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # Remove pre-generated cython files + rm msgpack/_cmsgpack.cpp || die + + # native-extensions are always disabled on PyPy + # https://github.com/msgpack/msgpack-python/blob/main/setup.py#L76 + if ! use native-extensions ; then + export MSGPACK_PUREPYTHON=1 + fi + + distutils-r1_python_prepare_all +} + +python_test() { + rm -rf msgpack || die + epytest +} diff --git a/dev-python/pytest-check/Manifest b/dev-python/pytest-check/Manifest index e6c2dc51e95a..9a205cadbaad 100644 --- a/dev-python/pytest-check/Manifest +++ b/dev-python/pytest-check/Manifest @@ -1 +1,2 @@ DIST pytest_check-2.2.1.tar.gz 29128 BLAKE2B 758d2f04a5a500367ecca9a95afe21c03e7a52f319403d4bc0af14d27b96b335e5db42ee312217b0788eceab25048266ac135cfeb7d8214908ed5c13ded33b33 SHA512 04843219a1d49385ccac9b60707a6dd595258664b61a0bf31e666502a222d16b7130c8c0ae65ebd6431d58e2e08d90db3ad016dc4591dab7e3c3502296ceff44 +DIST pytest_check-2.2.2.tar.gz 26353 BLAKE2B 90e95aaddfb3f595b7f0ac7fe8f75cc0dbe173dfcd30aa888cebca9e61ddd67a1a25bb5e152151c86c7bd6144f6875622c8c3a53c3453281b94f2e74a4b465e5 SHA512 27f6df34450db762fb6656b255d34bf6656bacefc68cdd050e100dcf53df1406c6983a509c7b7cc3cc37664c06d3798254a350ba9c0ebcf9095cb7aa1bd11557 diff --git a/dev-python/pytest-check/pytest-check-2.2.2.ebuild b/dev-python/pytest-check/pytest-check-2.2.2.ebuild new file mode 100644 index 000000000000..111d79c91ea3 --- /dev/null +++ b/dev-python/pytest-check/pytest-check-2.2.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="pytest plugin that allows multiple failures per test" +HOMEPAGE=" + https://github.com/okken/pytest-check/ + https://pypi.org/project/pytest-check/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/setuptools-scm/Manifest b/dev-python/setuptools-scm/Manifest index 2f8fed199f77..f28feba89e0d 100644 --- a/dev-python/setuptools-scm/Manifest +++ b/dev-python/setuptools-scm/Manifest @@ -1,3 +1,4 @@ DIST setuptools-scm-8.0.1.tar.gz 71827 BLAKE2B 4011879490a02f5bb8b4fa0292ee696010cca9cb5c322854f2c342b4c02a86f7a31535c3fe7b4e6eab4fb77c90a469714227c1487ee7e1c1d4de3a4db1137b6b SHA512 05c087cbcb8bf2f03d68cf91e5545c25dea85d61d16c26194ade42a5e78a573f1adc4265897998d4b151834e994b3aa32e02a1eb2fa103a4cd1f3c8e3b78d8d4 DIST setuptools-scm-8.0.2.tar.gz 72614 BLAKE2B 80dedf269f504a632f6b8c8ceafc28948e359825b926ac851219171db4015856aaebde8c0e8ee81dc807bb1b25010d686a039063922046dc4d72beacf14914c6 SHA512 1a636f452cbe61fc1bc6fca49032e7d12b80fe5d8931f292cfa295d6787fb9273fd7f3887f3f74d60c1da19f4e2f676d038fd860c0410838225cad95e6375f9b +DIST setuptools-scm-8.0.3.tar.gz 72824 BLAKE2B f45b3bf67cc259e18fbd3a155d10967cf7c6a9df69d6bff7cc452236da3c3e1d0205ff7f5523c5bfdcbdbf5056e00f06c21dc1178edf14b386a0b89e95c947c1 SHA512 7002da1abdabbf617fb92b94aa04f6fe90aa5cbe26ae7ff8a9df0c53b35e8d13e6294ed38373d081ccafe375b376d52e72d5c7a031dbfb356aa0ee3221641096 DIST setuptools_scm-7.1.0.tar.gz 71904 BLAKE2B be5ae215dadcc290290762b732434258409ecc2d71cdf1332ffe73431effae7cbc33e052a718efd952be79350171ed3e468492fc719bc08750dc23364fb0ee9d SHA512 bd7260672c213db6b8c5842dbb6ac69e69ce040777865c935033971f65d905bd8e6b54e174190a924e452c302e69d4c1de231cbc8f603176ba013a739840dad3 diff --git a/dev-python/setuptools-scm/setuptools-scm-8.0.3.ebuild b/dev-python/setuptools-scm/setuptools-scm-8.0.3.ebuild new file mode 100644 index 000000000000..e047f5661e8f --- /dev/null +++ b/dev-python/setuptools-scm/setuptools-scm-8.0.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage versions by scm tags via setuptools" +HOMEPAGE=" + https://github.com/pypa/setuptools_scm/ + https://pypi.org/project/setuptools-scm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +# there's an optional dep on rich for cute logs +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-vcs/git + !sparc? ( + dev-vcs/mercurial + ) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # the usual nondescript gpg-agent failure + testing/test_git.py::test_git_getdate_signed_commit + + # fetching from the Internet + testing/test_regressions.py::test_pip_download + + # calls flake8, unpredictable + testing/test_functions.py::test_dump_version_flake8 + ) + + if has_version dev-python/nose; then + EPYTEST_DESELECT+=( + # https://bugs.gentoo.org/892639 + testing/test_integration.py::test_pyproject_support + ) + fi + + epytest +} diff --git a/dev-python/structlog/structlog-23.1.0.ebuild b/dev-python/structlog/structlog-23.1.0.ebuild index 36ef974156cc..ac0107fe22aa 100644 --- a/dev-python/structlog/structlog-23.1.0.ebuild +++ b/dev-python/structlog/structlog-23.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0 MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~riscv ~x86" BDEPEND=" dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] diff --git a/dev-python/werkzeug/files/werkzeug-2.3.4-iri-bytes.patch b/dev-python/werkzeug/files/werkzeug-2.3.4-iri-bytes.patch deleted file mode 100644 index 1e06b0621cdd..000000000000 --- a/dev-python/werkzeug/files/werkzeug-2.3.4-iri-bytes.patch +++ /dev/null @@ -1,64 +0,0 @@ -From 3ba0fd5c52c9943c492ce098693bf9e651942fe5 Mon Sep 17 00:00:00 2001 -From: midchildan <git@midchildan.org> -Date: Sat, 27 May 2023 01:03:02 +0900 -Subject: [PATCH] fix: iri_to_uri fails when the argument is a bytestring - -This was caused by the 'charset' variable being used before it was ready. ---- - CHANGES.rst | 4 ++++ - src/werkzeug/urls.py | 20 ++++++++++---------- - tests/test_urls.py | 3 +++ - 3 files changed, 17 insertions(+), 10 deletions(-) - -diff --git a/src/werkzeug/urls.py b/src/werkzeug/urls.py -index 89ef21943..f5760eb4c 100644 ---- a/src/werkzeug/urls.py -+++ b/src/werkzeug/urls.py -@@ -966,6 +966,16 @@ def iri_to_uri( - - .. versionadded:: 0.6 - """ -+ if charset is not None: -+ warnings.warn( -+ "The 'charset' parameter is deprecated and will be removed" -+ " in Werkzeug 3.0.", -+ DeprecationWarning, -+ stacklevel=2, -+ ) -+ else: -+ charset = "utf-8" -+ - if isinstance(iri, tuple): - warnings.warn( - "Passing a tuple is deprecated and will not be supported in Werkzeug 3.0.", -@@ -982,16 +992,6 @@ def iri_to_uri( - ) - iri = iri.decode(charset) - -- if charset is not None: -- warnings.warn( -- "The 'charset' parameter is deprecated and will be removed" -- " in Werkzeug 3.0.", -- DeprecationWarning, -- stacklevel=2, -- ) -- else: -- charset = "utf-8" -- - if errors is not None: - warnings.warn( - "The 'errors' parameter is deprecated and will be removed in Werkzeug 3.0.", -diff --git a/tests/test_urls.py b/tests/test_urls.py -index 56bca8e94..765d42546 100644 ---- a/tests/test_urls.py -+++ b/tests/test_urls.py -@@ -231,6 +231,9 @@ def test_iri_support(): - - assert urls.iri_to_uri("/foo") == "/foo" - -+ with pytest.deprecated_call(): -+ assert urls.iri_to_uri(b"/foo") == "/foo" -+ - assert ( - urls.iri_to_uri("http://föö.com:8080/bam/baz") - == "http://xn--f-1gaa.com:8080/bam/baz" |
