diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/certifi/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/certifi/certifi-3024.7.22.ebuild | 44 | ||||
| -rw-r--r-- | dev-python/certifi/metadata.xml | 13 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/certifi/Manifest b/dev-python/certifi/Manifest new file mode 100644 index 000000000000..7c79b0bb5cda --- /dev/null +++ b/dev-python/certifi/Manifest @@ -0,0 +1 @@ +DIST certifi-system-store-3024.7.22.gh.tar.gz 12441 BLAKE2B 445477dc557f980c5f2edf37d6683204181071e625dac66e9cc3bdeec38ba28ff385d2a92d8162de6af30fc552b64b6c8ad13a06dd6e7f2e26f02d453d69d5c4 SHA512 a4862dbb9f931322f7c62ecd877bee97679cc147acd4585642cbd215f37663f3bde7a73cf846bb0c84077c6cee1c1e4c06da9e2ce44d8dcb1e8fe6065e282feb diff --git a/dev-python/certifi/certifi-3024.7.22.ebuild b/dev-python/certifi/certifi-3024.7.22.ebuild new file mode 100644 index 000000000000..b9deb072b1d5 --- /dev/null +++ b/dev-python/certifi/certifi-3024.7.22.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +MY_P=certifi-system-store-${PV} +DESCRIPTION="A certifi hack to use system trust store on Linux/FreeBSD" +HOMEPAGE=" + https://github.com/projg2/certifi-system-store/ + https://github.com/tiran/certifi-system-store/ + https://pypi.org/project/certifi-system-store/ +" +SRC_URI=" + https://github.com/projg2/certifi-system-store/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + app-misc/ca-certificates +" + +EPYTEST_IGNORE=( + # requires Internet + tests/test_requests.py +) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + sed -i -e "s^/etc^${EPREFIX}/etc^" src/certifi/core.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/certifi/metadata.xml b/dev-python/certifi/metadata.xml new file mode 100644 index 000000000000..fa11dab65391 --- /dev/null +++ b/dev-python/certifi/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://srcux.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <upstream> + <remote-id type="cpe">cpe:/a:certifi:certifi</remote-id> + </upstream> + <origin>srcux</origin> +</pkgmetadata> |
