[arch-commits] Commit in python-oauthlib/trunk (PKGBUILD)
Massimiliano Torromeo
mtorromeo at gemini.archlinux.org
Thu Feb 24 15:19:15 UTC 2022
Date: Thursday, February 24, 2022 @ 15:19:15
Author: mtorromeo
Revision: 1136422
upgpkg: python-oauthlib 3.2.0-1
Modified:
python-oauthlib/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-24 15:07:24 UTC (rev 1136421)
+++ PKGBUILD 2022-02-24 15:19:15 UTC (rev 1136422)
@@ -1,26 +1,26 @@
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
pkgname=python-oauthlib
-pkgver=3.1.1
-pkgrel=3
+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/idan/oauthlib"
+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)
-sha256sums=('8f0215fcc533dd8dd1bee6f4c412d4f0cd7297307d43ac61666389e3bc3198a3')
+makedepends=(python-setuptools python-wheel python-build python-installer)
+sha256sums=('23a8208d75b902797ea29fd31fa80a15ed9dc2c6c16fe73f5d346f83f6fa27a2')
build() {
cd "$srcdir/$_libname-$pkgver"
- python setup.py build
+ python -m build --wheel --no-isolation
}
package_python-oauthlib() {
cd "$srcdir/$_libname-$pkgver"
- python setup.py install --skip-build -O1 --root="$pkgdir"
+ 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