diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-15 12:44:51 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-15 12:57:34 +0200 |
commit | 9ae0c104c83a367122a4314d40966ffb6de0e975 (patch) | |
tree | 8e139f30874a8268397c3b6f3b6b26ed103dcc9a | |
parent | net-misc/smb4k: Drop 3.1.1 (diff) | |
download | gentoo-9ae0c104c83a367122a4314d40966ffb6de0e975.tar.gz gentoo-9ae0c104c83a367122a4314d40966ffb6de0e975.tar.bz2 gentoo-9ae0c104c83a367122a4314d40966ffb6de0e975.zip |
dev-python/python-dotenv: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/python-dotenv/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-dotenv/files/python-dotenv-0.19.2-entry-points.patch | 21 | ||||
-rw-r--r-- | dev-python/python-dotenv/python-dotenv-0.19.2-r2.ebuild | 44 |
3 files changed, 0 insertions, 66 deletions
diff --git a/dev-python/python-dotenv/Manifest b/dev-python/python-dotenv/Manifest index 4d29d01ab4f8..52e44516f7ff 100644 --- a/dev-python/python-dotenv/Manifest +++ b/dev-python/python-dotenv/Manifest @@ -1,2 +1 @@ -DIST python-dotenv-0.19.2.tar.gz 31508 BLAKE2B f92285090b680d3cbf842f99b6ca49ab9af877a1ed6543cbc3a41ba592240739fdf94f2ea21f2e2e3c9b9e68eeb36c5b1c12004fa953674e3f47942176e125c6 SHA512 da411fa02326ec7407bbb6760dd4e5f22eaca60d725ade3ac89302ec4e33d00fe8c231e8a64d0bc22698a93701143085c098b6703e598c6d8c2e4c57b9bafa20 DIST python-dotenv-0.20.0.tar.gz 32069 BLAKE2B 360c878241fe4df4cee2ef59a2a4967e3b5fff7250297e4adb4b7f2c50deaf66bdc76b97bc9a1998bcf3d7da7c5e40c98f93d3e3cc044a2e73e159a85a2d93fa SHA512 85e3953f296ec59130ea212b794557d479efde0ef519303dd3a8fe8da0be2d445728b9b8fd5a4bc13372a0fa322f49d290038538ddca580841d0df1f3758f0b7 diff --git a/dev-python/python-dotenv/files/python-dotenv-0.19.2-entry-points.patch b/dev-python/python-dotenv/files/python-dotenv-0.19.2-entry-points.patch deleted file mode 100644 index a01806fbc8c1..000000000000 --- a/dev-python/python-dotenv/files/python-dotenv-0.19.2-entry-points.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/setup.py b/setup.py -index a8122d3..c7bfe82 100644 ---- a/setup.py -+++ b/setup.py -@@ -36,10 +36,12 @@ setup( - extras_require={ - 'cli': ['click>=5.0', ], - }, -- entry_points=''' -- [console_scripts] -- dotenv=dotenv.cli:cli -- ''', -+ entry_points={ -+ "console_scripts": [ -+ "dotenv=dotenv.cli:cli", -+ "python-dotenv=dotenv.cli:cli", -+ ], -+ }, - license='BSD-3-Clause', - classifiers=[ - 'Development Status :: 5 - Production/Stable', diff --git a/dev-python/python-dotenv/python-dotenv-0.19.2-r2.ebuild b/dev-python/python-dotenv/python-dotenv-0.19.2-r2.ebuild deleted file mode 100644 index 55aabf2a3b57..000000000000 --- a/dev-python/python-dotenv/python-dotenv-0.19.2-r2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Manage .env files" -HOMEPAGE="https://github.com/theskumar/python-dotenv" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86" - -DEPEND=" - test? ( - >=dev-python/click-5[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/sh-1.09[${PYTHON_USEDEP}] - )" - -DOCS=( CHANGELOG.md README.md ) - -PATCHES=( - # rename the entry point (note: old name is needed in tests) - # https://bugs.gentoo.org/798648 - # also fix syntax since it doesn't seem to work anymore - # https://bugs.gentoo.org/833389 - "${FILESDIR}"/python-dotenv-0.19.2-entry-points.patch -) - -distutils_enable_tests pytest - -src_install() { - distutils-r1_src_install - - # Avoid collision with dev-ruby/dotenv (bug #798648) - rm "${D}"/usr/bin/dotenv || die -} |