From 86e8fba0552216709bfe1f01a2237346d2b1098d Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 1 Oct 2022 12:43:37 +0000 Subject: Adding metadata --- dev-python/Levenshtein/Levenshtein-0.20.3.ebuild | 38 ------- dev-python/Levenshtein/Levenshtein-0.20.4.ebuild | 38 ------- dev-python/Levenshtein/Manifest | 2 - dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.24.84.ebuild | 68 +++++++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.27.84.ebuild | 72 ++++++++++++ dev-python/dask/Manifest | 1 + dev-python/dask/dask-2022.9.2.ebuild | 61 ++++++++++ dev-python/fonttools/Manifest | 1 + dev-python/fonttools/fonttools-4.37.4.ebuild | 66 +++++++++++ dev-python/furo/Manifest | 1 + dev-python/furo/furo-2022.9.29.ebuild | 38 +++++++ dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.55.0.ebuild | 76 +++++++++++++ dev-python/jarowinkler/Manifest | 2 - dev-python/jarowinkler/jarowinkler-1.2.1.ebuild | 39 ------- dev-python/jarowinkler/jarowinkler-1.2.2.ebuild | 39 ------- dev-python/meson-python/Manifest | 3 +- .../meson-python/meson-python-0.6.0-r1.ebuild | 50 --------- dev-python/meson-python/meson-python-0.7.0.ebuild | 45 -------- dev-python/meson-python/meson-python-0.9.0.ebuild | 46 ++++++++ dev-python/mkdocs-material/Manifest | 1 + .../mkdocs-material/mkdocs-material-8.5.4.ebuild | 41 +++++++ dev-python/networkx/networkx-2.8.6.ebuild | 2 +- dev-python/pymdown-extensions/Manifest | 1 + .../pymdown-extensions-9.6.ebuild | 59 ++++++++++ dev-python/rapidfuzz/Manifest | 3 - .../files/rapidfuzz-2.9.0-test-pandas.patch | 35 ------ dev-python/rapidfuzz/rapidfuzz-2.10.0.ebuild | 46 -------- dev-python/rapidfuzz/rapidfuzz-2.10.1.ebuild | 45 -------- dev-python/rapidfuzz/rapidfuzz-2.9.0.ebuild | 50 --------- dev-python/sphinx/Manifest | 1 + dev-python/sphinx/sphinx-5.2.3.ebuild | 125 +++++++++++++++++++++ dev-python/unidecode/Manifest | 1 + dev-python/unidecode/unidecode-1.3.6.ebuild | 21 ++++ dev-python/weasyprint/weasyprint-55.0.ebuild | 5 +- dev-python/weasyprint/weasyprint-56.0.ebuild | 5 +- dev-python/weasyprint/weasyprint-56.1.ebuild | 5 +- dev-python/xarray/Manifest | 1 + dev-python/xarray/xarray-2022.9.0.ebuild | 40 +++++++ 41 files changed, 738 insertions(+), 438 deletions(-) delete mode 100644 dev-python/Levenshtein/Levenshtein-0.20.3.ebuild delete mode 100644 dev-python/Levenshtein/Levenshtein-0.20.4.ebuild create mode 100644 dev-python/boto3/boto3-1.24.84.ebuild create mode 100644 dev-python/botocore/botocore-1.27.84.ebuild create mode 100644 dev-python/dask/dask-2022.9.2.ebuild create mode 100644 dev-python/fonttools/fonttools-4.37.4.ebuild create mode 100644 dev-python/furo/furo-2022.9.29.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.55.0.ebuild delete mode 100644 dev-python/jarowinkler/jarowinkler-1.2.1.ebuild delete mode 100644 dev-python/jarowinkler/jarowinkler-1.2.2.ebuild delete mode 100644 dev-python/meson-python/meson-python-0.6.0-r1.ebuild delete mode 100644 dev-python/meson-python/meson-python-0.7.0.ebuild create mode 100644 dev-python/meson-python/meson-python-0.9.0.ebuild create mode 100644 dev-python/mkdocs-material/mkdocs-material-8.5.4.ebuild create mode 100644 dev-python/pymdown-extensions/pymdown-extensions-9.6.ebuild delete mode 100644 dev-python/rapidfuzz/files/rapidfuzz-2.9.0-test-pandas.patch delete mode 100644 dev-python/rapidfuzz/rapidfuzz-2.10.0.ebuild delete mode 100644 dev-python/rapidfuzz/rapidfuzz-2.10.1.ebuild delete mode 100644 dev-python/rapidfuzz/rapidfuzz-2.9.0.ebuild create mode 100644 dev-python/sphinx/sphinx-5.2.3.ebuild create mode 100644 dev-python/unidecode/unidecode-1.3.6.ebuild create mode 100644 dev-python/xarray/xarray-2022.9.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Levenshtein/Levenshtein-0.20.3.ebuild b/dev-python/Levenshtein/Levenshtein-0.20.3.ebuild deleted file mode 100644 index de2d6d7b0435..000000000000 --- a/dev-python/Levenshtein/Levenshtein-0.20.3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Functions for fast computation of Levenshtein distance, and edit operations" -HOMEPAGE=" - https://pypi.org/project/Levenshtein/ - https://github.com/maxbachmann/Levenshtein/ -" -SRC_URI=" - https://github.com/maxbachmann/Levenshtein/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - >=dev-cpp/rapidfuzz-cpp-1.0.4 -" -RDEPEND=" - =.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest index 7ac7d3164dbe..c5001e8399f1 100644 --- a/dev-python/dask/Manifest +++ b/dev-python/dask/Manifest @@ -1,3 +1,4 @@ DIST dask-2022.8.1.gh.tar.gz 8759920 BLAKE2B bc84706772072a1df2a1c0089f9bc1332a0110430f1c6f2e120e76f565b0666fb0f7f9ac6c25da356f2825e0cd8dfa5b2ef7998d3a231aefc41a5ce09980a22a SHA512 ba042cf069b88c752a371a6ea2df69dd75dabd934befa2d91f4e1e754ad197a14369935452125a621d14527e0d6a0a3a2abdee8f127aa05c6c812116cb27dc3e DIST dask-2022.9.0.gh.tar.gz 8762083 BLAKE2B 60c7a37124b61b49fc06a754b5842695fd63d234e087ec44a40793aeb330034e0d5e3caaedd239fd498a9b01c2bc450f62cdc22848bfd654bfdab6a07d9be7de SHA512 a88f71b9e8cdc69ce3a4babbc2434f830110df284d56eec37cadb6b81add3cd5f2e751ea5e9b390d112d16ee0952c296368851889fec202e3601c2fcf8f52a97 DIST dask-2022.9.1.gh.tar.gz 8766675 BLAKE2B da4735dd860b96d691bbe3782ce04fb4e53a265984dc52593ecd1cbd1a1e536ad2677998e01bcfa99d783255ce053a44c4ed4cb0ce83128520755c20530bca3f SHA512 944d333bbe2f946b85173d289e287737816359a959b61d9bf2b9ef0f75173482a2912355fd71f8a8aa29e58f5b66a91909dc53c1cd269ab2bc569bad62a67f6c +DIST dask-2022.9.2.gh.tar.gz 8767605 BLAKE2B ad0d9b7f849f984316768f1d1983e13177c3263b6803ce6d861b15b8d88c21c7dce4dae917ca28f8688797573503c6fd518816ca7d993d67c56172ef2adc73ec SHA512 467411933432821413f8440e6434b18c2bf76c616a92ec990bc71c141ea2cab235c1330e888ed77f429b6d00d588042928cd3b06d9b693d51302cf8c114700dd diff --git a/dev-python/dask/dask-2022.9.2.ebuild b/dev-python/dask/dask-2022.9.2.ebuild new file mode 100644 index 000000000000..f4df7681b488 --- /dev/null +++ b/dev-python/dask/dask-2022.9.2.ebuild @@ -0,0 +1,61 @@ +# 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 + dask/array/tests/test_linalg.py::test_solve_assume_a + "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[0-float-5-1-True]" + "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[1-float-5-1-True]" +) + +python_test() { + epytest -p no:flaky -m "not network" +} diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index cf91244a6d0d..a9a33376ca92 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,3 +1,4 @@ DIST fonttools-4.36.0.gh.tar.gz 3567028 BLAKE2B 45c2481680a314e101ed3a14915585b503a15853937846a5ceadd15e524f053663e0c6876bb105b0f2593ac790029da48cbede8139be98809764e5a6e3e2b11a SHA512 48a07548f72e9818292c1552675fce94b8ecb876172cd7adb429426c1d987f54a6e0482b7847e48c3b9854821567023cce402c613488d9e17277eff8a615d3c2 DIST fonttools-4.37.2.gh.tar.gz 3593663 BLAKE2B d0e6e7beb370a8611f6c92cb3c0d253cda1a946985dee12d1e911a33d45415e15ecdadd2be3eef3d121ffc27a450ed19bcea7c5b19f562af206ea6207b0c7dee SHA512 5850c31f68a6a7e1476644938ccb69d1213eb218a966a67c72f41fbbbc63cf5ed2f9638ce9497fd0702308ebf5637fc471b32a44b2ebcfbb9f4d3c2898dd626b DIST fonttools-4.37.3.gh.tar.gz 3594598 BLAKE2B bd2c347e1542c2be4136c75804d95ddc1514c4b131f6754467e4229928391f607d206b6edff1fbce62d270801adac3d53fa187a06983dec6d44c699029a8e47e SHA512 7e8f9d68d59e6e842f2cc7acabd4188a1f5b1beb3437148ecb4ced1144eca5ae6af64c501b8ffedb780c72d84c73d7363d7d6ef3b3fc829bad27cba0c15c5ca9 +DIST fonttools-4.37.4.gh.tar.gz 3595501 BLAKE2B 0b3e9e40ca73e1a612d632116c57d1ef9d641a759bdc570c3389ee603b0d8d98974a41fc0339e6dd4ec0cdbfdb9c5905afcf28b33e39eac6c4dcdba6fe64e860 SHA512 9e9c49732ca1e16a8d5b294423939297278d544456b37f5fd3b1f3eece8d9100834f8d7a8dee5908006a27419fbda06180ac588de5046a59fb243d728314939c diff --git a/dev-python/fonttools/fonttools-4.37.4.ebuild b/dev-python/fonttools/fonttools-4.37.4.ebuild new file mode 100644 index 000000000000..8b0e4df16c01 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.37.4.ebuild @@ -0,0 +1,66 @@ +# 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} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + app-arch/brotli[python,${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +src_configure() { + export FONTTOOLS_WITH_CYTHON=1 +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + epytest Tests fontTools || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/furo/Manifest b/dev-python/furo/Manifest index 48dd62bdb72f..0eb48662e643 100644 --- a/dev-python/furo/Manifest +++ b/dev-python/furo/Manifest @@ -1,2 +1,3 @@ DIST furo-2022.6.21-py3-none-any.whl 323874 BLAKE2B aac38e9aaa8d4fc6fdb00a7da9df8781b18229146970a005077075b0049b6493f280377ed735e9dd5425fdce0c43f8cad5b149957018d9a084ad83c5e5fcabeb SHA512 096c9fd0a18c8c4263607a77703412fcc5d7334b08bb6c448e5369b93572f2176f7fbe3fc7eb0b8c72f09d00eeca379debfec2f6565305d2f5e1bd0518af1558 DIST furo-2022.9.15-py3-none-any.whl 326084 BLAKE2B 2c0fe323fb35ddc3660dd7d0b2d70bb4ab7dcfabfab894faf93651bf3b34cbd53028bde7f2eb5f9c153db5e3a460fa58df0d69c05c2e059b35dfbeee7ec00adc SHA512 a20c44d0265bd341ff08db5aa158c440b6f0b74d3fb3ef41385da73db2f75373e23f7635b829b9cee037a7f9a4987a09510cbbb328c35abe09d789061e408b2a +DIST furo-2022.9.29-py3-none-any.whl 326787 BLAKE2B ef558aae586d2f189a0ec24e4dc5b8422167829ed8a917b276dcdac4ce7bcc12bdf9855b8fe6a75767b094e4e35b30b2eacd227b5d585de32845f2299f3acab1 SHA512 4ab394a006011ced6d74f696a49973628220719d1f8c1e5ae49b2a0c62dd3cc961f7a18d654bffcf385b07b6bc556930de5a5741c1e0dc9d7b6b6f4cc2cfc885 diff --git a/dev-python/furo/furo-2022.9.29.ebuild b/dev-python/furo/furo-2022.9.29.ebuild new file mode 100644 index 000000000000..594ef33fc2c9 --- /dev/null +++ b/dev-python/furo/furo-2022.9.29.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# sphinx-theme-builder is completely unusable, as it requires pinning +# to a very-specific nodejs version number, and ofc loves fetching +# everything from the Internet + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Clean customisable Sphinx documentation theme" +HOMEPAGE=" + https://pypi.org/project/furo/ + https://github.com/pradyunsg/furo/ +" +SRC_URI=" + https://files.pythonhosted.org/packages/py3/${PN::1}/${PN}/${P}-py3-none-any.whl +" +S=${WORKDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-basic-ng[${PYTHON_USEDEP}] +" + +python_compile() { + distutils_wheel_install "${BUILD_DIR}/install" \ + "${DISTDIR}/${P}-py3-none-any.whl" +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 206c47573fe6..b97448364e34 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,2 +1,3 @@ DIST hypothesis-6.54.5.gh.tar.gz 9325448 BLAKE2B b4cb8a413ad96f11f4dbf4a1a529e389dbca45561264cf0922721a25009d1065fdce21064faf53bd7aad2f589c159b52d899aa7b12c12da68beae8c9186c0505 SHA512 37205ea28b44537409a94592e466376e9612f84a8501ad2ff5504fc648e062555ffb600416bdd1f9a74f39ba39729defd581025e0611c501839721721f7cf6e3 DIST hypothesis-6.54.6.gh.tar.gz 9325898 BLAKE2B 01dde1d57192ede0a732ba2a50954fb6b1a1532e584715186f813977b2f22fd3411ec489874da67e687ca470ac58340dc45b821923ab01b03888c44a7882c0c0 SHA512 d678d0936c7906c839c29ad6c08154a067f8be2e18344139051ecc4b5c737f5088d2775a25758da2e29b74574b47c5f817643ccb762db851bc2b25e4fdbb3259 +DIST hypothesis-6.55.0.gh.tar.gz 9330281 BLAKE2B 63f967496ed96e945579390d20eefb4d533caac80a05dc2fb3aa82bcca232d629802a9a37c73eb5ca8685530021794a1d0507e86fda90714be4de863ac20bcdb SHA512 2c013b2c8cd4682e1c6ef61dff63ee14d0f306815e83165cbb25dff2d5f5cf456a1567c8df669497f2e3d981222da9eba4ea94fc9b88519045ac458249ff6e0d diff --git a/dev-python/hypothesis/hypothesis-6.55.0.ebuild b/dev-python/hypothesis/hypothesis-6.55.0.ebuild new file mode 100644 index 000000000000..c89124eae10e --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.55.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + + epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/jarowinkler/Manifest b/dev-python/jarowinkler/Manifest index e63d74f97dce..8c85a4eb9d45 100644 --- a/dev-python/jarowinkler/Manifest +++ b/dev-python/jarowinkler/Manifest @@ -1,3 +1 @@ -DIST jarowinkler-1.2.1.tar.gz 85696 BLAKE2B 4e9c4dd4160a80fa600ae57c7cc97abd794bb0a49881137ed3f69c03549268bbf71dc410b86f8bd782b92df4eac63738ebd32dd716d682a0ce8aaaf039a38f61 SHA512 1337a5f67e54a0c0990dde7fc631c263b63c64c7dbefae82579842a639a85ea7214185489d56b6e2be5a6362773fbaea29a958f62dbfa270beefba516c325654 -DIST jarowinkler-1.2.2.tar.gz 85899 BLAKE2B f070be3b6fe69159c63cb37261bb8e837fc5f621b438405cd29de8f037f1848d0e27175c47a27a12895ca7ccf66681ed1ebc67c1f81d59e101c5acb1e665bcf6 SHA512 956eed36d4cdf36aefd1ca8ffedf61fdcf2567adbf3752ef3c7b3605c8851b97777132654ec14bb2ff66a4b737d2fa8bb1b81779a282d40cf5cf64980a8a6fde DIST jarowinkler-1.2.3.tar.gz 86021 BLAKE2B 6bce572b20538388c307a0da407198c725629a85e2114b7b9b91f24fd153102b0532275cbdf5d04138fe2b14c9a7936497bd1d72e7eb780411cb1032c97debb0 SHA512 3effd486f89a9973a8b1c41628555ab415b43a6aac426b9abf7a05d42ad697d18074ef43d4f50eab208980ae19e2efea68fb4d37b3a3ba13f52a39573809580b diff --git a/dev-python/jarowinkler/jarowinkler-1.2.1.ebuild b/dev-python/jarowinkler/jarowinkler-1.2.1.ebuild deleted file mode 100644 index 671a4fb6e8da..000000000000 --- a/dev-python/jarowinkler/jarowinkler-1.2.1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Fast fuzzy string matching using Jaro and Jaro-Winkler similarity" -HOMEPAGE=" - https://github.com/maxbachmann/JaroWinkler/ - https://pypi.org/project/jarowinkler/ -" -SRC_URI=" - mirror://pypi/${PN::1}/${PN}/${P}.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - dev-cpp/jarowinkler-cpp -" -BDEPEND=" - dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export JAROWINKLER_BUILD_EXTENSION=1 diff --git a/dev-python/jarowinkler/jarowinkler-1.2.2.ebuild b/dev-python/jarowinkler/jarowinkler-1.2.2.ebuild deleted file mode 100644 index 671a4fb6e8da..000000000000 --- a/dev-python/jarowinkler/jarowinkler-1.2.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Fast fuzzy string matching using Jaro and Jaro-Winkler similarity" -HOMEPAGE=" - https://github.com/maxbachmann/JaroWinkler/ - https://pypi.org/project/jarowinkler/ -" -SRC_URI=" - mirror://pypi/${PN::1}/${PN}/${P}.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - dev-cpp/jarowinkler-cpp -" -BDEPEND=" - dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export JAROWINKLER_BUILD_EXTENSION=1 diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest index 1e3d198dbc6f..7da26a4caace 100644 --- a/dev-python/meson-python/Manifest +++ b/dev-python/meson-python/Manifest @@ -1,4 +1,3 @@ -DIST meson-python-0.6.0.gh.tar.gz 26783 BLAKE2B d5c5b95d5d609487a0efee1ce05b133794705cdb16f2d05d6e08b9201541e31f61a832c7770b4b5ad675f8dd91860c30c67769ce8fc0af2c48e65b0aad187ddb SHA512 25042ea030d2ad323c67daa0a520db936a4a4efa0de1c9f631c47fac22d797e01d1f1707ed407e2931164a35b3916e19a774ee16ab1d45fc91e41c75add57fa1 -DIST meson-python-0.7.0.gh.tar.gz 28959 BLAKE2B 6b60855d19c7dbbc4c8aca474ad55d4ce2a5db553ba86d2831adea7138d540433733d3b8e4077bf7314a6e6b68cd15b538b336afecaff3b262ae6d2157d8d5f0 SHA512 df529a3d31c67199cf72700734ea62b0de4f8eb03b437af9b53968e37c0350cbe60ba7385f8c3026d66fe2050df4c59912bf65e4a6e62ce19bace52fdcfef2e7 DIST meson-python-0.8.0.gh.tar.gz 29367 BLAKE2B bf501ef73baa5481f5367b642cefca5a8b8655b4d74776aea21f0be4608c3e42d765f17ffdd037f39e7fc9c48d162293f93af61a30533e1823a66de5151ec1f9 SHA512 1709cdf3b357970566b25958cead88be2062e35ee8576275d0ca2571eca1f6a0211986b2693af0944026f2693511729b9d5cb30279952c65a287fa510c19186d DIST meson-python-0.8.1.gh.tar.gz 29353 BLAKE2B 13d6ab25da404301bddb2fb7eaaeb5af256efb5ce6d09581e4a8fa90d21c3a45cc8f455b09dc99b454e8457b55eb41261743c6ffd612c6c674ac9a28bcb98f51 SHA512 e46f6dbbcc2b5f89b17c7ea3f00e8ff9d68cad458bcbfe462e09de8e0074316c15f71fd88304ccf65cc42d98b193bcc0b3547be3ec2519e8c25d31556beb1468 +DIST meson-python-0.9.0.gh.tar.gz 37253 BLAKE2B 29aa875dfc1c275ee4edab48bd2d46c783969fc0ab58f108be1a6443d5519028a2d36f666dc57c45d68ba77334cca2d11a0d4bfb8abb3822b537252c71b77286 SHA512 ae0927876533af65c5b1d8278ff6db3726f0551c160bfedcc602189fcad44c9412faa589738718aac2f10cf9497db8c632d89ccf1fb8519e6e7f4add78d8e52d diff --git a/dev-python/meson-python/meson-python-0.6.0-r1.ebuild b/dev-python/meson-python/meson-python-0.6.0-r1.ebuild deleted file mode 100644 index 9cde3cc82ecd..000000000000 --- a/dev-python/meson-python/meson-python-0.6.0-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Meson PEP 517 Python build backend" -HOMEPAGE=" - https://pypi.org/project/meson-python/ - https://github.com/FFY00/meson-python/ -" -SRC_URI=" - https://github.com/FFY00/meson-python/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/pyproject-metadata-0.5.0[${PYTHON_USEDEP}] - >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] - >=dev-util/meson-0.60.0[${PYTHON_USEDEP}] - dev-util/patchelf -" -BDEPEND=" - test? ( - dev-python/GitPython[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.5.0-defaults.patch -) - -distutils_enable_sphinx docs \ - dev-python/furo \ - dev-python/sphinx-autodoc-typehints -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # https://github.com/FFY00/meson-python/issues/86 - tests/test_sdist.py::test_contents_unstaged -) diff --git a/dev-python/meson-python/meson-python-0.7.0.ebuild b/dev-python/meson-python/meson-python-0.7.0.ebuild deleted file mode 100644 index 975e50e74db1..000000000000 --- a/dev-python/meson-python/meson-python-0.7.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Meson PEP 517 Python build backend" -HOMEPAGE=" - https://pypi.org/project/meson-python/ - https://github.com/FFY00/meson-python/ -" -SRC_URI=" - https://github.com/FFY00/meson-python/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/pyproject-metadata-0.5.0[${PYTHON_USEDEP}] - >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] - >=dev-util/meson-0.60.0[${PYTHON_USEDEP}] - dev-util/patchelf -" -BDEPEND=" - test? ( - dev-python/GitPython[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.7.0-defaults.patch -) - -distutils_enable_sphinx docs \ - dev-python/furo \ - dev-python/sphinx-autodoc-typehints -distutils_enable_tests pytest diff --git a/dev-python/meson-python/meson-python-0.9.0.ebuild b/dev-python/meson-python/meson-python-0.9.0.ebuild new file mode 100644 index 000000000000..7d3a7a4f2ba0 --- /dev/null +++ b/dev-python/meson-python/meson-python-0.9.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Meson PEP 517 Python build backend" +HOMEPAGE=" + https://pypi.org/project/meson-python/ + https://github.com/FFY00/meson-python/ +" +SRC_URI=" + https://github.com/FFY00/meson-python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" + +RDEPEND=" + >=dev-python/pyproject-metadata-0.6.1[${PYTHON_USEDEP}] + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] + >=dev-util/meson-0.63.0[${PYTHON_USEDEP}] + dev-util/patchelf +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/GitPython[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.7.0-defaults.patch +) + +distutils_enable_sphinx docs \ + dev-python/furo \ + dev-python/sphinx-autodoc-typehints +distutils_enable_tests pytest diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 42bb4da61e7a..fea292f745ba 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,3 +1,4 @@ DIST mkdocs-material-8.4.0.gh.tar.gz 8459364 BLAKE2B 42d0a3fa9a06cd03629dcf10e8052ce56ec87ce9449da26b1d94ab5e520cd34be16f49339237ebaa673bd86a7148e663f5e7bddbfd9ef2f9151a0d62cd0a2c85 SHA512 5e1c4c08ca8c6a2d4af2b2ef51c3e136c630a683aaf6c1ce93a4b322127eadf4ba718cde0e2d8814c486658ecdcfbda7179e4478ddbf6ba8a8ca3876acd4b33a DIST mkdocs-material-8.4.3.gh.tar.gz 9999624 BLAKE2B e7dbe0b3cd2e385db1882b5bdf90efbe7f1d528b38fe0764b5aee78546427bde939054a61f36e7d8769099fe3615c36c13d6d29ebf30e4faff123380a5793eaa SHA512 ea5601d4f846315c71b0eaa0c8309c0d351530bdfcdee4ba7f9734f92314b66613984c41af6b0387e7186e2f915150aa6981e16511af6f7bb67bf94fb33b88e7 DIST mkdocs-material-8.5.2.gh.tar.gz 10262607 BLAKE2B 16fe2e9d377cf8361ddcf5bdd1f5b461783ef03a26894abd9cfe8ba3c88e4d89e5ee8da3e566b996ea1595a6600933d4140ca698f3a303e6fc4c2b32e208af1e SHA512 74066b3b85be3dc5f4380ab73a98dd07fc8430a65b6ec9a51f1513fa3f0703f3eff4567344642710bf8e91e8cf9193b552a58f865b86367f397d0c884e1849f8 +DIST mkdocs-material-8.5.4.gh.tar.gz 10348088 BLAKE2B fbccb523f79b3dc3ed43641e5a3388222c4155162760aa5524dc8d6828f94f55953506eaa95a25438d9a97e5e2a09475763f6905d1c1355e8632f225cd659928 SHA512 42e6407762aeef50c98bb1016ff6cbb2ee7cebd050db9d8806521532bbcbbc2617e98e8372ee96c17a82f62e94ec06bc796ed494784b6cf03e5ce7bcd9e95a0d diff --git a/dev-python/mkdocs-material/mkdocs-material-8.5.4.ebuild b/dev-python/mkdocs-material/mkdocs-material-8.5.4.ebuild new file mode 100644 index 000000000000..ebb17610f0f6 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-8.5.4.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-3.0.2[${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/networkx/networkx-2.8.6.ebuild b/dev-python/networkx/networkx-2.8.6.ebuild index 8d4c3cd10735..50316886d5b1 100644 --- a/dev-python/networkx/networkx-2.8.6.ebuild +++ b/dev-python/networkx/networkx-2.8.6.ebuild @@ -19,7 +19,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~ia64 ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" BDEPEND=" test? ( diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index f1f98a3868eb..1657209a5d0d 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1 +1,2 @@ DIST pymdown-extensions-9.5.gh.tar.gz 1004601 BLAKE2B 8950ca104edf476e5557eab1effd9ad4e879f2ef58823e1385b5ee000e704b260b20f758578021d4c03492e675027f079363da49429938221fb1c109c9e1fe2d SHA512 b640947b97be4f7592b86125c7de0f36c34052e77103f7d16818b8fc2794cc28d3b7baef84d99434ca1b2810fbe19bc2fc0d2430b8504425cca71677d9c8753c +DIST pymdown-extensions-9.6.gh.tar.gz 1011446 BLAKE2B 8e334896738de592d8d852f05f165c70d65b6541915bc4d66472b2e2e08a4921e5ed3e0d5873b03e3bbc31179cd2edb367ca0eb3734f1b437b8eff0dc4f9defb SHA512 b806eac4656b1e541753e9e3f4d29bd49dfdfb24ea67633ea232d40833e4ce438b76c71c013d7bc5c3ebfa790b2e314e6f0f76cc3a76f42d5c2b020c32f8dba7 diff --git a/dev-python/pymdown-extensions/pymdown-extensions-9.6.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-9.6.ebuild new file mode 100644 index 000000000000..4bd20389d964 --- /dev/null +++ b/dev-python/pymdown-extensions/pymdown-extensions-9.6.ebuild @@ -0,0 +1,59 @@ +# 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} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-material + dev-python/pymdown-lexers + dev-python/pyspelling +" + +inherit distutils-r1 docs + +DESCRIPTION="Extensions for Python Markdown" +HOMEPAGE=" + https://github.com/facelessuser/pymdown-extensions/ + https://pypi.org/project/pymdown-extensions/ +" +SRC_URI=" + https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # mkdocs-git-revision-date-localized-plugin needs git repo + if use doc; then + git init || die + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + git add . || die + git commit -m 'init' || die + fi + + distutils-r1_python_prepare_all +} diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index c4036bf45fa9..73a52b2bb27c 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,4 +1 @@ -DIST rapidfuzz-2.10.0.tar.gz 782698 BLAKE2B f2b4ead136162fd3592b16978a58cd3a2d66489f05aefdf58fd137ebf34f347368f437b3ee836b36122b00863f0c238c8191307f6b586676db59ebfa2d370e1c SHA512 b704a535021924e436a1cebe397e747d3e39b6a4ec12718bbb2a91c326d1977c51bd7ca9a4b2c2d380fdc27ea76b1549d61dea511ed86054aceb1d2180716627 -DIST rapidfuzz-2.10.1.tar.gz 782833 BLAKE2B a8be0ad8c617d8389b5fd22bff06e3887665dedd73580ac6ed29c3f5b895c399ffa0ac6ea983cb0a12d279d5312514e645f75d1a09a40be7108097b74e78c2d5 SHA512 006c714c4c2b86d77682042c7bd3e7a19328a56ff12b42f01e96712c4a94db654d63607363cf68b746416f107927bdee9dee9d7d29c80eda7c7fa74e0c21b75d DIST rapidfuzz-2.10.2.tar.gz 788167 BLAKE2B 91264d83159ce91cac33138c2589d468ffb079daef06f1917596892b3c5fbb99f2012d79ca05f728e6d49c2241d83f68e0d3a44956cfdfafd38cae428496f507 SHA512 3d7610a2e4b32fbfaa0ac043847829bfc436e61c2d0c76d526fc0827cca4fd10a0b6ae659bd61ed48604695c4782bcb0984d2becaf84494b84a5d8e71c22e97a -DIST rapidfuzz-2.9.0.tar.gz 780939 BLAKE2B c43dfd89d18dc1f5b4738930f1d0d9c4956f66479217b4400844b50636e2b0bb13f15d8b9a6edc0ce30fc943f35a44dad802ecf90107556ed2dee7f70fcc16ac SHA512 b8f83cc35e84a4ed95e2086eb7bfbc6e7e2e25a05accc965092b8b51012c79e86e2af15397577bb91aadfa9a257a62d6f3d6bb9bf928a9c767d53468904a12be diff --git a/dev-python/rapidfuzz/files/rapidfuzz-2.9.0-test-pandas.patch b/dev-python/rapidfuzz/files/rapidfuzz-2.9.0-test-pandas.patch deleted file mode 100644 index fa73c8f3ef3b..000000000000 --- a/dev-python/rapidfuzz/files/rapidfuzz-2.9.0-test-pandas.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 1df09fb54c466efddfc62ed630fddd5fb34cab3f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Sun, 18 Sep 2022 15:37:39 +0200 -Subject: [PATCH] tests: handle missing pandas gracefully - -Pandas is not yet ready for Python 3.11. Use pytest.importorskip() -to skip that one regression test that requires it when it's not -available to unblock rapidfuzz on py3.11 on Gentoo. ---- - tests/test_process.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/test_process.py b/tests/test_process.py -index ca5afee..b786d2d 100644 ---- a/tests/test_process.py -+++ b/tests/test_process.py -@@ -5,7 +5,6 @@ import unittest - import pytest - - from rapidfuzz import process_py, process_cpp, fuzz --import pandas as pd - - - class process: -@@ -298,6 +297,7 @@ class ProcessTest(unittest.TestCase): - - def testIssue81(self): - # this mostly tests whether this segfaults due to incorrect ref counting -+ pd = pytest.importorskip("pandas") - choices = pd.Series( - ["test color brightness", "test lemon", "test lavender"], - index=[67478, 67479, 67480], --- -2.37.3 - diff --git a/dev-python/rapidfuzz/rapidfuzz-2.10.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-2.10.0.ebuild deleted file mode 100644 index 038d3a35bf4d..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-2.10.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/maxbachmann/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" -SRC_URI=" - mirror://pypi/${PN::1}/${PN}/${P}.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - =app-text/ghostscript-gpl-9.56.1-r2 + =app-text/ghostscript-gpl-9.56.1-r2 + =app-text/ghostscript-gpl-9.56.1-r2 +