1 |
commit: 7fe6206f66ba15abc05799a35085b24830313601 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 27 21:41:55 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 28 15:52:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fe6206f |
7 |
|
8 |
dev-python/certifi: Remove py2.7 in revbump |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/certifi/certifi-10001-r1.ebuild | 32 ++++++++++++++++++++++++++++++ |
13 |
1 file changed, 32 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/certifi/certifi-10001-r1.ebuild b/dev-python/certifi/certifi-10001-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..9a81b833252 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/certifi/certifi-10001-r1.ebuild |
20 |
@@ -0,0 +1,32 @@ |
21 |
+# Copyright 1999-2020 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=7 |
25 |
+ |
26 |
+DISTUTILS_USE_SETUPTOOLS=no |
27 |
+PYTHON_COMPAT=( python3_{6..9} pypy3 ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+MY_P=certifi-shim-${PV} |
32 |
+DESCRIPTION="Thin replacement for certifi using system certificate store" |
33 |
+HOMEPAGE=" |
34 |
+ https://github.com/mgorny/certifi-shim |
35 |
+ https://pypi.org/project/certifi" |
36 |
+SRC_URI=" |
37 |
+ https://github.com/mgorny/certifi-shim/archive/v${PV}.tar.gz |
38 |
+ -> ${MY_P}.tar.gz" |
39 |
+S=${WORKDIR}/${MY_P} |
40 |
+ |
41 |
+LICENSE="CC0-1.0" |
42 |
+SLOT="0" |
43 |
+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" |
44 |
+ |
45 |
+RDEPEND="app-misc/ca-certificates" |
46 |
+ |
47 |
+distutils_enable_tests unittest |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ sed -i -e "s^/etc^${EPREFIX}/etc^" certifi/core.py || die |
51 |
+ distutils-r1_src_prepare |
52 |
+} |