[arch-commits] Commit in (4 files)

Lukas Fleischer lfleischer at archlinux.org
Tue Jan 13 21:38:05 UTC 2015


    Date: Tuesday, January 13, 2015 @ 22:38:05
  Author: lfleischer
Revision: 125881

Import python-dropbox from [unsupported]

Added:
  python-dropbox/
  python-dropbox/repos/
  python-dropbox/trunk/
  python-dropbox/trunk/PKGBUILD

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

Added: python-dropbox/trunk/PKGBUILD
===================================================================
--- python-dropbox/trunk/PKGBUILD	                        (rev 0)
+++ python-dropbox/trunk/PKGBUILD	2015-01-13 21:38:05 UTC (rev 125881)
@@ -0,0 +1,33 @@
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Andrey Mivrenik <gim at fastmail dot fm>
+# Contributor: Tim Diels <tim at timdiels.be>
+
+pkgbase=python-dropbox
+pkgname=(python-dropbox python2-dropbox)
+pkgver=2.2.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-urllib3 python2-urllib3 python2-setuptools python-setuptools)
+source=("https://www.dropbox.com/developers/downloads/sdks/core/python/dropbox-python-sdk-$pkgver.zip")
+sha256sums=('7886c816fddbda6fa0ee707e6f30b1be8b5b2c4298385edceed01e9d5d98c43a')
+
+package_python-dropbox() {
+  depends=(python python-urllib3)
+
+  cd "$srcdir/dropbox-python-sdk-$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)
+
+  cd "$srcdir/dropbox-python-sdk-$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