diff --git a/dev-python/python-dotenv/Manifest b/dev-python/python-dotenv/Manifest index 8fc411a128..6afbb58555 100644 --- a/dev-python/python-dotenv/Manifest +++ b/dev-python/python-dotenv/Manifest @@ -1 +1,2 @@ DIST python-dotenv-1.0.1.tar.gz 39115 BLAKE2B 31bc0598abce2ffe5da0f248f56587fc549489c11b21e87ca144654c564701d7a5f952614b21ba12afb49a7bbb6d3753714c6e628485b449e9de2ec9513657f0 SHA512 d03f28f123b19e6e4af05c239686e189e5767108049399c110b80668bfea9d2a3f9222b719863fdef016cbe726a7a77748a18ddad013f7fc21c239ccf680c1da +DIST python_dotenv-1.1.0.tar.gz 39920 BLAKE2B 63509d9b31d42564ba5f477c61de26d02cfee30881a4d16928f287de1f67b81da0a6d9382f9d04a218d8f51e0a695f0ef0b5b251a40a29ed94c138408b304f7e SHA512 453f1262d330e1783dae1ef2ac18b998f817203c10705a974b294b79316a4cee68433622b4fa0aff2efed45e5fad04ec1fa4d15434ec1fc57c1c73a2518ef396 diff --git a/dev-python/python-dotenv/python-dotenv-1.1.0.ebuild b/dev-python/python-dotenv/python-dotenv-1.1.0.ebuild new file mode 100644 index 0000000000..390e03f200 --- /dev/null +++ b/dev-python/python-dotenv/python-dotenv-1.1.0.ebuild @@ -0,0 +1,28 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3+ ) +DISTUTILS_USE_PEP517="setuptools" +inherit distutils-r1 + +DESCRIPTION="Read key-value pairs from a .env file and set them as environment variables" +HOMEPAGE="https://github.com/theskumar/python-dotenv https://pypi.org/project/python-dotenv/" +SRC_URI="https://files.pythonhosted.org/packages/88/2c/7bb1416c5620485aa793f2de31d3df393d3686aa8a8506d11e10e13c5baf/python_dotenv-1.1.0.tar.gz -> python_dotenv-1.1.0.tar.gz" + +DEPEND="" +IUSE="" +SLOT="0" +LICENSE="BSD" +KEYWORDS="*" +S="${WORKDIR}/python_dotenv-1.1.0" + +DOCS=( CHANGELOG.md README.md ) +python_install() { + distutils-r1_python_install + ln -s dotenv "${D}$(python_get_scriptdir)"/python-dotenv || die +} +src_install() { + distutils-r1_src_install + mv "${ED}"/usr/bin/{,python-}dotenv || die +}