Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions j/jpype/build_info.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"maintainer": "vivek8123",
"maintainer": "shivansh-ibm",
"package_name": "jpype",
"github_url": "https://github.com/jpype-project/jpype.git",
"version": "v1.5.0",
"version": "v1.7.0",
"default_branch": "master",
"build_script": "jpype_ubi_9.3.sh",
"package_dir": "j/jpype",
Expand Down
12 changes: 9 additions & 3 deletions j/jpype/jpype_ubi_9.3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# -----------------------------------------------------------------------------
#
# Package : jpype
# Version : v1.5.0
# Version : v1.7.0
# Source repo : https://github.com/jpype-project/jpype.git
# Tested on : UBI 9.3
# Language : Python
# Ci-Check : True
# Script License : Apache License, Version 2 or later
# Maintainer : Vivek Sharma <vivek.sharma20@ibm.com>
# Maintainer : Shivansh Sharma <shivansh.sharma20@ibm.com>
#
# Disclaimer: This script has been tested in root mode on the given
# ========== platform using the mentioned version of the package.
Expand All @@ -19,7 +19,7 @@
# -----------------------------------------------------------------------------

PACKAGE_NAME=jpype
PACKAGE_VERSION=${1:-v1.5.0}
PACKAGE_VERSION=${1:-v1.7.0}
PACKAGE_DIR=jpype
PACKAGE_URL=https://github.com/jpype-project/jpype.git

Expand Down Expand Up @@ -47,6 +47,12 @@ export CLASSPATH=$CLASSPATH:$(pwd)/sqlite-jdbc.jar:$(pwd)/hsqldb.jar:$(pwd)/h2.j
python3 -m pip install -U pip setuptools wheel
python3 -m pip install pytest pytest-cov numpy

if [[ "$(printf '%s\n' "1.7.0" "${PACKAGE_VERSION#v}" | sort -V | head -n1)" == "1.7.0" ]]; then
echo "Version >= 1.7.0"
yum install -y ant
python3 -m pip install scikit-build-core
fi

# Install the package
if python3 -m pip install --no-build-isolation -e .; then
echo "------------------$PACKAGE_NAME: Installation successful ---------------------"
Expand Down
Loading