diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-24 06:58:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-24 06:58:24 +0700 |
commit | a9140abc61598bdeb4fa04813af89be76d1cd823 (patch) | |
tree | a41b218c8364e443b697369dbf661229107f94ca /development/protobuf3 | |
parent | 01de9f0ffbdc113a6b02b4e04c2fec5a1fd6f407 (diff) |
development/protobuf3: Re-enable python bindings.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/protobuf3')
-rw-r--r-- | development/protobuf3/protobuf3.SlackBuild | 14 | ||||
-rw-r--r-- | development/protobuf3/protobuf3.info | 6 |
2 files changed, 11 insertions, 9 deletions
diff --git a/development/protobuf3/protobuf3.SlackBuild b/development/protobuf3/protobuf3.SlackBuild index 83a5c11db392..06f0f39b1efc 100644 --- a/development/protobuf3/protobuf3.SlackBuild +++ b/development/protobuf3/protobuf3.SlackBuild @@ -99,13 +99,13 @@ cd build cd .. # Install the python bindings: -#cd python -#cp -a dist/setup.py . -#LDFLAGS+=" -L$TMP/$SRCNAM-$VERSION/build" \ -#PROTOC="$TMP/$SRCNAM-$VERSION/build/protoc" \ -#python3 -m build --wheel --no-isolation -#python3 -m installer --destdir "$PKG" dist/*.whl -#cd .. +tar xvf $CWD/$SRCNAM-5.$VERSION.tar.gz +cd $SRCNAM-5.$VERSION +LDFLAGS+=" -L$TMP/$SRCNAM-$VERSION/build" \ +PROTOC="$TMP/$SRCNAM-$VERSION/build/protoc" \ +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl +cd .. rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la diff --git a/development/protobuf3/protobuf3.info b/development/protobuf3/protobuf3.info index e95b86e0198a..de0411196fbe 100644 --- a/development/protobuf3/protobuf3.info +++ b/development/protobuf3/protobuf3.info @@ -1,8 +1,10 @@ PRGNAM="protobuf3" VERSION="26.0" HOMEPAGE="https://github.com/google/protobuf" -DOWNLOAD="https://github.com/google/protobuf/archive/v26.0/protobuf-26.0.tar.gz" -MD5SUM="44068557aabb2b774a29260740bbccc4" +DOWNLOAD="https://github.com/google/protobuf/archive/v26.0/protobuf-26.0.tar.gz \ +https://files.pythonhosted.org/packages/ea/ab/ae590cd71f5a50cd9e0979593e217529b532a001e46c2dd0811c8697f4ad/protobuf-5.26.0.tar.gz" +MD5SUM="44068557aabb2b774a29260740bbccc4 \ +687fb8ffae9977e5f84b3d3325b6dbcf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="abseil-cpp" |