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

Massimiliano Torromeo mtorromeo at archlinux.org
Mon Mar 23 09:39:07 UTC 2020


    Date: Monday, March 23, 2020 @ 09:39:06
  Author: mtorromeo
Revision: 603698

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-23 09:38:53 UTC (rev 603697)
+++ PKGBUILD	2020-03-23 09:39:06 UTC (rev 603698)
@@ -1,46 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgbase=python-oauthlib
-pkgname=(python-oauthlib python2-oauthlib)
-pkgver=3.1.0
-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)
-makedepends=(python-setuptools python2-setuptools)
-sha256sums=('bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889')
-
-build() {
-	cd "$srcdir/$_libname-$pkgver"
-
-	rm -rf ../buildpy3; mkdir ../buildpy3
-	python setup.py build -b ../buildpy3
-
-	rm -rf ../buildpy2; mkdir ../buildpy2
-	python2 setup.py build -b ../buildpy2
-}
-
-package_python-oauthlib() {
-	depends=(python-cryptography)
-
-	cd "$srcdir/$_libname-$pkgver"
-	rm -rf build; ln -s ../buildpy3 build
-	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"
-}
-
-package_python2-oauthlib() {
-	depends=(python2-cryptography)
-
-	cd "$srcdir/$_libname-$pkgver"
-	rm -rf build; ln -s ../buildpy2 build
-	python2 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 603697, python-oauthlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-23 09:39:06 UTC (rev 603698)
@@ -0,0 +1,26 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-oauthlib
+pkgver=3.1.0
+pkgrel=4
+_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