diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-25 19:17:47 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-25 19:17:47 +0000 |
| commit | a6c077a14ab69684019380246b01943bdbe4d7a1 (patch) | |
| tree | 337a02c526cb76a9462cf0e31ba52fc7aa725d36 /dev-python/pkg-resources | |
| parent | 9463004333272cee4a8781c51c51e53f1b5dafcb (diff) | |
| download | baldeagleos-repo-a6c077a14ab69684019380246b01943bdbe4d7a1.tar.gz baldeagleos-repo-a6c077a14ab69684019380246b01943bdbe4d7a1.tar.xz baldeagleos-repo-a6c077a14ab69684019380246b01943bdbe4d7a1.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pkg-resources')
| -rw-r--r-- | dev-python/pkg-resources/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pkg-resources/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/pkg-resources/pkg-resources-0.ebuild | 24 | ||||
| -rw-r--r-- | dev-python/pkg-resources/pkg-resources-81.0.0.ebuild | 46 |
4 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/pkg-resources/Manifest b/dev-python/pkg-resources/Manifest new file mode 100644 index 000000000000..72fa7b3a78f0 --- /dev/null +++ b/dev-python/pkg-resources/Manifest @@ -0,0 +1 @@ +DIST setuptools-81.0.0.tar.gz 1198299 BLAKE2B a92fa15e03c99f6d7acbc0a24e6d3b4b31d514c031195b1dd0ae238611c44c3c979847c45437e5e4221fb8f750a7264fb55235ee7d4a8207ef19a67306d5360c SHA512 4dda2f0796d1a32d160e0786fc6ebb9908483e16edac6b0335df4779a0a8331f13b70fbf69986a27cc8f6ff10c1f696599059710fef99f36ff1e766f04220466 diff --git a/dev-python/pkg-resources/metadata.xml b/dev-python/pkg-resources/metadata.xml new file mode 100644 index 000000000000..12c531c47cfd --- /dev/null +++ b/dev-python/pkg-resources/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="cpe">cpe:/a:python:setuptools</remote-id> + </upstream> + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pkg-resources/pkg-resources-0.ebuild b/dev-python/pkg-resources/pkg-resources-0.ebuild new file mode 100644 index 000000000000..106e4688753a --- /dev/null +++ b/dev-python/pkg-resources/pkg-resources-0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) + +inherit python-r1 + +DESCRIPTION="pkg_resources compatibility shim" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND=" + ${PYTHON_DEPS} + <dev-python/setuptools-82[${PYTHON_USEDEP}] +" diff --git a/dev-python/pkg-resources/pkg-resources-81.0.0.ebuild b/dev-python/pkg-resources/pkg-resources-81.0.0.ebuild new file mode 100644 index 000000000000..f1155423bd35 --- /dev/null +++ b/dev-python/pkg-resources/pkg-resources-81.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=no +PYPI_PN=setuptools +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="pkg_resources package split form old setuptools" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/jaraco-text-4.0.0[${PYTHON_USEDEP}] + >=dev-python/packaging-25.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.4.0[${PYTHON_USEDEP}] + !<dev-python/setuptools-82[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # requires setuptools wheel + pkg_resources/tests/test_integration_zope_interface.py +) + +python_test() { + epytest pkg_resources +} + +python_install() { + # Let's install the module manually. We don't want a fake .dist-info + # for it. + python_domodule pkg_resources +} |
