diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-02 06:15:54 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-02 06:15:54 +0000 |
| commit | 6d7bb17312246412f3dd221f46836547c63aa737 (patch) | |
| tree | 3965a2e1140ea087143d312ffbe869e029956111 /dev-python | |
| parent | 23e20941d9ab7c9e4679b83d9f38d617a2ce2985 (diff) | |
| download | baldeagleos-repo-6d7bb17312246412f3dd221f46836547c63aa737.tar.gz baldeagleos-repo-6d7bb17312246412f3dd221f46836547c63aa737.tar.xz baldeagleos-repo-6d7bb17312246412f3dd221f46836547c63aa737.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
44 files changed, 398 insertions, 169 deletions
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 6cbc5354ccb5..477197939959 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1 +1,2 @@ DIST apsw-3.45.3.0.gh.tar.gz 904570 BLAKE2B 644c884b6f5624c2d8b48f204a43bbb6dd8761979099e1ebad96a30acc7d79f80549e50300279b8d1061f86f8852735fa92c99df4a6c81a364391a3635464ff1 SHA512 73c09aba4ff211e98dfb3365e5f0202f85fa0a05e78f6a35fe08515e84b74ed1576e7bb5c46c77c309ba3e6acacc5681d31e5a4d3d66835d347d82af8feced74 +DIST apsw-3.46.0.0.gh.tar.gz 905622 BLAKE2B 364d3dd3a967d540f2db15fac60bb082f2bdc4fd012697be2b5b9a1cdba26f0a42697577369bf38a7e022e4c996e5b74cefcaa775618e54834e2cc4fc536e39d SHA512 cfa78dee273e64644e4ce9f0ec158342ed8fb2096e7ae7b8a28aa67016376d3f457ebcd5e612ced544d93980fc918de684e2eae3e570de082b7e613577fd021f diff --git a/dev-python/apsw/apsw-3.46.0.0.ebuild b/dev-python/apsw/apsw-3.46.0.0.ebuild new file mode 100644 index 000000000000..cd1426156f2e --- /dev/null +++ b/dev-python/apsw/apsw-3.46.0.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 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,12} ) + +inherit distutils-r1 + +DESCRIPTION="APSW - Another Python SQLite Wrapper" +HOMEPAGE=" + https://github.com/rogerbinns/apsw/ + https://pypi.org/project/apsw/ +" +SRC_URI=" + https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="doc" + +DEPEND=" + >=dev-db/sqlite-${PV%.*}:3 +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + cat >> setup.cfg <<-EOF || die + [build_ext] + enable=load_extension + use_system_sqlite_config=True + EOF +} + +python_test() { + esetup.py build_test_extension + cd "${T}" || die + "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/hypothesmith/Manifest b/dev-python/hypothesmith/Manifest deleted file mode 100644 index 37e577843743..000000000000 --- a/dev-python/hypothesmith/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST hypothesmith-0.2.0.tar.gz 24933 BLAKE2B 36c5296d2ab5d86a2dcde565bda16aff31de7f0be1cbc487ea2115e6e3baacf5ba740192885dd5a843d53c51932551574c0debd97f1b374a4e0bea48ec4204d4 SHA512 b82627897f0e07e6249ce2d3730134690dbe340b81632a1101b6b6b9a9ac6ccd0f350ba10f729349ef200b9243081f7f58eb760ccbcb4175adfcc5f411a8a045 diff --git a/dev-python/hypothesmith/hypothesmith-0.2.0.ebuild b/dev-python/hypothesmith/hypothesmith-0.2.0.ebuild deleted file mode 100644 index 3c209dd41862..000000000000 --- a/dev-python/hypothesmith/hypothesmith-0.2.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) # python3_11 depends on dev-python/libcst - -inherit distutils-r1 pypi - -DESCRIPTION="Hypothesis strategies for generating Python programs" -HOMEPAGE="https://github.com/Zac-HD/hypothesmith" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -src_prepare() { - default - sed -e '/-Werror/d' \ - -e '/--cov/d' \ - -i tox.ini || die -} - -RDEPEND=" - >=dev-python/hypothesis-5.41.0[${PYTHON_USEDEP}] - >=dev-python/lark-0.7.2[${PYTHON_USEDEP}] - >=dev-python/libcst-0.3.8[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - test? ( - dev-python/black[${PYTHON_USEDEP}] - dev-python/parso[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests --install pytest - -python_test() { - # https://github.com/Zac-HD/hypothesmith/issues/21 - local EPYTEST_DESELECT=( 'tests/test_cst.py::test_source_code_from_libcst_node_type' ) - epytest -} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..e9da2ac43cac 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 630fe63c6f53..c09b7356f549 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 736a1167c898..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,6 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - - <origin>gentoo-guru-overlay</origin> + <maintainer type="person"> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mkdocs-rss-plugin/Manifest b/dev-python/mkdocs-rss-plugin/Manifest index 3664e9ba16d1..8cbc4086f7fe 100644 --- a/dev-python/mkdocs-rss-plugin/Manifest +++ b/dev-python/mkdocs-rss-plugin/Manifest @@ -1 +1,2 @@ -DIST mkdocs-rss-plugin-1.12.1.gh.tar.gz 551494 BLAKE2B 37259e3207deb6bc8e231abd402fd962abcf81eb063b21751f4de89eeb0f9d300a53988e41a0461540214b046c9c72dd9e23e62548d8d19fbcc8aeaae09f88ab SHA512 ed1a8a25df800c6ab9632194c985c6bbbd5b43f0eb46c4bf39f9715e6f8a7264e8b0f80bb54acadddc17b7236ed44b93f69b8c04db58b16eb0a582f3be7b81f3 +DIST mkdocs-rss-plugin-1.12.2.gh.tar.gz 552019 BLAKE2B fc88dba9b81d351227606d5f0e255affa120d36e53fcbd0800c188380dbecc52b6638c6efb969e279d960c3246e6e503dc6abd2b8ea3ad54d0aeaf90ffcbf30d SHA512 537ca5e31860ab0164b6ef8bd1f20962064c6e31983e0e1d4be4a2176cdd00884d4862b7a2c9666f56aa194ea63ddb8fa462fb9e8df755c8c9d555a89b7b9909 +DIST mkdocs-rss-plugin-cache-1.12.2.gh.tar.gz 3913335 BLAKE2B 0c11a0cf29599335f24d935798393acfb9bec27a278f8c5be4ae7279ad6ab588b50daed2aa377fe48435798c41ae290b273a5bae94547cc5b162aba54aa649c7 SHA512 eba19c77f0c0f1052b86a4eb7910aeffbd68e86184b80d35a768c568cbc1178a4f91807469000005041defcf3b9707197d8938ab3edf6ce7832abc37d40fa00d diff --git a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.1.ebuild b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.2.ebuild index 9f0aadfe4592..b8204900dcfd 100644 --- a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.1.ebuild +++ b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.2.ebuild @@ -22,12 +22,15 @@ inherit distutils-r1 docs DESCRIPTION="MkDocs plugin to generate a RSS feeds." HOMEPAGE="https://github.com/Guts/mkdocs-rss-plugin https://pypi.org/project/mkdocs-rss-plugin" -SRC_URI="https://github.com/Guts/mkdocs-rss-plugin/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" +SRC_URI=" + https://github.com/Guts/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz + https://github.com/henri-gasc/${PN}-cache/archive/refs/tags/${PV}.tar.gz -> ${PN}-cache-${PV}.gh.tar.gz +" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -RESTRICT="doc? ( network-sandbox )" +# RESTRICT="doc? ( network-sandbox )" BDEPEND=" >=dev-python/GitPython-3.1[${PYTHON_USEDEP}] @@ -60,6 +63,7 @@ src_prepare() { -e 's/--cov-report=term//' \ -e 's/--cov-report=xml//' \ "${S}/setup.cfg" || die + cp "${WORKDIR}/${PN}-cache-${PV}/.cache" -rt "${S}" || die distutils-r1_src_prepare } diff --git a/dev-python/nagiosplugin/nagiosplugin-1.3.3.ebuild b/dev-python/nagiosplugin/nagiosplugin-1.3.3.ebuild index aa4af1d6fb21..b0e9f0a4687f 100644 --- a/dev-python/nagiosplugin/nagiosplugin-1.3.3.ebuild +++ b/dev-python/nagiosplugin/nagiosplugin-1.3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="ZPL" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" distutils_enable_tests pytest distutils_enable_sphinx doc dev-python/sphinx-rtd-theme diff --git a/dev-python/nose2/Manifest b/dev-python/nose2/Manifest index cafff1507ec3..0c87660f126f 100644 --- a/dev-python/nose2/Manifest +++ b/dev-python/nose2/Manifest @@ -1,2 +1,3 @@ DIST nose2-0.14.2.tar.gz 167874 BLAKE2B b2d1d1d026de10e9d73a312205b0562c377775016b8adea0b64213cb32930e9a58823021fa970f23e8acd79d2ea2a3df1f294732fcb2f96c454a2345f65091db SHA512 728d6c3f1c037630b6b3a4fc3012a488d91dfdcef5fe1d1f6473b317f71ac6ba16a33d33721de7422caec019eac00137e95190eb2c98edd67c4c5f7f8ee09440 DIST nose2-0.15.0.tar.gz 168825 BLAKE2B fc61b1be549cc725a05825cc801b23fa3055b13f745f63c5a1929b87724691001cf743248cb9606b6ae11b32090b99de0e583dac175141a6a6c9e5efb5a16099 SHA512 e0c1287aec4092fba55814bca8f5ac867d2ac0f9c9da15d6eb955007050b7e4beb2f211d049acc4dce9fa9990bc42468d01f2945cc358127295b60f9a5f998a6 +DIST nose2-0.15.1.tar.gz 169809 BLAKE2B a3ae7c3036fc50851f8cc47df3c5677a1d2333a664802aa03af16c2f600366b5b51b2f6ad6c0953977edf3d63b7e5ac593f2f1ce26382256a6b81680cba7e39b SHA512 118b1144369b72c6af4153b866d19253b31cb019407f8c4b9f80461b105be8851be7b6524a822da8ddca039f733510b5e5d7871608195d0fb8d7be9de1938762 diff --git a/dev-python/nose2/nose2-0.15.1.ebuild b/dev-python/nose2/nose2-0.15.1.ebuild new file mode 100644 index 000000000000..4d2b9fef90a0 --- /dev/null +++ b/dev-python/nose2/nose2-0.15.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 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,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Unittest with plugins" +HOMEPAGE=" + https://github.com/nose-devs/nose2/ + https://pypi.org/project/nose2/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-python/coverage-4.4.1[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme \ + dev-python/sphinx-issues + +python_test() { + "${EPYTHON}" -m nose2.__main__ -vv || die "tests failed under ${EPYTHON}" +} diff --git a/dev-python/patatt/Manifest b/dev-python/patatt/Manifest index f47898242522..e81c25d6431c 100644 --- a/dev-python/patatt/Manifest +++ b/dev-python/patatt/Manifest @@ -1 +1,2 @@ DIST patatt-0.6.2.tar.gz 34852 BLAKE2B 2dceb179dcb96d33f7ed3bfcdd96b69520cd413ee79bed4ecd09c6385b46a9b0c32fedf74d582d1aa7fb7aeb5d4e212a96c139b62a8ae155933271d7a2d8b493 SHA512 53140c71818fd0f101a0628b770e557a3c177cd0e7207d5933eb9e73b296dd870e9bb2ff9e77fd0b25652d937d98bb07a1413e555d466f3d108c01ddfdb06f3a +DIST patatt-0.6.3.tar.gz 34827 BLAKE2B ff9ac8bf9fd6c8b950bac1a97a57e5d413a579e004d690d17d6a1dff107f284e1abc51e649b14ff148c5cbb0816838c66bd3e33313deb2d1d05d18da174bc843 SHA512 c8947f5d2351a06f544e88aa334294f28b6cfb51302009dd6f462579b98f154e7d6e49197b49e2545e93d6b8339bd72408e79a998d934ebde42dda44c4c4cbf8 diff --git a/dev-python/patatt/patatt-0.6.3.ebuild b/dev-python/patatt/patatt-0.6.3.ebuild new file mode 100644 index 000000000000..847a9bc6c597 --- /dev/null +++ b/dev-python/patatt/patatt-0.6.3.ebuild @@ -0,0 +1,18 @@ +# Copyright 2021-2024 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,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A simple library to add cryptographic attestation to patches sent via email" +HOMEPAGE="https://pypi.org/project/patatt/" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND="dev-python/pynacl[${PYTHON_USEDEP}]" diff --git a/dev-python/pillow-heif/Manifest b/dev-python/pillow-heif/Manifest new file mode 100644 index 000000000000..23bec0d69da8 --- /dev/null +++ b/dev-python/pillow-heif/Manifest @@ -0,0 +1 @@ +DIST pillow_heif-0.15.0.tar.gz 14896461 BLAKE2B 0a92a31542fbd49ef87fe81208f66d9b725ae0c5c4d4194fa737dcf9fbd76898b9132e81cc843da583898d406bbc451c3cd991e6141c6c327f86d4305432fe49 SHA512 1025a987148d1785da02c9ffc19b3ab0ec9e44cafb10ff3cb3231ecb7c3f22c968e5b3583ed0c386a7747333562bf86fdfe4caf21599bc1c2942da6a27363fbb diff --git a/dev-python/pillow-heif/files/pillow-heif-0.15.0-respect-cflags.patch b/dev-python/pillow-heif/files/pillow-heif-0.15.0-respect-cflags.patch new file mode 100644 index 000000000000..0a3c021348ad --- /dev/null +++ b/dev-python/pillow-heif/files/pillow-heif-0.15.0-respect-cflags.patch @@ -0,0 +1,11 @@ +--- a/setup.py ++++ b/setup.py +@@ -206,7 +206,7 @@ + self._add_directory(library_dirs, "/usr/lib") + self._add_directory(library_dirs, "/lib") + +- self._update_extension("_pillow_heif", ["heif"], extra_compile_args=["-Ofast", "-Werror"]) ++ self._update_extension("_pillow_heif", ["heif"]) + + self.compiler.library_dirs = library_dirs + self.compiler.library_dirs + self.compiler.include_dirs = include_dirs + self.compiler.include_dirs diff --git a/dev-python/hypothesmith/metadata.xml b/dev-python/pillow-heif/metadata.xml index 736a1167c898..c0f74ac187e2 100644 --- a/dev-python/hypothesmith/metadata.xml +++ b/dev-python/pillow-heif/metadata.xml @@ -1,6 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="person"> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> + </maintainer> <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pillow-heif/pillow-heif-0.15.0.ebuild b/dev-python/pillow-heif/pillow-heif-0.15.0.ebuild new file mode 100644 index 000000000000..f50e02b94197 --- /dev/null +++ b/dev-python/pillow-heif/pillow-heif-0.15.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2024 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,12} ) +inherit distutils-r1 pypi + +DESCRIPTION="Python interface for libheif library" +HOMEPAGE=" + https://github.com/bigcat88/pillow_heif + https://pypi.org/project/pillow-heif/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + !test? ( + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/libheif:= + ) + test? ( + dev-python/pillow[webp,${PYTHON_USEDEP}] + media-libs/libheif:=[x265] + ) +" + +PATCHES=( "${FILESDIR}/${P}-respect-cflags.patch" ) + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + sed -i "s/=get_version()/=\"${PV}\"/" setup.py || die +} diff --git a/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild b/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild index c70f6ce0a367..3847a5e9da7f 100644 --- a/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild +++ b/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86" RDEPEND=">=dev-python/pyasyncore-1.0.2[${PYTHON_USEDEP}]" diff --git a/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild b/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild index b0aebf305959..0cb8d3d610b3 100644 --- a/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild +++ b/dev-python/pyasyncore/pyasyncore-1.0.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86" python_test() { # Can't use d_e_t unittest (bug #926964) diff --git a/dev-python/pycountry/Manifest b/dev-python/pycountry/Manifest index 0582d91d2b28..d9ff9a1249ba 100644 --- a/dev-python/pycountry/Manifest +++ b/dev-python/pycountry/Manifest @@ -1,2 +1,3 @@ DIST pycountry-22.3.5.tar.gz 10141551 BLAKE2B d645eade8ce9be3b99f4f2b189cc50c3395ecb3899ab9fa668066993abbfa576191cfcc05b7bb2764d088a86df492770bcc0a8834f04e6fde58a01defe8a1b14 SHA512 07dc507ee94f1880727761df197f81704386d9246163c9a5872f47083d37c7d1205dfbd28c6663ef0731a0b05277ade03a1a1929ab84087e0e85c05028c68b89 DIST pycountry-23.12.11.tar.gz 5927399 BLAKE2B a8d32593d80a881abd03b482a99afc22996a730d911577f91eb8035336f07a25a8cd74cd19f9396675acacbab953098bf831119f8b9f7c72fc6c2807713fe6c9 SHA512 25b5a74c0dd8115473571976a64b6fed7010f62c1b3b4c1888b9e13a7cf4f533173f51d4652d55c426adee4e0ff119bb6e3132d04dce150b9d1ca4b11366c579 +DIST pycountry-24.6.1.tar.gz 6043910 BLAKE2B 53e5f3bb89edb95a10cc7bef3d5cef463d957b9bd80da1aea57c274f76f9fc5f4848c9ceabcf97d369343a5bc39f6b8e7fb2e80344ff29ccd5856a4de9770b3b SHA512 36d8f68b830d74259a5f9ac1c9c97c1b228b0072613229e6f579ea5af587ab1cd25f0637a2cdd1dbf2ae8225e2aa2958d25f1e6df42d577da821d85c4c49ae93 diff --git a/dev-python/pycountry/pycountry-23.12.11.ebuild b/dev-python/pycountry/pycountry-23.12.11.ebuild index a2f3096dc07f..92ca3e531bae 100644 --- a/dev-python/pycountry/pycountry-23.12.11.ebuild +++ b/dev-python/pycountry/pycountry-23.12.11.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/pycountry/pycountry-24.6.1.ebuild b/dev-python/pycountry/pycountry-24.6.1.ebuild new file mode 100644 index 000000000000..9a45f077d94a --- /dev/null +++ b/dev-python/pycountry/pycountry-24.6.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Database of countries, subdivisions, languages, currencies and script" +HOMEPAGE=" + https://github.com/pycountry/pycountry/ + https://pypi.org/project/pycountry/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/importlib-metadata[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -o required_plugins= +} diff --git a/dev-python/pycpio/Manifest b/dev-python/pycpio/Manifest index 062e0fe9dd28..d338f8a36cea 100644 --- a/dev-python/pycpio/Manifest +++ b/dev-python/pycpio/Manifest @@ -1,2 +1,3 @@ DIST pycpio-1.0.0.tar.gz 17890 BLAKE2B beeec891fc17416280247e8a15373628f40be10946b596889b2d2a14d3e9ab5ee2014e6a4c6f5c4d612385f602e5ae14601cf0e379a165c2ed5d335832b3cfa2 SHA512 1ee2b09f01eab4b8adfd050845ff810b3da663386544321021de1b9a53b7846a31f3a6ab9e132fbffb9eeb04ad2b7b81235f59a333a63c3679d51755b822b320 DIST pycpio-1.1.2.tar.gz 18207 BLAKE2B acc92b626b5a110b8aa1672449fa1065283edfeb300c406b654e5a045bc554d9f79d3cd8f7edb53142405e600ceec21fa811a863907af3464d310482aa3fc528 SHA512 9a420edabec91e633b618f68878942d047d851eecad861255705f3db3f9fa8d14fa364f19320eb22758bbb7f1b23e7231b5db7aca117e670286e73f1dcb289ce +DIST pycpio-1.1.3.tar.gz 18239 BLAKE2B b96184de31dc1c5a5c5c663dbc796d7ab540d81968647a9c6fc050b8ef52ea50dc9d86d70c8d0f954f45dce10a859e553cc596015824aae01afa5d8c3baf8632 SHA512 6421a5c5102d5954022873736fd637bb04141c5a1b4276bbf90c53f9c212d1e29889a58ee05c131a3f3d9829446fb7a9e3d4625c094adb98fa38595041ccd52f diff --git a/dev-python/pycpio/pycpio-1.1.3.ebuild b/dev-python/pycpio/pycpio-1.1.3.ebuild new file mode 100644 index 000000000000..feca53440495 --- /dev/null +++ b/dev-python/pycpio/pycpio-1.1.3.ebuild @@ -0,0 +1,18 @@ +# Copyright 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,12} ) +inherit distutils-r1 + +DESCRIPTION="Python CPIO library" +HOMEPAGE="https://github.com/desultory/pycpio" +SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +DEPEND=">=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}]" diff --git a/dev-python/pypax/pypax-0.9.5-r2.ebuild b/dev-python/pypax/pypax-0.9.5-r2.ebuild index 694567ec5c13..b1e06c5cb9e1 100644 --- a/dev-python/pypax/pypax-0.9.5-r2.ebuild +++ b/dev-python/pypax/pypax-0.9.5-r2.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]] ; then inherit git-r3 else SRC_URI="https://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc x86" S="${WORKDIR}/elfix-${PV}" fi diff --git a/dev-python/pyrr/pyrr-0.10.3.ebuild b/dev-python/pyrr/pyrr-0.10.3-r1.ebuild index e6bd0af7f343..deb784908c49 100644 --- a/dev-python/pyrr/pyrr-0.10.3.ebuild +++ b/dev-python/pyrr/pyrr-0.10.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ IUSE="doc" RDEPEND=" dev-python/multipledispatch[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] + <dev-python/numpy-2[${PYTHON_USEDEP}] " BDEPEND=" ${RDEPEND} diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest index dd6b7a14c591..e3bb896ef89f 100644 --- a/dev-python/pyscard/Manifest +++ b/dev-python/pyscard/Manifest @@ -1 +1,2 @@ +DIST pyscard-2.0.10.tar.gz 153351 BLAKE2B fb600032321ac0bd372c7aa8fcdd82273af9edcfb51eb5d455296a2a685a291e442209d5c59d60b81cdd8cb3b0699f733e41528fe06ed827558146ba4085c97d SHA512 231d5abc0ad31ae7f0e394f928045346323f1040b313394a3d235282feb79bfec0d124ebde84017178dfa1983beadfb245a33bfa6a75b4fab9e65c3090b9e9cb DIST pyscard-2.0.9.tar.gz 153513 BLAKE2B 00a7676cb0d987b7a6cd0c2cdf061e4e4405c78a0289d0c46abe95461b19d61a964792f69fe2a2f268653d332e8c21f17d03a8f3b05456df8475b0c51370830c SHA512 0503c29dfd288237eb17fae2a6387cdfce5e34a3aa6cdbdf58aef04ad91ab232d14d78b999fd1d4b7d7c8ad6282fa0d7983a65030f896f1e8098597f182b10cc diff --git a/dev-python/pyscard/pyscard-2.0.10.ebuild b/dev-python/pyscard/pyscard-2.0.10.ebuild new file mode 100644 index 000000000000..eb9130e83cf3 --- /dev/null +++ b/dev-python/pyscard/pyscard-2.0.10.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 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,12} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Smart card support in python" +HOMEPAGE=" + https://pyscard.sourceforge.io/ + https://github.com/LudovicRousseau/pyscard/ + https://pypi.org/project/pyscard/ +" +SRC_URI=" + https://downloads.sourceforge.net/project/pyscard/pyscard/pyscard%20${PV}/${P}.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +DEPEND=" + sys-apps/pcsc-lite +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-lang/swig +" + +distutils_enable_tests unittest + +pkg_postinst() { + optfeature "Gui support" dev-python/wxpython + optfeature "Support of remote readers with Pyro" dev-python/Pyro4 +} + +python_test() { + cd test || die + eunittest +} diff --git a/dev-python/pyside6-tools/pyside6-tools-6.7.1.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.7.1.ebuild index 4f9463118644..3b6dcfe756cf 100644 --- a/dev-python/pyside6-tools/pyside6-tools-6.7.1.ebuild +++ b/dev-python/pyside6-tools/pyside6-tools-6.7.1.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/pyside-tools" LICENSE="GPL-2" SLOT="6/${PV}" -KEYWORDS="~amd64" +KEYWORDS="amd64 ~arm ~arm64" REQUIRED_USE="${PYTHON_REQUIRED_USE}" # Minimal supported version of Qt. diff --git a/dev-python/pyside6/pyside6-6.7.1.ebuild b/dev-python/pyside6/pyside6-6.7.1.ebuild index c96778966a94..e3bfdcbf257d 100644 --- a/dev-python/pyside6/pyside6-6.7.1.ebuild +++ b/dev-python/pyside6/pyside6-6.7.1.ebuild @@ -39,7 +39,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/pyside6" # x11extras (for X) LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )" SLOT="6/${PV}" -KEYWORDS="~amd64" +KEYWORDS="amd64 ~arm ~arm64" IUSE=" 3d bluetooth charts +concurrent +dbus designer gles2-only +gui help location multimedia +network network-auth nfc positioning +opengl pdfium positioning diff --git a/dev-python/sh/Manifest b/dev-python/sh/Manifest index dd3d6cdd60d5..0920adb67b01 100644 --- a/dev-python/sh/Manifest +++ b/dev-python/sh/Manifest @@ -1 +1,2 @@ DIST sh-2.0.6.tar.gz 345496 BLAKE2B 2352aa1c560a95e59446473658d0a95609f594417c8840c84cf1d65590aa94c2225dcd8782e75d82e92cdbf86f21dbbe03a1818a5ef1800a39444ce2918bc90b SHA512 717dae58ebd08b3a86e0d30ba2a6f3055592844d064265280b97a1d29bd7d0422c9e5500b6eb999cc1a97c1c2af04cf8ed214670bc08cb2bc45e418f69560c1d +DIST sh-2.0.7.tar.gz 345477 BLAKE2B a7eb24e5cdc4543b5a44a523b101b5b103ad1fc26664b659cf84921d50112bac1a49d7ea19889d2157b2df941b67840373a9a4bc63e2cb7f94bb4cdfac85819c SHA512 331a3bdc027eeac7100ae6318a579c85fb11ce0e1922d1078c2f09b0523733b146a9bd5b9f030a2da23e3d2bb2a6970bd451d53224259967efdcf99e949f7b9f diff --git a/dev-python/sh/sh-2.0.7.ebuild b/dev-python/sh/sh-2.0.7.ebuild new file mode 100644 index 000000000000..579ee607c378 --- /dev/null +++ b/dev-python/sh/sh-2.0.7.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python subprocess interface" +HOMEPAGE=" + https://github.com/amoffat/sh/ + https://pypi.org/project/sh/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests unittest + +python_test() { + local -x SH_TESTS_RUNNING=1 + eunittest -p "*_test.py" +} diff --git a/dev-python/shiboken6/shiboken6-6.7.1.ebuild b/dev-python/shiboken6/shiboken6-6.7.1.ebuild index 6da93fb6323a..daabf0fdabe6 100644 --- a/dev-python/shiboken6/shiboken6-6.7.1.ebuild +++ b/dev-python/shiboken6/shiboken6-6.7.1.ebuild @@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6" # arbitrarily relicensed. (TODO) LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3" SLOT="6/${PV}" -KEYWORDS="~amd64" +KEYWORDS="amd64 ~arm ~arm64" IUSE="+docstrings numpy test vulkan" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index a60f57e58e98..4ce74d43c3ee 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,4 +1,3 @@ -DIST stripe-9.6.0.tar.gz 1265189 BLAKE2B d5b37cc8c7ee8597b80f9920e782e6eda5ff6905f8b303c4344b345c73c80a37eb1cd8dc9cc30d7321c58070cc5b0180144964d5f285edcff031cb0655b41409 SHA512 d93349c85791abec7d691c2aa726996e3110117dfda5608aa63e39463399200a4f8427dc609fc2a32c7eea005e4a79fd93cffa76762e0914efcd89b83baa58c2 DIST stripe-9.7.0.tar.gz 1268225 BLAKE2B 2ae512fa7f24966166e2d64a8e4e9f23077d0d0318c6f85e4b922b59fbf66e7bf884567d86270c96911a82b51ecfd72312dfd42d335801e9dd40a1912150e8f0 SHA512 5c36ca6447f5d4947b0e069fe5d4fa30ce2cf11768efa8abb70fcc9a69bd104fe085707a463d566abb5417f9dd4b6cb1d3bab132d20616267931fd895544236e DIST stripe-9.8.0.tar.gz 1268721 BLAKE2B 12eeb333a51e71f39c366dda1a4bf82c15f7c3673fc4d27c0e25b978a19902b722d44d5b0f17c017638740cb95f353a024f5012ad70b13c0ac7f7b420df4b082 SHA512 3b19ba9709818af12ba2110b32232c9a33f3a43ce33dfeb8a1e0a7c8a2d643f96795ef474ccdef9e780c1ab58bfa3e687105311cc1d5d24c2984d442d539706b DIST stripe-9.9.0.tar.gz 1272880 BLAKE2B 222cc85453d6ed184c7b945d55ca2d35fb5327b3005c04b97d57ab14d44174394f4c7a03d8ed699297cd1b8a7d2e38a1265e66efe07a6c71abefcea7b36df2cc SHA512 49c783e4365e2cc04fbeef66e2678e5e596899cbc90b1edc2192cc7aac6590a138a7315bb2e0f5f504f6a81b7bc3dd8ee7dfb9777d7780d9944b129b0b8e0d2d diff --git a/dev-python/stripe/stripe-9.6.0.ebuild b/dev-python/stripe/stripe-9.6.0.ebuild deleted file mode 100644 index 7e27243e412c..000000000000 --- a/dev-python/stripe/stripe-9.6.0.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2024 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,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stripe python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="telemetry" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.185.0 - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/anyio[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -src_prepare() { - if ! use telemetry; then - sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die - fi - # https://github.com/stripe/stripe-python/pull/1297 - sed -e 's:from mock:from unittest.mock:' \ - -i tests/test_http_client.py || die - distutils-r1_src_prepare -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -p anyio -p pytest_mock -} - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & - local stripe_mock_pid=${!} - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null - eend ${?} "Port ${stripe_mock_port} unavailable" - if [[ ${?} -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - local -x STRIPE_MOCK_PORT=${stripe_mock_port} - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest index 42b57b5dcde7..0817aca3d675 100644 --- a/dev-python/textual/Manifest +++ b/dev-python/textual/Manifest @@ -1 +1 @@ -DIST textual-0.62.0.gh.tar.gz 28258058 BLAKE2B bc9cab701beb5a0a7ce01c845c95ec00b13d1843b2fbca69f1a7e5bf1fe8df13afaa4735d88731857f3561b46ad2948e67489b14337e69b0fb0ec4e2fb71592b SHA512 e03a00abf647500e0233ea24378691b16296c5827a476b9f5530f0fcc83e9c36cf94ec7839a8eb58c2bb1a570ec8bc8b4b6c478e9249055b2d40b47429300111 +DIST textual-0.63.6.gh.tar.gz 28258385 BLAKE2B 4cdb85407db92888a632946d1386454b2b82307a4270acdf301ec325a936439a1f012de8fbe5dc7e07880601e23ae99599b4249fde3b1af5622567d485f25a9a SHA512 89c6773c19779af4dbb23c6c079921a2742b80d77e110403491dd1888dcac6ffc1e32098cbceff465feea63d56a1cd49ff5c16e3cffb663da2ac248c988a8496 diff --git a/dev-python/textual/textual-0.62.0.ebuild b/dev-python/textual/textual-0.63.6.ebuild index 09aa9caf9999..09aa9caf9999 100644 --- a/dev-python/textual/textual-0.62.0.ebuild +++ b/dev-python/textual/textual-0.63.6.ebuild diff --git a/dev-python/tlsh/Manifest b/dev-python/tlsh/Manifest index 2425a1db29ee..7f54384d66a4 100644 --- a/dev-python/tlsh/Manifest +++ b/dev-python/tlsh/Manifest @@ -1 +1,2 @@ +DIST tlsh-4.8.2.gh.tar.gz 3345458 BLAKE2B 27d5eece16bb36225b9ae8b3d3a9d055a0f214fffae08a58c39211c3d918dd842497315a62237b291ee1055dfadad78826bbd24f7b9d88f510e9a31f74654039 SHA512 5355c7734f5356a3a7a31ccc078254835871fc0369f1889a34131a0f810735201c68f674eb18e975b6a03a32e5c284899ca9ffdc1f583e42192188c172d2aad0 DIST tlsh-4.8.2.tar.gz 3345458 BLAKE2B 27d5eece16bb36225b9ae8b3d3a9d055a0f214fffae08a58c39211c3d918dd842497315a62237b291ee1055dfadad78826bbd24f7b9d88f510e9a31f74654039 SHA512 5355c7734f5356a3a7a31ccc078254835871fc0369f1889a34131a0f810735201c68f674eb18e975b6a03a32e5c284899ca9ffdc1f583e42192188c172d2aad0 diff --git a/dev-python/tlsh/files/tlsh-4.8.2-r1-py312.patch b/dev-python/tlsh/files/tlsh-4.8.2-r1-py312.patch new file mode 100644 index 000000000000..56c4766bd711 --- /dev/null +++ b/dev-python/tlsh/files/tlsh-4.8.2-r1-py312.patch @@ -0,0 +1,25 @@ +Use PyVarObject_HEAD_INIT instead PyObject_HEAD_INIT + +--- a/tlshmodule.cpp ++++ b/tlshmodule.cpp +@@ -59,7 +59,7 @@ + #include <Python.h> + #include <new> + #include <bytesobject.h> +-#include "tlsh.h" ++#include <tlsh/tlsh.h> + + // to generate the "T1" hashes introduced in TLSH 4.0.0 + // see 4.0.0 from 26/Mar/2020 at https://github.com/trendmicro/tlsh/blob/master/Change_History.md +@@ -286,10 +286,7 @@ static PyGetSetDef Tlsh_getsetters[] = { + }; + + static PyTypeObject tlsh_TlshType = { +- PyObject_HEAD_INIT(NULL) +-#if PY_MAJOR_VERSION < 3 +- 0, /* ob_size */ +-#endif ++ PyVarObject_HEAD_INIT(NULL, 0) + "tlsh.Tlsh", /* tp_name */ + sizeof(tlsh_TlshObject), /* tp_basicsize */ + 0, /* tp_itemsize */ diff --git a/dev-python/tlsh/tlsh-4.8.2-r1.ebuild b/dev-python/tlsh/tlsh-4.8.2-r1.ebuild new file mode 100644 index 000000000000..bfa8b13f519a --- /dev/null +++ b/dev-python/tlsh/tlsh-4.8.2-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2024 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,12} ) +DISTUTILS_EXT=1 +inherit distutils-r1 + +DESCRIPTION="Fuzzy matching library - C++ extension for Python" +HOMEPAGE="https://pypi.org/project/python-tlsh/" +SRC_URI="https://github.com/trendmicro/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +S=${WORKDIR}/${P}/py_ext + +LICENSE="|| ( Apache-2.0 BSD )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86" + +DEPEND="dev-libs/tlsh" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-setup-sources.patch + "${FILESDIR}"/${P}-r1-py312.patch +) + +python_test() { + "${EPYTHON}" test.py test.py test.py &> /dev/null || die +} diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest index 7dcd3442b2d9..45cec6d0e3bb 100644 --- a/dev-python/typing-extensions/Manifest +++ b/dev-python/typing-extensions/Manifest @@ -2,3 +2,4 @@ DIST typing_extensions-12e901ed0cb8a826726357f8020cf3837d961e15.gh.tar.gz 95229 DIST typing_extensions-4.11.0.tar.gz 78744 BLAKE2B 641d4a13fcd10151a0b7059d11393c78974883710a860805dc132a148677c80a0be06dc32f66cffc4ae2dd838c607bdaa8d3f44e4e3cf55848d2a315bd74ce5a SHA512 d795fadbe9c0a24c4d3190f375d72576f5b42a14dc3a999127c1356f2ae77d4bffdc04a23b7a05331cc8b703a81f504328aaf5d6c1247ea24cbeed25dccb0a37 DIST typing_extensions-4.12.0.tar.gz 84291 BLAKE2B 96ebdf7ea479fb96e106e79782845380dcb1323265bf4931d26e1c09c09519c6712cbff9270a97ab45e26e61b48d5fb57f44c3ec6651eec29ef724b5896046e0 SHA512 da9d983f320ae4c7f386ab2bcaf57a881ff2b6bb6030618f270195ce9f905f2cbaf4f67c40311f21c096bedc014b7717c014f142f33fd25bf8e41803ac12bc4a DIST typing_extensions-4.12.0rc1.tar.gz 83702 BLAKE2B 5f8faaf15bb975f84fc4e217ab1ef9aaa3526dbfc3e17150a1b94cade70e19b27d9e0b637b175aae108719dd234a972c53696e96f7d6b5e96c626c31ded68123 SHA512 a0ce4d62695facb9ad11a4719ea31a0d5f95ca10eee939fb9b3fde8bae963e343a6779e7f5507af7f8751cf0b944d703110bcb18a345f020923ff5ebac54bc9e +DIST typing_extensions-4.12.1.tar.gz 84923 BLAKE2B aff356290f0d138d29d0e52e8530e0b3ff11f8e53cceac97609f99d4a1ca062eb628b53b202626a538c16c511cbe5909f735740c5b15de049fec58e4bb5adfd9 SHA512 b9084010de271f0193181c77c4a74d72d207a6484d2ccec9f5162cfb288c38a6f7c9d844804e907816ca9a0d2f2aa7a8afcb9b377f7734a2fa927281744b0106 diff --git a/dev-python/typing-extensions/typing-extensions-4.12.1.ebuild b/dev-python/typing-extensions/typing-extensions-4.12.1.ebuild new file mode 100644 index 000000000000..d550b7e7a05b --- /dev/null +++ b/dev-python/typing-extensions/typing-extensions-4.12.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2024 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,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Backported and Experimental Type Hints for Python 3.7+" +HOMEPAGE=" + https://pypi.org/project/typing-extensions/ + https://github.com/python/typing_extensions/ +" + +LICENSE="PSF-2" +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" + +distutils_enable_tests unittest + +python_test() { + cd src || die + eunittest +} |
