[arch-commits] Commit in python-dropbox/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Jun 30 18:46:46 UTC 2018
Date: Saturday, June 30, 2018 @ 18:46:46
Author: felixonmars
Revision: 349106
archrelease: copy trunk to community-staging-any
Added:
python-dropbox/repos/community-staging-any/
python-dropbox/repos/community-staging-any/PKGBUILD
(from rev 349105, python-dropbox/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-dropbox/repos/community-staging-any/PKGBUILD (from rev 349105, python-dropbox/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-06-30 18:46:46 UTC (rev 349106)
@@ -0,0 +1,35 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Andrey Mivrenik <gim at fastmail dot fm>
+# Contributor: Tim Diels <tim at timdiels.be>
+
+pkgbase=python-dropbox
+_pkgname=dropbox-sdk-python
+pkgname=(python-dropbox python2-dropbox)
+pkgver=8.9.0
+pkgrel=2
+pkgdesc="Python SDK for Dropbox Core APIs"
+url="https://www.dropbox.com/developers/core/sdks/python"
+arch=('any')
+license=('MIT')
+makedepends=(python-requests python2-requests python-urllib3 python2-urllib3
+ python-setuptools python2-setuptools)
+source=("https://github.com/dropbox/$_pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('ff8e6348ec003cab8a0cbf0d75a07cda772a38a970571976b92e985a21b4460a')
+
+package_python-dropbox() {
+ depends=(python python-urllib3 python-requests)
+
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-dropbox() {
+ depends=(python2 python2-urllib3 python2-requests)
+
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list