dev-python/python-dotenv: Bump to 1.0.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-02-25 06:47:29 +01:00
parent 7dc39d055f
commit 8d3bd924d2
2 changed files with 44 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST python-dotenv-0.21.1.tar.gz 35930 BLAKE2B e89b88754406464c7d9493d8824147c1b3862a1f1c9a723ddd0cec9c053b5772fe2f5d55fac0e979a3ffc5d717ec22ceb45064ed45f58f2a3c12c1018ebe2f47 SHA512 30bbff6c4d95ee3e58d0ce895fd9bcceef52f59f66060bcbc66460bb5fff977760d168a09415a6a52587ad560b892da60fafa5824a6634ba3202d07243d2ac8b
DIST python-dotenv-1.0.0.tar.gz 37399 BLAKE2B cc5a4b810fae2a79e091a9523738be37ba030c29a373f375f2d413396f56d0606b77febddfba82085f94abc151e86b3a8d4719899e4e80e9956bea3989569dbd SHA512 8fc14eb07d8fb5e4cb4a83338aac1009aaa0715b3e7438b4ac8ee7da0ad5f7cf6b05121a685d05af7f03828ab39df61382cfbc5e95c6708246d1f400fe10d250

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( pypy3 python3_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="Manage .env files"
HOMEPAGE="https://github.com/theskumar/python-dotenv"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
BDEPEND="
test? (
>=dev-python/click-5[${PYTHON_USEDEP}]
>=dev-python/sh-2[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/ipython[${PYTHON_USEDEP}]
' 'python*')
)
"
DOCS=( CHANGELOG.md README.md )
distutils_enable_tests pytest
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
}