Browse Source
development/protobuf3: Re-enable python bindings.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/223/head
Willy Sudiarto Raharjo
2 years ago
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with
11 additions and
9 deletions
-
development/protobuf3/protobuf3.SlackBuild
-
development/protobuf3/protobuf3.info
|
|
@ -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 |
|
|
|
|
|
|
|
|
|
@ -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" |
|
|
|