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

Massimiliano Torromeo mtorromeo at gemini.archlinux.org
Thu Feb 24 15:19:22 UTC 2022


    Date: Thursday, February 24, 2022 @ 15:19:21
  Author: mtorromeo
Revision: 1136423

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-24 15:19:15 UTC (rev 1136422)
+++ PKGBUILD	2022-02-24 15:19:21 UTC (rev 1136423)
@@ -1,26 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=python-oauthlib
-pkgver=3.1.1
-pkgrel=3
-_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=('8f0215fcc533dd8dd1bee6f4c412d4f0cd7297307d43ac61666389e3bc3198a3')
-
-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"
-}

Copied: python-oauthlib/repos/community-any/PKGBUILD (from rev 1136422, python-oauthlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-24 15:19:21 UTC (rev 1136423)
@@ -0,0 +1,26 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-oauthlib
+pkgver=3.2.0
+pkgrel=1
+_libname=oauthlib
+pkgdesc="A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"
+arch=(any)
+url="https://github.com/oauthlib/oauthlib"
+license=('BSD')
+source=(https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
+depends=(python-cryptography)
+makedepends=(python-setuptools python-wheel python-build python-installer)
+sha256sums=('23a8208d75b902797ea29fd31fa80a15ed9dc2c6c16fe73f5d346f83f6fa27a2')
+
+build() {
+	cd "$srcdir/$_libname-$pkgver"
+	python -m build --wheel --no-isolation
+}
+
+package_python-oauthlib() {
+	cd "$srcdir/$_libname-$pkgver"
+	python -m installer --destdir="$pkgdir" dist/*.whl
+	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