Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit ea1d44d

Browse files
authored
Merge pull request #9 from paulproteus/dev-with-new-rubicon-java
Use current `rubicon-java`, for module-oriented `Python.run()`
2 parents 82f379c + 33699fe commit ea1d44d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

3.7.Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,12 @@ RUN cd Python-3.7.6 && make install
191191
RUN cp -a $PYTHON_INSTALL_DIR/lib/libpython3.7m.so "$JNI_LIBS"
192192

193193
# Download & install rubicon-java.
194-
ARG RUBICON_JAVA_VERSION=0.2020-02-27.0
195-
ADD downloads/${RUBICON_JAVA_VERSION}.tar.gz .
194+
ARG RUBICON_JAVA_VERSION=0.2.0
195+
ADD downloads/v${RUBICON_JAVA_VERSION}.tar.gz .
196196
RUN cd rubicon-java-${RUBICON_JAVA_VERSION} && \
197197
LDFLAGS='-landroid -llog' PYTHON_CONFIG=$PYTHON_INSTALL_DIR/bin/python3-config make
198-
RUN mv rubicon-java-${RUBICON_JAVA_VERSION}/dist/librubicon.so $JNI_LIBS
199-
RUN mkdir -p /opt/python-build/app/libs/ && mv rubicon-java-${RUBICON_JAVA_VERSION}/dist/rubicon.jar $APPROOT/app/libs/
198+
RUN mv rubicon-java-${RUBICON_JAVA_VERSION}/build/librubicon.so $JNI_LIBS
199+
RUN mkdir -p /opt/python-build/app/libs/ && mv rubicon-java-${RUBICON_JAVA_VERSION}/build/rubicon.jar $APPROOT/app/libs/
200200

201201
# Create output artifacts.
202202
ENV ASSETS_DIR $APPROOT/app/src/main/assets/

3.7.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function download_urls() {
119119
"https://tukaani.org/xz/xz-5.2.4.tar.gz=b512f3b726d3b37b6dc4c8570e137b9311e7552e8ccbab4d39d47ce5f4177145"
120120
"https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz"="ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269"
121121
"http://archive.ubuntu.com/ubuntu/pool/main/s/sqlite3/sqlite3_3.11.0.orig.tar.xz"="79fb8800b8744337d5317270899a5a40612bb76f81517e131bf496c26b044490"
122-
"https://github.com/paulproteus/rubicon-java/archive/0.2020-02-27.0.tar.gz=b698c1f5fd3f8d825ed88e1a782f1aaa58f6d27404edc43fdb7dd117ab4c8f28"
122+
"https://github.com/beeware/rubicon-java/archive/v0.2.0.tar.gz=b0d3d9ad4988c2d0e6995e2cbec085a5ef49b15e1be0d325b6141fb90fccccf7"
123123
)
124124
local DOWNLOAD_CACHE="$PWD/downloads"
125125
local DOWNLOAD_CACHE_TMP="$PWD/downloads.tmp"

0 commit comments

Comments
 (0)