Browse Source

python-grpcio-tools: added to repo

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
master
Steven Noonan 3 years ago
parent
commit
f037e52c66
No known key found for this signature in database GPG Key ID: 7EACB44BA7B30DB9
  1. 18
      python-grpcio-tools/.gitignore
  2. 34
      python-grpcio-tools/PKGBUILD

18
python-grpcio-tools/.gitignore

@ -0,0 +1,18 @@
*/
.*.swp
*.pkg.tar.xz
src/
pkg/
*.tar
*.tar.bz2
*.tar.xz
*.tar.gz
*.tgz
*.txz
*.tbz
*.tbz2
*.zip
*.run
*.7z
*.rar
*.deb

34
python-grpcio-tools/PKGBUILD

@ -0,0 +1,34 @@
# Maintainer: brent s. <bts[at]square-r00t[dot]net>
validpgpkeys=('748231EBCBD808A14F5E85D28C004C2F93481F6B')
# Bug reports can be filed at https://bugs.square-r00t.net/index.php?project=3
# News updates for packages can be followed at https://devblog.square-r00t.net
pkgname=('python-grpcio-tools' 'python2-grpcio-tools')
pkgver=1.14.0
pkgrel=1
pkgdesc="Python protobuf generator for GRPC"
arch=('any')
url="https://grpc.io/"
license=('Apache' )
_pkgname=grpcio-tools
install=
changelog=
noextract=()
makedepends=('python-setuptools' 'python2-setuptools')
source=("https://files.pythonhosted.org/packages/source/g/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
"${_pkgname}-${pkgver}.tar.gz.sig")
sha512sums=('a6e56b44b50dbb0cfd3c5987b6a915986e6f5432866f1f435e837f9bebbc4d0e765c9e86adda652aa7d7fdcc5ad807f0efddf95fe1ce9a0b7dffe02d66263173'
'SKIP')
package_python-grpcio-tools() {
depends=('python' 'python-grpcio' 'python-protobuf')
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
}
package_python2-grpcio-tools() {
depends=('python2' 'python2-grpcio' 'python2-protobuf')
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
}
Loading…
Cancel
Save