dev-python/jc: remove redundant sed, update HOMEPAGE

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2021-08-16 08:50:38 +03:00
parent 6fbce263c1
commit 9ee928a642

View File

@@ -8,8 +8,11 @@ PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Converts the output of popular command-line tools and file-types to JSON"
HOMEPAGE="https://github.com/kellyjonbrazil/jc/tags"
SRC_URI="https://github.com/kellyjonbrazil/jc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
HOMEPAGE="https://github.com/kellyjonbrazil/jc"
SRC_URI="
https://github.com/kellyjonbrazil/jc/archive/v${PV}.tar.gz
-> ${P}.tar.gz
"
LICENSE="MIT"
SLOT="0"
@@ -20,8 +23,3 @@ RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]
dev-python/xmltodict[${PYTHON_USEDEP}]"
distutils_enable_tests unittest
python_prepare_all() {
sed -e "s|\\(^[[:space:]]*'[.[:alnum:]]\+\\)>=[^']*|\\1|" -i setup.py || die
distutils-r1_python_prepare_all
}