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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 18:28:36 UTC 2020


    Date: Monday, November 9, 2020 @ 18:28:36
  Author: felixonmars
Revision: 747999

archrelease: copy trunk to community-staging-any

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

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

Copied: python-oauthlib/repos/community-staging-any/PKGBUILD (from rev 747997, python-oauthlib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 18:28:36 UTC (rev 747999)
@@ -0,0 +1,26 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-oauthlib
+pkgver=3.1.0
+pkgrel=5
+_libname=oauthlib
+pkgdesc="A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"
+arch=(any)
+url="https://github.com/idan/oauthlib"
+license=('BSD')
+source=(https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
+depends=(python-cryptography)
+makedepends=(python-setuptools)
+sha256sums=('bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889')
+
+build() {
+	cd "$srcdir/$_libname-$pkgver"
+	python setup.py build
+}
+
+package_python-oauthlib() {
+	cd "$srcdir/$_libname-$pkgver"
+	python setup.py install --skip-build -O1 --root="$pkgdir"
+	install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+	chmod -R a+r "$pkgdir/usr/lib"
+}



More information about the arch-commits mailing list