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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 19:23:06 UTC 2020


    Date: Monday, November 9, 2020 @ 19:23:06
  Author: foutrelis
Revision: 748037

archrelease: copy trunk to community-staging-any

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

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

Copied: python-requests-oauthlib/repos/community-staging-any/PKGBUILD (from rev 748036, python-requests-oauthlib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 19:23:06 UTC (rev 748037)
@@ -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=3
+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