commit:     9966763124c8367036d1e22b5f33c89451b2c390
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 26 16:09:59 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 26 16:19:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99667631

dev-python/python-dotenv: Bump to 1.2.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-dotenv/Manifest                  |  2 +
 .../python-dotenv/python-dotenv-1.2.1.ebuild       | 48 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/python-dotenv/Manifest 
b/dev-python/python-dotenv/Manifest
index 4e69f93ad3ca..3285cc847cfc 100644
--- a/dev-python/python-dotenv/Manifest
+++ b/dev-python/python-dotenv/Manifest
@@ -1 +1,3 @@
 DIST python_dotenv-1.1.1.tar.gz 41978 BLAKE2B 
730cc1c4e32af4c22664c6ba2ebd93d5fe4b941bac8ec0387d0badf88f9ef84d6c9ae1807396ae8481765c13e70bb5c020e36368442f8d403ce884a8abedbd11
 SHA512 
c19d427f845ccdeacfdcd312e340139b9744ec3e8874b06b78b3f7b49e43b1024dd4dc85c5d7d79e65308c2924232729cb6a10301dd6f49142e2574956b2c14d
+DIST python_dotenv-1.2.1.tar.gz 44221 BLAKE2B 
b3306b7da5849a6626cab824a1979018649e30f2217b5fe1482351056a4bd7babb1fb3f2149d636c01743572834679345b63819e2c097231d14e4753a4ab1dde
 SHA512 
098f9624a53d1a014abae1499ab9ae54989e22e15338f91b1525c0397845f6be4431d4356792e8310dcbb32075026d9416ef4ac479d3bbd135779410cf9c6ff2
+DIST python_dotenv-1.2.1.tar.gz.provenance 9655 BLAKE2B 
338556fb3d2364d0ea8b9901347fd81f0dc137c4d819ab5eec4734f62e66d83419b05dd9fa4ea9e375b259482cfcc975e9c1dbe08e3b0a32e54f64158a15e5ac
 SHA512 
5878a0d9d08d9b69d24cb22a9296fb8cf9944bc13d639decc0d385015e24193df5359af3f7b57d8208eabe0a31717d824a5d64b5fa6b1e9e3a42cfcc69f039d6

diff --git a/dev-python/python-dotenv/python-dotenv-1.2.1.ebuild 
b/dev-python/python-dotenv/python-dotenv-1.2.1.ebuild
new file mode 100644
index 000000000000..9575e66b989e
--- /dev/null
+++ b/dev-python/python-dotenv/python-dotenv-1.2.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=https://github.com/theskumar/python-dotenv
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Manage .env files"
+HOMEPAGE="
+       https://github.com/theskumar/python-dotenv/
+       https://pypi.org/project/python-dotenv/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+BDEPEND="
+       test? (
+               >=dev-python/click-5[${PYTHON_USEDEP}]
+               >=dev-python/sh-2[${PYTHON_USEDEP}]
+       )
+"
+
+DOCS=( CHANGELOG.md README.md )
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+       epytest -o tmp_path_retention_policy=all
+}
+
+python_install() {
+       distutils-r1_python_install
+       ln -s dotenv "${D}$(python_get_scriptdir)"/python-dotenv || die
+}
+
+src_install() {
+       distutils-r1_src_install
+
+       # Avoid collision with dev-ruby/dotenv (bug #798648)
+       mv "${ED}"/usr/bin/{,python-}dotenv || die
+}

Reply via email to