[arch-commits] Commit in python-requests-oauthlib/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jan 15 13:43:57 UTC 2019
Date: Tuesday, January 15, 2019 @ 13:43:56
Author: felixonmars
Revision: 423337
archrelease: copy trunk to community-any
Added:
python-requests-oauthlib/repos/community-any/PKGBUILD
(from rev 423336, python-requests-oauthlib/trunk/PKGBUILD)
Deleted:
python-requests-oauthlib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-15 13:43:35 UTC (rev 423336)
+++ PKGBUILD 2019-01-15 13:43:56 UTC (rev 423337)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Sebastien Leduc <sebastien at sleduc.fr>
-# Contributor: Roberto Catini <roberto.catini at gmail.com>
-
-pkgbase=python-requests-oauthlib
-pkgname=('python-requests-oauthlib' 'python2-requests-oauthlib')
-pkgver=1.1.0
-pkgrel=1
-pkgdesc="First-class OAuth library support for Requests"
-arch=('any')
-url="https://pypi.python.org/pypi/requests-oauthlib"
-license=('custom:ISC')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests'
- 'python-oauthlib' 'python2-oauthlib' 'git')
-checkdepends=('python-pytest' 'python2-pytest' 'python-requests-mock' 'python2-requests-mock'
- 'python-mock' 'python2-mock' 'python-pyjwt' 'python2-pyjwt')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/requests/requests-oauthlib/archive/v$pkgver.tar.gz")
-sha512sums=('61a475b59eaafe355d0d3a9abe7c49fd6eb99521c9618939ab3333eb4faebfd720e870b44ee0ca0848c713296800df0d1c7a083d573e4890ea82343024b6b6ac')
-
-prepare() {
- cp -a requests-oauthlib-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/requests-oauthlib-$pkgver
- python setup.py build
-
- cd "$srcdir"/requests-oauthlib-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/requests-oauthlib-$pkgver
- py.test
-
- cd "$srcdir"/requests-oauthlib-$pkgver-py2
- py.test2
-}
-
-package_python-requests-oauthlib() {
- depends=('python-requests' 'python-oauthlib')
-
- cd requests-oauthlib-$pkgver
- python setup.py install --root="$pkgdir/" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-requests-oauthlib() {
- depends=('python2-requests' 'python2-oauthlib')
-
- cd requests-oauthlib-$pkgver-py2
- python2 setup.py install --root="$pkgdir/" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-requests-oauthlib/repos/community-any/PKGBUILD (from rev 423336, python-requests-oauthlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-15 13:43:56 UTC (rev 423337)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sebastien Leduc <sebastien at sleduc.fr>
+# Contributor: Roberto Catini <roberto.catini at gmail.com>
+
+pkgbase=python-requests-oauthlib
+pkgname=('python-requests-oauthlib' 'python2-requests-oauthlib')
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="First-class OAuth library support for Requests"
+arch=('any')
+url="https://pypi.python.org/pypi/requests-oauthlib"
+license=('custom:ISC')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests'
+ 'python-oauthlib' 'python2-oauthlib' 'git')
+checkdepends=('python-pytest' 'python2-pytest' 'python-requests-mock' 'python2-requests-mock'
+ 'python-mock' 'python2-mock' 'python-pyjwt' 'python2-pyjwt')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/requests/requests-oauthlib/archive/v$pkgver.tar.gz")
+sha512sums=('f684e3f8ff300eb58610deeb18b45ab411a5002bd15759e5f46ce174be8b76fb29583ccce6dd39965b31f53c0343ea8af2a1b6fa3d9d38342efdfbfb555f52f1')
+
+prepare() {
+ cp -a requests-oauthlib-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/requests-oauthlib-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/requests-oauthlib-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/requests-oauthlib-$pkgver
+ py.test
+
+ cd "$srcdir"/requests-oauthlib-$pkgver-py2
+ py.test2
+}
+
+package_python-requests-oauthlib() {
+ depends=('python-requests' 'python-oauthlib')
+
+ cd requests-oauthlib-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-requests-oauthlib() {
+ depends=('python2-requests' 'python2-oauthlib')
+
+ cd requests-oauthlib-$pkgver-py2
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list