[arch-commits] Commit in python-gcp-devrel-py-tools/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Wed Apr 22 01:32:10 UTC 2020


    Date: Wednesday, April 22, 2020 @ 01:32:10
  Author: felixonmars
Revision: 617479

archrelease: copy trunk to community-any

Added:
  python-gcp-devrel-py-tools/repos/community-any/PKGBUILD
    (from rev 617478, python-gcp-devrel-py-tools/trunk/PKGBUILD)
Deleted:
  python-gcp-devrel-py-tools/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++-----------------------------------------
 1 file changed, 25 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-22 01:31:57 UTC (rev 617478)
+++ PKGBUILD	2020-04-22 01:32:10 UTC (rev 617479)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-gcp-devrel-py-tools
-pkgname=('python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
-pkgver=0.0.15
-_commit=87422ba91814529848a2b8bf8be4294283a3e041
-pkgrel=4
-pkgdesc='Tools for Cloud Platform Python libraries and samples'
-arch=('any')
-license=('Apache')
-url='https://github.com/GoogleCloudPlatform/python-repo-tools'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests'
-             'python-retrying' 'python2-retrying' 'python-packaging' 'python2-packaging'
-             'python-pylint' 'python2-pylint')
-source=("$pkgbase-$_commit.tar.gz::https://github.com/GoogleCloudPlatform/python-repo-tools/archive/$_commit.tar.gz")
-sha512sums=('6ed884b0325aa212c8545e33ddd763ea4fe4980f40ceab166a0d3f65913698ec9a31d7471f6907fb8e391e4063db20d59bb4c688adcb3d5e17fb04025cce6dd2')
-
-prepare() {
-  cp -a python-repo-tools-$_commit{,-py2}
-}
-
-build() {
-  cd "$srcdir"/python-repo-tools-$_commit
-  python setup.py build
-
-  cd "$srcdir"/python-repo-tools-$_commit-py2
-  python2 setup.py build
-}
-
-package_python-gcp-devrel-py-tools() {
-  depends=('python-requests' 'python-retrying' 'python-setuptools' 'python-packaging'
-           'python-pylint')
-
-  cd python-repo-tools-$_commit
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-gcp-devrel-py-tools() {
-  depends=('python2-requests' 'python2-retrying' 'python2-setuptools' 'python2-packaging'
-           'python2-pylint')
-
-  cd python-repo-tools-$_commit-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir"/usr/bin/gcp-devrel-py-tools{,2}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-gcp-devrel-py-tools/repos/community-any/PKGBUILD (from rev 617478, python-gcp-devrel-py-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-22 01:32:10 UTC (rev 617479)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-gcp-devrel-py-tools
+pkgver=0.0.16
+_commit=dbc02f5ec965a6672d47a0e8963365970d96db17
+pkgrel=1
+pkgdesc='Tools for Cloud Platform Python libraries and samples'
+arch=('any')
+license=('Apache')
+url='https://github.com/GoogleCloudPlatform/python-repo-tools'
+depends=('python-setuptools' 'python-requests' 'python-retrying' 'python-packaging' 'python-pylint')
+source=("$pkgname-$_commit.tar.gz::https://github.com/GoogleCloudPlatform/python-repo-tools/archive/$_commit.tar.gz")
+sha512sums=('8e1963d9cf15aee6c11bf99236f6d86ba72a56a8bb41c20b7d28786669551a35204755c9abcccc617ac4384b9f68e53a0a04d70726849fd0cd3c89f0aae15b76')
+
+build() {
+  cd "$srcdir"/python-repo-tools-$_commit
+  python setup.py build
+}
+
+package() {
+  cd python-repo-tools-$_commit
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list