[arch-commits] Commit in python-dropbox/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Aug 17 06:24:14 UTC 2018


    Date: Friday, August 17, 2018 @ 06:24:14
  Author: felixonmars
Revision: 372112

archrelease: copy trunk to community-testing-any

Added:
  python-dropbox/repos/community-testing-any/
  python-dropbox/repos/community-testing-any/PKGBUILD
    (from rev 372111, python-dropbox/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-dropbox/repos/community-testing-any/PKGBUILD (from rev 372111, python-dropbox/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-08-17 06:24:14 UTC (rev 372112)
@@ -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=9.0.0
+pkgrel=1
+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")
+sha512sums=('6d1ffd283f53744579514e03c0ac8d9c7d922a998e0563d98381dfa29d147e81b6e252f5cb40bba3dc90c140d7a3088e231ed4d0c9d39012d14f9326d4516ebf')
+
+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