Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/certifi/
Date: Mon, 03 Aug 2020 07:03:14
Message-Id: 1596438182.ff26c6f50799c8d5c1d3af9b3e8127f0db082bbe.mgorny@gentoo
1 commit: ff26c6f50799c8d5c1d3af9b3e8127f0db082bbe
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 3 06:44:08 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 3 07:03:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff26c6f5
7
8 dev-python/certifi: Bump to 10001
9
10 Closes: https://bugs.gentoo.org/734988
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-python/certifi/Manifest | 1 +
14 dev-python/certifi/certifi-10001.ebuild | 32 ++++++++++++++++++++++++++++++++
15 2 files changed, 33 insertions(+)
16
17 diff --git a/dev-python/certifi/Manifest b/dev-python/certifi/Manifest
18 index 283e3260e86..44ef0c13bda 100644
19 --- a/dev-python/certifi/Manifest
20 +++ b/dev-python/certifi/Manifest
21 @@ -1 +1,2 @@
22 +DIST certifi-shim-10001.tar.gz 4061 BLAKE2B 183c573b958921877b14e38e9e26842e8a4f1c1617979a30b65ef1e2bbf001e5ff0aab830e4399906a7d21fb3c71ac12b1e757e4d283aae16cced8e7de7c2a1d SHA512 93beea61e579b2b414bd37c63eba49365e0a1a62304e0c7ac920bedaf5d72cb095a4a46b2240b3c2e6ee31e5b91cd520ae8348b6a8033212d11bbca31db6750c
23 DIST certifi-shim-9999.tar.gz 3762 BLAKE2B 3ea85314e37a989d4894ea5fc89fb138e06c7912277f90466c6edb121c39f33b031bcc08346c4766c99fb193a2d53801aa1e8ef30cfede9a7e8247c7e443faef SHA512 ca2844f1680a019dbb5a440141d8ebaddd7c78ce47a23a48a50d2d857d012f90d74d4200168964787e31f16b1e9d7c981c033ff99f1e3ea1fa73cbbbf255edbd
24
25 diff --git a/dev-python/certifi/certifi-10001.ebuild b/dev-python/certifi/certifi-10001.ebuild
26 new file mode 100644
27 index 00000000000..11944fbf860
28 --- /dev/null
29 +++ b/dev-python/certifi/certifi-10001.ebuild
30 @@ -0,0 +1,32 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DISTUTILS_USE_SETUPTOOLS=no
37 +PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +MY_P=certifi-shim-${PV}
42 +DESCRIPTION="Thin replacement for certifi using system certificate store"
43 +HOMEPAGE="
44 + https://github.com/mgorny/certifi-shim
45 + https://pypi.org/project/certifi"
46 +SRC_URI="
47 + https://github.com/mgorny/certifi-shim/archive/v${PV}.tar.gz
48 + -> ${MY_P}.tar.gz"
49 +S=${WORKDIR}/${MY_P}
50 +
51 +LICENSE="CC0-1.0"
52 +SLOT="0"
53 +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"
54 +
55 +RDEPEND="app-misc/ca-certificates"
56 +
57 +distutils_enable_tests unittest
58 +
59 +src_prepare() {
60 + sed -i -e "s^/etc^${EPREFIX}/etc^" certifi/core.py || die
61 + distutils-r1_src_prepare
62 +}