summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-07-02 13:19:42 +0200
committerMichał Górny <mgorny@gentoo.org>2022-07-02 13:25:35 +0200
commit587b5f968018f46568ce7b763ac4c685a8744995 (patch)
tree5477a12bc6a91dd96d3c941579496e554df05c73 /dev-python/ConfigArgParse
parentRename dev-python/{configargparse → ConfigArgParse} (diff)
downloadgentoo-587b5f968018f46568ce7b763ac4c685a8744995.tar.gz
gentoo-587b5f968018f46568ce7b763ac4c685a8744995.tar.bz2
gentoo-587b5f968018f46568ce7b763ac4c685a8744995.zip
dev-python/ConfigArgParse: Clean MY_P up
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ConfigArgParse')
-rw-r--r--dev-python/ConfigArgParse/ConfigArgParse-1.5.3.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-python/ConfigArgParse/ConfigArgParse-1.5.3.ebuild b/dev-python/ConfigArgParse/ConfigArgParse-1.5.3.ebuild
index 715bdebb734a..a65040b42d52 100644
--- a/dev-python/ConfigArgParse/ConfigArgParse-1.5.3.ebuild
+++ b/dev-python/ConfigArgParse/ConfigArgParse-1.5.3.ebuild
@@ -5,25 +5,27 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
+
inherit distutils-r1
-MY_PN="ConfigArgParse"
-MY_P="${MY_PN}-${PV}"
DESCRIPTION="Drop-in replacement for argparse supporting config files and env variables"
HOMEPAGE="
https://github.com/bw2/ConfigArgParse/
https://pypi.org/project/ConfigArgParse/"
SRC_URI="
https://github.com/bw2/ConfigArgParse/archive/v${PV}.tar.gz
- -> ${MY_P}.gh.tar.gz"
-S="${WORKDIR}/${MY_P}"
+ -> ${P}.gh.tar.gz
+"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
BDEPEND="
- test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"
+ test? (
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ )
+"
distutils_enable_tests unittest