diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-10 06:08:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-10 06:08:39 +0100 |
commit | dd14643cac4a1aa6ce4151cea5c424577434968b (patch) | |
tree | 18bf4bedb3567cde89b92498471a0de3b09c5f78 /dev-python/certifi | |
parent | 024d1b6f101ade7073320fba887d4808c933a8e8 (diff) |
gentoo auto-resync : 10:10:2023 - 06:08:39
Diffstat (limited to 'dev-python/certifi')
-rw-r--r-- | dev-python/certifi/Manifest | 1 | ||||
-rw-r--r-- | dev-python/certifi/certifi-3021.3.16-r4.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/certifi/Manifest b/dev-python/certifi/Manifest index ea157dfebf11..2aa569fce199 100644 --- a/dev-python/certifi/Manifest +++ b/dev-python/certifi/Manifest @@ -1,4 +1,5 @@ AUX certifi-3021.3.16-use-importlib.patch 6291 BLAKE2B 6ab0b3586c87564e5f92f18a2a9f8f449959962105dc2d0ee348f53d42cad93b0c23c102fe57c224eb449771f0139c38561d14a8fe666dac5666c8be452fad3c SHA512 80d92dbf505f5a4a6372a77e79299cbb9afd7a0770c66c197045948d50d249276e954b09ae36d7c6fef6be4033c775ba096bdae9319286af1c603af33738362f DIST certifi-system-store-3021.3.16.gh.tar.gz 13784 BLAKE2B c0c2322fe298d363c4ef4dada2c0db8837bf7a32d86a7b54a1b45bb3dd3c99d732b2612f25495f4a59d9692f896e2b962e7057fa5fec9998724476db48f90c2a SHA512 44953ed8a3deb5fa4aff3f74afa557219e042acea395e9cdebfd26fd43ce0bdeca07c6b6dfe91977f88852e7674b94337b93c4d78fd2da6f47a6187fa46d6668 EBUILD certifi-3021.3.16-r3.ebuild 1387 BLAKE2B 02896fe3f8adc92c3aa187ce3eb8997f01d84dd98f99988ea9a5b3fd2432f222159060cdb7ebd7ceeb6d24a86976cc8da5e40e82aaa36f9cb09f85860d87dc44 SHA512 f9095ae22a64d90ca5ee2b1308f0ebb5c050ff9fee59a4c9ef744a5d0b6953de672dafb99f3da5f5fd5d464bcd867463f112374c37296b4372929659dd108b72 +EBUILD certifi-3021.3.16-r4.ebuild 1354 BLAKE2B 7d9a550c4e14a71e290d369f11873a2ad2053c9edacbbb337a573906886c5b7b5f43ebede25de3bdd4dd0943f77727e41ca78853ba476fec2e6f9b51ff224457 SHA512 e58324fce79195d552b7789e1d77c5faf51717c0cc7806d956d7f35c298791c8ebc18a15fc7507f967db8281617fa5a3350c831e7755265043f75a8084414f08 MISC metadata.xml 427 BLAKE2B 12dfba937658c8ecdf591eef8803d721aec4be7f4f78e819d8add5ea85b5b73a9c071ae8d79d7abcedf6876ea53ea5365a7fd9adffc1c04ac4738e9f05ef58af SHA512 b4a027b08e92241cd0eb000e3220eaa4008f3e7b49f52b00b4b6abeaf7d66cfc92597a9633e1e29ff98758f258678ae09c213d332614d3f94e003ff0e59ad74b diff --git a/dev-python/certifi/certifi-3021.3.16-r4.ebuild b/dev-python/certifi/certifi-3021.3.16-r4.ebuild new file mode 100644 index 000000000000..8bb012fe42ad --- /dev/null +++ b/dev-python/certifi/certifi-3021.3.16-r4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +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/tiran/certifi-system-store/ + https://pypi.org/project/certifi-system-store/ +" +SRC_URI=" + https://github.com/tiran/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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + app-misc/ca-certificates +" + +PATCHES=( + "${FILESDIR}"/${P}-use-importlib.patch +) + +EPYTEST_IGNORE=( + # requires Internet + tests/test_requests.py +) + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e "s^/etc^${EPREFIX}/etc^" src/certifi/core.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + local distinfo=( certifi_system_store*.dist-info ) + [[ -d ${distinfo} ]] || die + ln -v -s "${distinfo}" "${distinfo/_system_store}" || die +} |