dev-python/jpype: add 1.5.1, drop 1.5.0-r1

Signed-off-by: Ivan Lloro <ivan.lloro.boada@gmail.com>
This commit is contained in:
Ivan Lloro
2024-11-19 00:01:26 +01:00
parent a8cb72f20a
commit 74a956094d
2 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
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/v${PV}/JPype1-${PV}.tar.gz "
S="${WORKDIR}/jpype1-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/gpep517
virtual/jdk
"
src_prepare() {
sed -i "s/'-g0', //g;s/, '-O2'//g" "${S}"/setupext/platform.py || die
default
}