[arch-commits] Commit in python-requests-oauthlib/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 21:41:34 UTC 2021
Date: Tuesday, November 30, 2021 @ 21:41:34
Author: felixonmars
Revision: 1058926
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 1058924, python-requests-oauthlib/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-requests-oauthlib/repos/community-staging-any/PKGBUILD (from rev 1058924, python-requests-oauthlib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 21:41:34 UTC (rev 1058926)
@@ -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=5
+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