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/protobuf3.SlackBuild | |
parent | 01de9f0ffbdc113a6b02b4e04c2fec5a1fd6f407 (diff) | |
download | slackbuilds-a9140abc61598bdeb4fa04813af89be76d1cd823.tar.gz slackbuilds-a9140abc61598bdeb4fa04813af89be76d1cd823.tar.xz |
development/protobuf3: Re-enable python bindings.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/protobuf3/protobuf3.SlackBuild')
-rw-r--r-- | development/protobuf3/protobuf3.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/development/protobuf3/protobuf3.SlackBuild b/development/protobuf3/protobuf3.SlackBuild index 83a5c11db3..06f0f39b1e 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 |