aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucio Sauer <watermanpaint@posteo.net>2024-08-13 01:12:12 +0200
committerLucio Sauer <watermanpaint@posteo.net>2024-08-13 01:12:12 +0200
commitd6f2c0a5b4112b744edbea65d3d0b18a8ed337c1 (patch)
treec8078ee56198b45e8eb8f92c91f047fac1f4f904 /dev-python
parentsys-power/auto-cpufreq: remove superflous copyright notice (diff)
downloadguru-d6f2c0a5b4112b744edbea65d3d0b18a8ed337c1.tar.gz
guru-d6f2c0a5b4112b744edbea65d3d0b18a8ed337c1.tar.bz2
guru-d6f2c0a5b4112b744edbea65d3d0b18a8ed337c1.zip
dev-python/jpype: QA fixups
- unquoted S - static version in SRC_URI - description too long - unconsistent indentation Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/jpype/jpype-1.5.0.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-python/jpype/jpype-1.5.0.ebuild b/dev-python/jpype/jpype-1.5.0.ebuild
index 66f80d3a4..c1732409a 100644
--- a/dev-python/jpype/jpype-1.5.0.ebuild
+++ b/dev-python/jpype/jpype-1.5.0.ebuild
@@ -8,9 +8,9 @@ PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
-DESCRIPTION="Cross-language bridge to allow Python programs full access to Java class libraries"
+DESCRIPTION="Bridge to allow Python programs full access to Java class libraries"
HOMEPAGE="https://github.com/jpype-project/jpype/"
-SRC_URI="https://github.com/jpype-project/jpype/releases/download/v1.5.0/JPype1-1.5.0.tar.gz "
+SRC_URI="https://github.com/jpype-project/jpype/releases/download/v${PV}/JPype1-${PV}.tar.gz "
S=${WORKDIR}/JPype1-${PV}
LICENSE="Apache-2.0"
@@ -25,10 +25,10 @@ distutils_enable_tests pytest
# To be deleted after resolution of
# https://bugs.gentoo.org/937642
_distutils-r1_post_python_install() {
- local keep
+ local keep
}
src_prepare() {
- sed -i "s/'-g0', //g;s/, '-O2'//g" ${S}/setupext/platform.py
- default
+ sed -i "s/'-g0', //g;s/, '-O2'//g" "${S}"/setupext/platform.py || die
+ default
}