diff --git a/dev-python/agate/Manifest b/dev-python/agate/Manifest index 6c72e00629d08..da2cf07123970 100644 --- a/dev-python/agate/Manifest +++ b/dev-python/agate/Manifest @@ -1,4 +1,2 @@ -DIST agate-1.14.1.tar.gz 204140 BLAKE2B 5bfbf63bed15845d3cb72e8f34545908391fd9a15edc94dc783ba52eb3c877cbde9057d8695cc3ca98790871180c7b44048903ae764004e8810aa6bd42d7ba12 SHA512 7eb046220fdba66db25f5d832f7dc0f5a2a72a561321f5137c09b8ba28c83df794bf4f62e5484246e56d1acf709563d9414af929a9feb8ea21e9353e7fcc5507 -DIST agate-1.14.1.tar.gz.provenance 9398 BLAKE2B cf62dc49957c0b77dc510419332e1d0fac8ea9dede570ebc0065591c29abf6d2382a0eb48be04bdba1fad9cf920a2de4cfeca6b2c5c163510b6dbead04c463aa SHA512 f416dd6f9246f14b6fcc2ce31f978dc82eafcbb37e4812ab258dc1737374ebac3b886feefd52e0058872bf1b0ff91261dacd971c8cf4b2a594ae77f953c2ccc3 DIST agate-1.14.2.tar.gz 204186 BLAKE2B 4fe987e1030d49b35d4ec6af772188ff5fab92b295280ca46fa89479b6cec26de5f9f8622abfb17046eb00fe14ecd97e90fc894f80e985a2f73fda9048cbb17f SHA512 351572afc4d7c9f1911472924c028043bedad04aabdabd49346e167864822a90d5a0c706a26012d8559a3481f782e44497b9a27a46b665981b58069a52c64931 DIST agate-1.14.2.tar.gz.provenance 9258 BLAKE2B bbeeadd1e10219340227988c3d0b8b76db27f0e3b0cd2409d4716867c7100f1fabb94054e8e68b1c2df163b38cce2d2b68a2fbd9575ed9dfe27de555cd667dea SHA512 07f19634c6e208bae4ba7cd305a8d931f26942bb74711f7b1037fe9641c5d801974e5688d86c19e0e432bf5729e65831f9fc9aea425c4df09cb2ea3b045b4e81 diff --git a/dev-python/agate/agate-1.14.1.ebuild b/dev-python/agate/agate-1.14.1.ebuild deleted file mode 100644 index 0da006b1a2b2f..0000000000000 --- a/dev-python/agate/agate-1.14.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2021-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_VERIFY_REPO=https://github.com/wireservice/agate -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A Python data analysis library that is optimized for humans instead of machines" -HOMEPAGE=" - https://github.com/wireservice/agate/ - https://pypi.org/project/agate/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~arm64-macos ~x64-macos" - -RDEPEND=" - >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] - >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] - >=dev-python/babel-2.0[${PYTHON_USEDEP}] - >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] - >=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}] - >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] - >=dev-python/leather-0.3.3-r2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/cssselect-0.9.1[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/furo - -EPYTEST_DESELECT=( - # require specific locales - tests/test_data_types.py::TestDate::test_cast_format_locale - tests/test_data_types.py::TestDateTime::test_cast_format_locale -) - -PATCHES=( - # https://github.com/wireservice/agate/pull/796 - "${FILESDIR}/${P}-stray-files.patch" -) diff --git a/dev-python/agate/files/agate-1.14.1-stray-files.patch b/dev-python/agate/files/agate-1.14.1-stray-files.patch deleted file mode 100644 index 40fdaf4e8417a..0000000000000 --- a/dev-python/agate/files/agate-1.14.1-stray-files.patch +++ /dev/null @@ -1,34 +0,0 @@ -From d45b6fbd0aa54f433b28119368c990b56d121cb6 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Sat, 17 Jan 2026 07:56:57 +0100 -Subject: [PATCH] build: Use automatic package discovery to fix stray files -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Switch to using the setuptools automatic package discovery [1] over the -legacy `find_packages()` logic, in order to avoid installing stray files -into `site-packages`. This fixes a regression whereas `agate` started -installing `docs` and `examples` as top-level Python packages. - -Alternative, this could be fixed via extending the `exclude` list to -include all variations of `docs` and `examples`, but it seems -unnecessary given that the automatic discovery logic already covers -excluding these directories and raises an exception if more than one -top-level package is included in the wheel, therefore reducing the risk -of future regressions. - -[1] https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#automatic-discovery - -Signed-off-by: Michał Górny ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -51,8 +51,5 @@ test = [ - "pytest-cov", - ] - --[tool.setuptools.packages.find] --exclude = ["benchmarks", "tests", "tests.*"] -- - [tool.isort] - line_length = 119