[arch-commits] Commit in grpc/repos/community-x86_64 (4 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Mon Jun 10 09:49:54 UTC 2019


    Date: Monday, June 10, 2019 @ 09:49:54
  Author: mtorromeo
Revision: 479710

archrelease: copy trunk to community-x86_64

Added:
  grpc/repos/community-x86_64/PKGBUILD
    (from rev 479709, grpc/trunk/PKGBUILD)
  grpc/repos/community-x86_64/makefile.patch
    (from rev 479709, grpc/trunk/makefile.patch)
Deleted:
  grpc/repos/community-x86_64/PKGBUILD
  grpc/repos/community-x86_64/makefile.patch

----------------+
 PKGBUILD       |  192 +++++++++++++++++++++++++++----------------------------
 makefile.patch |   30 ++++----
 2 files changed, 111 insertions(+), 111 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-10 09:49:39 UTC (rev 479709)
+++ PKGBUILD	2019-06-10 09:49:54 UTC (rev 479710)
@@ -1,96 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Aleksey Filippov <sarum9in at gmail.com>
-# Contributor: Victor Aurélio Santos <victoraur.santos at gmail.com>
-
-pkgbase='grpc'
-pkgname=('grpc' 'python-grpcio' 'php-grpc' 'grpc-cli')
-pkgver=1.21.1
-_gtestver=1.8.1
-pkgrel=2
-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"
-        "makefile.patch")
-sha256sums=('1bf082fb3016154d3f806da8eb5876caf05743da4b2e8130fadd000df74b5bb6'
-            '9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c'
-            '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
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  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 479709, grpc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-10 09:49:54 UTC (rev 479710)
@@ -0,0 +1,96 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Aleksey Filippov <sarum9in at gmail.com>
+# Contributor: Victor Aurélio Santos <victoraur.santos at gmail.com>
+
+pkgbase='grpc'
+pkgname=('grpc' 'python-grpcio' 'php-grpc' 'grpc-cli')
+pkgver=1.21.4
+_gtestver=1.8.1
+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"
+        "makefile.patch")
+sha256sums=('5112475ca2ab15c7b26f88708c44761b1f8488e3a941e8b89d9d8a95e2e615a2'
+            '9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c'
+            '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
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  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
+}

Deleted: makefile.patch
===================================================================
--- makefile.patch	2019-06-10 09:49:39 UTC (rev 479709)
+++ makefile.patch	2019-06-10 09:49:54 UTC (rev 479710)
@@ -1,15 +0,0 @@
-diff --git a/Makefile b/Makefile
-index d8a0e01..9596d6c 100644
---- a/Makefile
-+++ b/Makefile
-@@ -3022,8 +3022,8 @@ install-headers_c:
- 
- install-headers_cxx:
- 	$(E) "[INSTALL] Installing public C++ headers"
--	$(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1
--	$(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
-+	$(Q) DIRS="$(shell dirname $(PUBLIC_HEADERS_CXX) | uniq )"; 		for d in $$DIRS; do [ ! -d $(prefix)/$$d ] && $(INSTALL) -d $(prefix)/$$d || : ; done
-+	$(Q) for f in $(PUBLIC_HEADERS_CXX); do $(INSTALL) $$f $(prefix)/$$f ; done
- 
- install-static: install-static_c install-static_cxx
- 

Copied: grpc/repos/community-x86_64/makefile.patch (from rev 479709, grpc/trunk/makefile.patch)
===================================================================
--- makefile.patch	                        (rev 0)
+++ makefile.patch	2019-06-10 09:49:54 UTC (rev 479710)
@@ -0,0 +1,15 @@
+diff --git a/Makefile b/Makefile
+index d8a0e01..9596d6c 100644
+--- a/Makefile
++++ b/Makefile
+@@ -3022,8 +3022,8 @@ install-headers_c:
+ 
+ install-headers_cxx:
+ 	$(E) "[INSTALL] Installing public C++ headers"
+-	$(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1
+-	$(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
++	$(Q) DIRS="$(shell dirname $(PUBLIC_HEADERS_CXX) | uniq )"; 		for d in $$DIRS; do [ ! -d $(prefix)/$$d ] && $(INSTALL) -d $(prefix)/$$d || : ; done
++	$(Q) for f in $(PUBLIC_HEADERS_CXX); do $(INSTALL) $$f $(prefix)/$$f ; done
+ 
+ install-static: install-static_c install-static_cxx
+ 


More information about the arch-commits mailing list