summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaizhao Zhang2019-01-25 14:35:43 +0800
committerKaizhao Zhang2019-01-25 14:35:43 +0800
commitfe1d7a76d1beee9195cf5a25ac33d1a9b0bba56a (patch)
tree877752d0bbddd42f2c7783015e343a6d9e4d3036
downloadaur-fe1d7a76d1beee9195cf5a25ac33d1a9b0bba56a.tar.gz
Initial import with version 1.7.0
-rw-r--r--.SRCINFO22
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD41
3 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..402c50734e6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = python-google-api-core
+ pkgdesc = Google API client core library
+ pkgver = 1.7.0
+ pkgrel = 1
+ url = https://pypi.org/project/google-api-core/
+ arch = any
+ license = APACHE
+ makedepends = python-setuptools
+ depends = python>=3.4
+ depends = python-googleapis-common-protos>=1.5.5
+ depends = python-protobuf>=3.4.0
+ depends = python-google-auth>=0.4.0
+ depends = python-requests>=2.18.0
+ depends = python-setuptools>=34.0.0
+ depends = python-six>=1.10.0
+ depends = python-pytz
+ options = !emptydirs
+ source = https://files.pythonhosted.org/packages/f3/25/68d1e27defe75a56f1eeed4c807e31692def0052b2f1c81953ed70c3468e/google-api-core-1.7.0.tar.gz
+ sha256sums = 85693e163a1a6faea69a74f8feaf35d54dfa2559fbdbbe389c93ffb3bb4c9a79
+
+pkgname = python-google-api-core
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..924dfb95c20
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkg/
+src/
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f111e323de0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Kaizhao Zhang <zhangkaizhao@gmail.com>
+
+_srcname=google-api-core
+
+pkgname=python-google-api-core
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="Google API client core library"
+arch=('any')
+url="https://pypi.org/project/google-api-core/"
+license=('APACHE')
+depends=(
+ 'python>=3.4'
+ 'python-googleapis-common-protos>=1.5.5'
+ 'python-protobuf>=3.4.0'
+ 'python-google-auth>=0.4.0'
+ 'python-requests>=2.18.0'
+ 'python-setuptools>=34.0.0'
+ 'python-six>=1.10.0'
+ 'python-pytz'
+)
+makedepends=('python-setuptools')
+options=(!emptydirs)
+source=(
+ "https://files.pythonhosted.org/packages/f3/25/68d1e27defe75a56f1eeed4c807e31692def0052b2f1c81953ed70c3468e/google-api-core-${pkgver}.tar.gz"
+)
+sha256sums=(
+ '85693e163a1a6faea69a74f8feaf35d54dfa2559fbdbbe389c93ffb3bb4c9a79'
+)
+
+build() {
+ cd "${srcdir}/${_srcname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_srcname}-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+ install -Dm644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}