1 |
commit: 557badcfec97e1978bb5eb6326b5ebd65868fb84 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 3 17:12:30 2022 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 3 17:14:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=557badcf |
7 |
|
8 |
dev-python/python-dotenv: 0.21.0 |
9 |
|
10 |
Compared to 0.20.0 ebuild: |
11 |
- Resolve python_test workaround |
12 |
- Drop dependency on mock |
13 |
|
14 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
15 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
16 |
|
17 |
dev-python/python-dotenv/Manifest | 1 + |
18 |
.../python-dotenv/python-dotenv-0.21.0.ebuild | 40 ++++++++++++++++++++++ |
19 |
2 files changed, 41 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/python-dotenv/Manifest b/dev-python/python-dotenv/Manifest |
22 |
index 52e44516f7ff..47319f36e227 100644 |
23 |
--- a/dev-python/python-dotenv/Manifest |
24 |
+++ b/dev-python/python-dotenv/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST python-dotenv-0.20.0.tar.gz 32069 BLAKE2B 360c878241fe4df4cee2ef59a2a4967e3b5fff7250297e4adb4b7f2c50deaf66bdc76b97bc9a1998bcf3d7da7c5e40c98f93d3e3cc044a2e73e159a85a2d93fa SHA512 85e3953f296ec59130ea212b794557d479efde0ef519303dd3a8fe8da0be2d445728b9b8fd5a4bc13372a0fa322f49d290038538ddca580841d0df1f3758f0b7 |
27 |
+DIST python-dotenv-0.21.0.tar.gz 34984 BLAKE2B 5b2ac96e2c68afe04ec5e63da44c7109c0d142e1abad64fb9d4c87cfc84f36e62023854f72145f6a7f6b7e05bf58a57ee4b97ac8b84aa1304ddffba0a8795c6c SHA512 618335ad11a1ed8011d7cd0c6a83912b5cc29eddeb967c9594af32c6229ca178b571b08836776661612015ac9cd6753de1935f3f3e0e3b8feb733eccfbb262e7 |
28 |
|
29 |
diff --git a/dev-python/python-dotenv/python-dotenv-0.21.0.ebuild b/dev-python/python-dotenv/python-dotenv-0.21.0.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..735f6959bea3 |
32 |
--- /dev/null |
33 |
+++ b/dev-python/python-dotenv/python-dotenv-0.21.0.ebuild |
34 |
@@ -0,0 +1,40 @@ |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+DISTUTILS_USE_PEP517=setuptools |
41 |
+PYTHON_COMPAT=( pypy3 python3_{8..11} ) |
42 |
+ |
43 |
+inherit distutils-r1 |
44 |
+ |
45 |
+DESCRIPTION="Manage .env files" |
46 |
+HOMEPAGE="https://github.com/theskumar/python-dotenv" |
47 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ test? ( |
55 |
+ >=dev-python/click-5[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/sh-1.09[${PYTHON_USEDEP}] |
57 |
+ ) |
58 |
+" |
59 |
+ |
60 |
+DOCS=( CHANGELOG.md README.md ) |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+python_install() { |
65 |
+ distutils-r1_python_install |
66 |
+ ln -s dotenv "${D}$(python_get_scriptdir)"/python-dotenv || die |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ distutils-r1_src_install |
71 |
+ |
72 |
+ # Avoid collision with dev-ruby/dotenv (bug #798648) |
73 |
+ mv "${ED}"/usr/bin/{,python-}dotenv || die |
74 |
+} |