[arch-commits] Commit in grpc/repos (5 files)
Date: Sunday, December 15, 2019 @ 18:22:00 Author: lfleischer Revision: 537780 db-move: moved grpc from [community-testing] to [community] (x86_64) Added: grpc/repos/community-x86_64/PKGBUILD (from rev 537779, grpc/repos/community-testing-x86_64/PKGBUILD) grpc/repos/community-x86_64/makefile.patch (from rev 537779, grpc/repos/community-testing-x86_64/makefile.patch) Deleted: grpc/repos/community-testing-x86_64/ grpc/repos/community-x86_64/PKGBUILD grpc/repos/community-x86_64/makefile.patch -+ /PKGBUILD | 104 ++ /makefile.patch | 15 + community-x86_64/PKGBUILD | 104 -- community-x86_64/makefile.patch | 15 - 4 files changed, 119 insertions(+), 119 deletions(-) Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2019-12-15 18:21:51 UTC (rev 537779) +++ community-x86_64/PKGBUILD 2019-12-15 18:22:00 UTC (rev 537780) @@ -1,104 +0,0 @@ -# Maintainer: Massimiliano Torromeo -# Contributor: Aleksey Filippov -# Contributor: Victor Aurélio Santos - -pkgbase='grpc' -pkgname=('grpc' 'python-grpcio' 'php-grpc' 'grpc-cli') -pkgver=1.25.0 -_gtestver=1.8.1 -_upbver=931bbecbd3230ae7f22efa5d203639facc47f719 -pkgrel=3 -pkgdesc="High performance, open source, general RPC framework that puts mobile and HTTP/2 first." -arch=('x86_64') -url='https://grpc.io' -license=('BSD') -makedepends=('re2c' 'protobuf' 'php' 'c-ares' 'openssl' 'chrpath' 'gflags' - 'cython') -source=("https://github.com/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz; - "https://github.com/google/googletest/archive/release-$_gtestver/googletest-$_gtestver.tar.gz; - "https://github.com/protocolbuffers/upb/archive/$_upbver/upb-$_upbver.tar.gz; -"makefile.patch") -sha256sums=('ffbe61269160ea745e487f79b0fd06b6edd3d50c6d9123f053b5634737cf2f69' -'9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c' -'95150db57b51b65f3422c38953956e0f786945d842d76f8ab685fbcd93ab5caa' -'f292cb387f0cf7567e6e8004a6dd57bf0375abbaa8968dcd97cbd7e72409670f') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - - patch -p1 -i "$srcdir/makefile.patch" - - sed -r 's/-Werror//g;/ldconfig/d;s/ strip-(static|shared)_c(xx)? / /' -i Makefile - - ln -sf "$srcdir/googletest-release-$_gtestver/"{googlemock,googletest} \ -third_party/googletest - - rm -rf third_party/upb - ln -s "$srcdir/upb-$_upbver" third_party/upb -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - export CFLAGS="$CFLAGS -Wno-unused-parameter" - export CXXFLAGS="$CXXFLAGS -Wno-unused-parameter" - - make prefix=/usr - make prefix=/usr grpc_cli - - # Don't install it as part of main package - mv bins/opt/grpc_cli . - - # Python - GRPC_PYTHON_BUILD_WITH_CYTHON=1 \ - GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 \ - GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 \ - GRPC_PYTHON_BUILD_SYSTEM_CARES=1 \ - python setup.py build - - # PHP - cd "$srcdir/$pkgbase-$pkgver/src/php/ext/$pkgbase" - phpize - LDFLAGS=-L"$srcdir/$pkgname-$pkgver/libs/opt" ./configure --enable-grpc="$srcdir/$pkgname-$pkgver" - make -} - -package_grpc() { - depends=('c-ares' 'protobuf' 'openssl') - - cd "$srcdir/$pkgbase-$pkgver" - make prefix="$pkgdir/usr" install - find "$pkgdir"/usr/{include,share,lib/pkgconfig} -type f -exec chmod a-x {} + - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-grpcio() { - depends=('c-ares' 'python') - - cd "$srcdir/$pkgbase-$pkgver" - python setup.py install -O1 --skip-build --root="$pkgdir" - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_php-grpc() { - depends=('grpc' 'php') - backup=('etc/php/conf.d/grpc.ini') - - # Install PHP extension. - cd "$srcdir/$pkgbase-$pkgver/src/php/ext/$pkgbase" - make install "INSTALL_ROOT=$pkgdir" - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - - # Remove RPATH - chrpath -d "$pkgdir/usr/lib/php/modules/grpc.so" - - echo ';extension=grpc.so' >grpc.ini - install -Dm644 grpc.ini "$pkgdir/etc/php/conf.d/grpc.ini" -} - -package_grpc-cli() { - depends=('c-ares' 'gflags' 'protobuf' 'openssl') - - cd "$srcdir/$pkgbase-$pkgver" - install -Dm755 grpc_cli "$pkgdir"/usr/bin/grpc_cli - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: grpc/repos/community-x86_64/PKGBUILD (from rev 537779, grpc/repos/community-testing-x86_64/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2019-12-15 18:22:00 UTC (rev 537780) @@ -0,0 +1,104 @@ +# Maintainer: Massimiliano Torromeo +# Contributor: Aleksey Filippov +# Contributor: Victor Aurélio Santos + +pkgbase='grpc'
[arch-commits] Commit in grpc/repos (5 files)
Date: Sunday, October 27, 2019 @ 18:53:44 Author: lfleischer Revision: 520772 db-move: moved grpc from [community-testing] to [community] (x86_64) Added: grpc/repos/community-x86_64/PKGBUILD (from rev 520771, grpc/repos/community-testing-x86_64/PKGBUILD) grpc/repos/community-x86_64/makefile.patch (from rev 520771, grpc/repos/community-testing-x86_64/makefile.patch) Deleted: grpc/repos/community-testing-x86_64/ grpc/repos/community-x86_64/PKGBUILD grpc/repos/community-x86_64/makefile.patch -+ /PKGBUILD | 104 ++ /makefile.patch | 15 + community-x86_64/PKGBUILD | 104 -- community-x86_64/makefile.patch | 15 - 4 files changed, 119 insertions(+), 119 deletions(-) Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2019-10-27 18:53:33 UTC (rev 520771) +++ community-x86_64/PKGBUILD 2019-10-27 18:53:44 UTC (rev 520772) @@ -1,104 +0,0 @@ -# Maintainer: Massimiliano Torromeo -# Contributor: Aleksey Filippov -# Contributor: Victor Aurélio Santos - -pkgbase='grpc' -pkgname=('grpc' 'python-grpcio' 'php-grpc' 'grpc-cli') -pkgver=1.24.3 -_gtestver=1.8.1 -_upbver=931bbecbd3230ae7f22efa5d203639facc47f719 -pkgrel=1 -pkgdesc="High performance, open source, general RPC framework that puts mobile and HTTP/2 first." -arch=('x86_64') -url='https://grpc.io' -license=('BSD') -makedepends=('re2c' 'protobuf' 'php' 'c-ares' 'openssl' 'chrpath' 'gflags' - 'cython') -source=("https://github.com/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz; - "https://github.com/google/googletest/archive/release-$_gtestver/googletest-$_gtestver.tar.gz; - "https://github.com/protocolbuffers/upb/archive/$_upbver/upb-$_upbver.tar.gz; -"makefile.patch") -sha256sums=('c84b3fa140fcd6cce79b3f9de6357c5733a0071e04ca4e65ba5f8d306f10f033' -'9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c' -'95150db57b51b65f3422c38953956e0f786945d842d76f8ab685fbcd93ab5caa' -'f292cb387f0cf7567e6e8004a6dd57bf0375abbaa8968dcd97cbd7e72409670f') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - - patch -p1 -i "$srcdir/makefile.patch" - - sed -r 's/-Werror//g;/ldconfig/d;s/ strip-(static|shared)_c(xx)? / /' -i Makefile - - ln -sf "$srcdir/googletest-release-$_gtestver/"{googlemock,googletest} \ -third_party/googletest - - rm -rf third_party/upb - ln -s "$srcdir/upb-$_upbver" third_party/upb -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - export CFLAGS="$CFLAGS -Wno-unused-parameter" - export CXXFLAGS="$CXXFLAGS -Wno-unused-parameter" - - make prefix=/usr - make prefix=/usr grpc_cli - - # Don't install it as part of main package - mv bins/opt/grpc_cli . - - # Python - GRPC_PYTHON_BUILD_WITH_CYTHON=1 \ - GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 \ - GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 \ - GRPC_PYTHON_BUILD_SYSTEM_CARES=1 \ - python setup.py build - - # PHP - cd "$srcdir/$pkgbase-$pkgver/src/php/ext/$pkgbase" - phpize - LDFLAGS=-L"$srcdir/$pkgname-$pkgver/libs/opt" ./configure --enable-grpc="$srcdir/$pkgname-$pkgver" - make -} - -package_grpc() { - depends=('c-ares' 'protobuf' 'openssl') - - cd "$srcdir/$pkgbase-$pkgver" - make prefix="$pkgdir/usr" install - find "$pkgdir"/usr/{include,share,lib/pkgconfig} -type f -exec chmod a-x {} + - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-grpcio() { - depends=('c-ares' 'python') - - cd "$srcdir/$pkgbase-$pkgver" - python setup.py install -O1 --skip-build --root="$pkgdir" - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_php-grpc() { - depends=('grpc' 'php') - backup=('etc/php/conf.d/grpc.ini') - - # Install PHP extension. - cd "$srcdir/$pkgbase-$pkgver/src/php/ext/$pkgbase" - make install "INSTALL_ROOT=$pkgdir" - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - - # Remove RPATH - chrpath -d "$pkgdir/usr/lib/php/modules/grpc.so" - - echo ';extension=grpc.so' >grpc.ini - install -Dm644 grpc.ini "$pkgdir/etc/php/conf.d/grpc.ini" -} - -package_grpc-cli() { - depends=('c-ares' 'gflags' 'protobuf' 'openssl') - - cd "$srcdir/$pkgbase-$pkgver" - install -Dm755 grpc_cli "$pkgdir"/usr/bin/grpc_cli - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: grpc/repos/community-x86_64/PKGBUILD (from rev 520771, grpc/repos/community-testing-x86_64/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2019-10-27 18:53:44 UTC (rev 520772) @@ -0,0 +1,104 @@ +# Maintainer: Massimiliano Torromeo +# Contributor: Aleksey Filippov +# Contributor: Victor Aurélio Santos + +pkgbase='grpc' +pkgname=('grpc'