[arch-commits] Commit in python-oauthlib/repos/community-any (PKGBUILD PKGBUILD)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Sep 12 15:16:51 UTC 2016
Date: Monday, September 12, 2016 @ 15:16:51
Author: mtorromeo
Revision: 189205
archrelease: copy trunk to community-any
Added:
python-oauthlib/repos/community-any/PKGBUILD
(from rev 189204, python-oauthlib/trunk/PKGBUILD)
Deleted:
python-oauthlib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-12 15:16:30 UTC (rev 189204)
+++ PKGBUILD 2016-09-12 15:16:51 UTC (rev 189205)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgbase=python-oauthlib
-pkgname=(python-oauthlib python2-oauthlib)
-pkgver=1.1.2
-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"
-license=('BSD')
-source=(https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
-makedepends=(python-setuptools python2-setuptools)
-
-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"
-}
-
-sha256sums=('0e83e91d9e77a396dc178eddba0c4abf75e465761804bfcdb20b977284bcb0bb')
Copied: python-oauthlib/repos/community-any/PKGBUILD (from rev 189204, python-oauthlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-09-12 15:16:51 UTC (rev 189205)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgbase=python-oauthlib
+pkgname=(python-oauthlib python2-oauthlib)
+pkgver=2.0.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"
+license=('BSD')
+source=(https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
+makedepends=(python-setuptools python2-setuptools)
+
+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"
+}
+
+sha256sums=('0ad22b4f03fd75ef18d5793e1fed5e2361af5d374009f7722b4af390a0030dfd')
More information about the arch-commits
mailing list