diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-04-20 14:56:28 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-04-20 14:56:28 +0000 |
| commit | fcdddd8fa679151dedc4c58285a2d7b6251eebae (patch) | |
| tree | ed7c48fc4c0ba3691f54359036ddc2ac232d315f /dev-python/certifi | |
| parent | 7cdcbf69ca56781ffddfee1e4724b94ad389fc58 (diff) | |
| download | baldeagleos-repo-fcdddd8fa679151dedc4c58285a2d7b6251eebae.tar.gz baldeagleos-repo-fcdddd8fa679151dedc4c58285a2d7b6251eebae.tar.xz baldeagleos-repo-fcdddd8fa679151dedc4c58285a2d7b6251eebae.zip | |
Adding metadata
Diffstat (limited to 'dev-python/certifi')
| -rw-r--r-- | dev-python/certifi/certifi-2025.01.31-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/certifi/certifi-2025.01.31-r1.ebuild b/dev-python/certifi/certifi-2025.01.31-r1.ebuild new file mode 100644 index 000000000000..345f02e3f587 --- /dev/null +++ b/dev-python/certifi/certifi-2025.01.31-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2025 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 prefix readme.gentoo-r1 + +DESCRIPTION="Python package for providing Mozilla's CA Bundle" +HOMEPAGE="https://pypi.org/project/certifi/" +SRC_URI="https://github.com/certifi/python-certifi/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="app-misc/ca-certificates" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +S="${WORKDIR}/python-${P}" +PATCH="$FILESDIR}/${P}-use-system-cacerts.patch" + +python_prepare_all() { + distutils-r1_python_prepare_all + eprefixify certifi/core.py +} + +python_install_all() { + distutils-r1_python_install_all + + local DOC_CONTENTS=" + In Gentoo, we don't use certifi's bundled CA certificates. + Instead we remove bundled cacert.pem and patch certifi + to return system's CA certificates. + " + readme.gentoo_create_doc +} |
