[arch-commits] Commit in python-pydrive2/repos (community-any community-any/PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Wed Jul 6 17:52:02 UTC 2022
Date: Wednesday, July 6, 2022 @ 17:52:01
Author: grawlinson
Revision: 1246743
archrelease: copy trunk to community-any
Added:
python-pydrive2/repos/community-any/
python-pydrive2/repos/community-any/PKGBUILD
(from rev 1246742, python-pydrive2/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: python-pydrive2/repos/community-any/PKGBUILD (from rev 1246742, python-pydrive2/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2022-07-06 17:52:01 UTC (rev 1246743)
@@ -0,0 +1,40 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=python-pydrive2
+_pkgname="${pkgname#python-}"
+pkgver=1.10.1
+pkgrel=1
+pkgdesc='Google Drive API Python wrapper library (maintained fork of PyDrive)'
+arch=('any')
+url='https://github.com/iterative/PyDrive2'
+license=('Apache')
+depends=(
+ 'python'
+ 'python-google-api-python-client'
+ 'python-six'
+ 'python-oauth2client'
+ 'python-pyaml'
+ 'python-pyopenssl'
+)
+makedepends=('git' 'python-setuptools')
+_commit='0547b42833f821230316e7e9d22511cfde004e4b'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd "$pkgname"
+
+ python setup.py build
+}
+
+package() {
+ cd "$pkgname"
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list