[arch-commits] Commit in python-dropbox/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 7 13:57:20 UTC 2019


    Date: Tuesday, May 7, 2019 @ 13:57:19
  Author: felixonmars
Revision: 462115

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-07 13:57:08 UTC (rev 462114)
+++ PKGBUILD	2019-05-07 13:57:19 UTC (rev 462115)
@@ -1,50 +0,0 @@
-# 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.1.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 python-pytest-runner python2-pytest-runner)
-source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/dropbox/$_pkgname/archive/v$pkgver.tar.gz")
-sha512sums=('96ddd5fddc92190715f3cfe8c3a6aac46aeca97af63a841b88ae6b2e57735245f4ff9d23311a76c6d8e88f59460e557b0050d72b65df85787e5e7db0a82cf9cd')
-
-build() {
-  cd "$srcdir/$_pkgname-$pkgver"
-
-  python setup.py build
-  python2 setup.py build
-}
-
-# requires API token in $DROPBOX_TOKEN
-#check() {
-#  cd "$srcdir/$_pkgname-$pkgver"
-#
-#  python setup.py pytest --addopts "-k 'not TestDropboxTeam'"
-#  python2 setup.py pytest --addopts "-k 'not TestDropboxTeam'"
-#}
-
-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"
-}

Copied: python-dropbox/repos/community-any/PKGBUILD (from rev 462114, python-dropbox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-07 13:57:19 UTC (rev 462115)
@@ -0,0 +1,50 @@
+# 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.2.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 python-pytest-runner python2-pytest-runner)
+source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/dropbox/$_pkgname/archive/v$pkgver.tar.gz")
+sha512sums=('b609b6f283176ab8fc4af28a2ef729a2346434fa817334b7377ba8ab8e46cd9f1a78e66b9ccc15f87636f37e3b71fc3362a871da655d76401a7e198c353b07e4')
+
+build() {
+  cd "$srcdir/$_pkgname-$pkgver"
+
+  python setup.py build
+  python2 setup.py build
+}
+
+# requires API token in $DROPBOX_TOKEN
+#check() {
+#  cd "$srcdir/$_pkgname-$pkgver"
+#
+#  python setup.py pytest --addopts "-k 'not TestDropboxTeam'"
+#  python2 setup.py pytest --addopts "-k 'not TestDropboxTeam'"
+#}
+
+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