1 |
commit: c70675efcb88834091c56c73bb783e64af37952a |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 24 18:04:08 2021 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 24 18:04:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c70675ef |
7 |
|
8 |
dev-python/python-dotenv: 0.19.0 |
9 |
|
10 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
|
13 |
dev-python/python-dotenv/Manifest | 1 + |
14 |
.../python-dotenv/python-dotenv-0.19.0.ebuild | 38 ++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/python-dotenv/Manifest b/dev-python/python-dotenv/Manifest |
18 |
index 931b2cfc81f..fd8a0163902 100644 |
19 |
--- a/dev-python/python-dotenv/Manifest |
20 |
+++ b/dev-python/python-dotenv/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST python-dotenv-0.17.1.tar.gz 31608 BLAKE2B fdddfa1c39282ceec03fc1569d9a7d038e91a046a1248dd27af011dc60361f06f5324504d623a6109d783bb3b5ccac7cae758d918b17f5b0c65a1085bda627ea SHA512 42cdca1356ac2ad80884a5bf3ed419d1202d6a54746f7a21dc9c1bc7579383ac5c72e8b708bc33dfea3904228125fe7b3b2190bfe53e8b4767f5223d59050417 |
23 |
DIST python-dotenv-0.18.0.tar.gz 32242 BLAKE2B 6cbef7ea7278a3114b3eaea2ede0c68e2c6dcc3868f655dbcad9596ea6e1ec0b9f5d183a73fda32e53d348ae23c11ca3f9d2e8eadd974eea4dd13903b9f9c845 SHA512 4b120ee45602ce703ee360fb5af07a8854bcb1ecd9084057e00324b152cf230fa6f065b374b6eebbfb7069b32762624ea61dd5d2fa6ac62cb7e3a2bb6ddfc1ed |
24 |
+DIST python-dotenv-0.19.0.tar.gz 32016 BLAKE2B c9f499abf99b3af8aafe7285347e08e61e770b1a5ca9d9b0cdf9dc306367c3f0492dae814835b637c9fd3c25d81006f78cbcf8d2de18bf7dc917e1bcdb0cb544 SHA512 6207f30e79ce13ccacc00ab1a95a1613317c2cc6bd735060ddca558b498c9d5c1c46ba76d97cdbb282c0f2695aed9346159ecbe08aa8a7c4f143a65708182806 |
25 |
|
26 |
diff --git a/dev-python/python-dotenv/python-dotenv-0.19.0.ebuild b/dev-python/python-dotenv/python-dotenv-0.19.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..8c07ebae93c |
29 |
--- /dev/null |
30 |
+++ b/dev-python/python-dotenv/python-dotenv-0.19.0.ebuild |
31 |
@@ -0,0 +1,38 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..9} ) |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Manage .env files" |
41 |
+HOMEPAGE="https://github.com/theskumar/python-dotenv" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" |
47 |
+ |
48 |
+DEPEND=" |
49 |
+ test? ( |
50 |
+ >=dev-python/click-5[${PYTHON_USEDEP}] |
51 |
+ dev-python/ipython[${PYTHON_USEDEP}] |
52 |
+ dev-python/mock[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/sh-1.09[${PYTHON_USEDEP}] |
54 |
+ )" |
55 |
+ |
56 |
+DOCS=( CHANGELOG.md README.md ) |
57 |
+ |
58 |
+PATCHES=( |
59 |
+ "${FILESDIR}"/${PN}-0.18.0-second-entrypoint.patch # bug 798648 |
60 |
+) |
61 |
+ |
62 |
+distutils_enable_tests --install pytest |
63 |
+ |
64 |
+src_install() { |
65 |
+ distutils-r1_src_install |
66 |
+ |
67 |
+ # Avoid collision with dev-ruby/dotenv (bug #798648) |
68 |
+ rm "${D}"/usr/bin/dotenv || die |
69 |
+} |