diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-12 09:40:38 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-12 09:40:38 +0000 |
| commit | 990e232a39a4645aa993dd440c997f1a01304379 (patch) | |
| tree | cf9422fc9b5b71da1115ec00b340038c67b1bc24 /dev-python/jsonfeed | |
| parent | 1324fae2c705470d82e82a946b181c55341380d1 (diff) | |
| download | baldeagleos-repo-990e232a39a4645aa993dd440c997f1a01304379.tar.gz baldeagleos-repo-990e232a39a4645aa993dd440c997f1a01304379.tar.xz baldeagleos-repo-990e232a39a4645aa993dd440c997f1a01304379.zip | |
Adding metadata
Diffstat (limited to 'dev-python/jsonfeed')
| -rw-r--r-- | dev-python/jsonfeed/files/jsonfeed-1.1.2-exclude_tests.patch | 11 | ||||
| -rw-r--r-- | dev-python/jsonfeed/jsonfeed-1.1.2.ebuild | 11 |
2 files changed, 16 insertions, 6 deletions
diff --git a/dev-python/jsonfeed/files/jsonfeed-1.1.2-exclude_tests.patch b/dev-python/jsonfeed/files/jsonfeed-1.1.2-exclude_tests.patch new file mode 100644 index 000000000000..fe0c98f27983 --- /dev/null +++ b/dev-python/jsonfeed/files/jsonfeed-1.1.2-exclude_tests.patch @@ -0,0 +1,11 @@ +--- a/setup.py ++++ b/setup.py +@@ -8,7 +8,7 @@ with open("README.md") as fh: + setup( + name="jsonfeed-util", + version=version, +- packages=find_packages(), ++ packages=find_packages(exclude=["tests", "tests.*"]), + # metadata for upload to PyPI + author="Lukas Schwab", + author_email="lukas.schwab@gmail.com", diff --git a/dev-python/jsonfeed/jsonfeed-1.1.2.ebuild b/dev-python/jsonfeed/jsonfeed-1.1.2.ebuild index feaf40af44dd..6d0bc7a84e61 100644 --- a/dev-python/jsonfeed/jsonfeed-1.1.2.ebuild +++ b/dev-python/jsonfeed/jsonfeed-1.1.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..12} ) +PYTHON_COMPAT=( python3_{11..14} ) HTML_DOCS=( docs ) @@ -18,9 +18,8 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +PATCHES=("${FILESDIR}/${P}-exclude_tests.patch") + RDEPEND="dev-python/feedparser[${PYTHON_USEDEP}]" -python_prepare_all() { - distutils-r1_python_prepare_all - rm -rf "${S}/tests" -} +distutils_enable_tests pytest |
