[arch-commits] Commit in python-requests-oauthlib/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Thu Feb 13 15:06:13 UTC 2020


    Date: Thursday, February 13, 2020 @ 15:06:12
  Author: felixonmars
Revision: 570519

archrelease: copy trunk to community-any

Added:
  python-requests-oauthlib/repos/community-any/PKGBUILD
    (from rev 570518, python-requests-oauthlib/trunk/PKGBUILD)
Deleted:
  python-requests-oauthlib/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++---------------------------------------
 1 file changed, 32 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 15:05:58 UTC (rev 570518)
+++ PKGBUILD	2020-02-13 15:06:12 UTC (rev 570519)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Sebastien Leduc <sebastien at sleduc.fr>
-# Contributor: Roberto Catini <roberto.catini at gmail.com>
-
-pkgbase=python-requests-oauthlib
-pkgname=('python-requests-oauthlib' 'python2-requests-oauthlib')
-pkgver=1.3.0
-pkgrel=1
-pkgdesc="First-class OAuth library support for Requests"
-arch=('any')
-url="https://pypi.python.org/pypi/requests-oauthlib"
-license=('custom:ISC')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests'
-             'python-oauthlib' 'python2-oauthlib' 'git')
-checkdepends=('python-pytest' 'python2-pytest' 'python-requests-mock' 'python2-requests-mock'
-              'python-mock' 'python2-mock' 'python-pyjwt' 'python2-pyjwt')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/requests/requests-oauthlib/archive/v$pkgver.tar.gz")
-sha512sums=('0eebd209dad892567de7d37f1482b5c7523eced3a73a68054674b29447d090c885b2388fd6f2db26436f14098833051c8888ace8b137889a4012e010efb0e86b')
-
-prepare() {
-  cp -a requests-oauthlib-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/requests-oauthlib-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/requests-oauthlib-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/requests-oauthlib-$pkgver
-  py.test
-
-  cd "$srcdir"/requests-oauthlib-$pkgver-py2
-  py.test2
-}
-
-package_python-requests-oauthlib() {
-  depends=('python-requests' 'python-oauthlib')
-
-  cd requests-oauthlib-$pkgver
-  python setup.py install --root="$pkgdir/" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-requests-oauthlib() {
-  depends=('python2-requests' 'python2-oauthlib')
-
-  cd requests-oauthlib-$pkgver-py2
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-requests-oauthlib/repos/community-any/PKGBUILD (from rev 570518, python-requests-oauthlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-13 15:06:12 UTC (rev 570519)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sebastien Leduc <sebastien at sleduc.fr>
+# Contributor: Roberto Catini <roberto.catini at gmail.com>
+
+pkgname=python-requests-oauthlib
+pkgver=1.3.0
+pkgrel=2
+pkgdesc="First-class OAuth library support for Requests"
+arch=('any')
+url="https://pypi.python.org/pypi/requests-oauthlib"
+license=('custom:ISC')
+depends=('python-requests' 'python-oauthlib')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-requests-mock' 'python-mock' 'python-pyjwt')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/requests/requests-oauthlib/archive/v$pkgver.tar.gz")
+sha512sums=('0eebd209dad892567de7d37f1482b5c7523eced3a73a68054674b29447d090c885b2388fd6f2db26436f14098833051c8888ace8b137889a4012e010efb0e86b')
+
+build() {
+  cd requests-oauthlib-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd requests-oauthlib-$pkgver
+  py.test
+}
+
+package() {
+  cd requests-oauthlib-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list