[arch-commits] Commit in python-requests-oauthlib/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Thu Jan 10 11:06:57 UTC 2019


    Date: Thursday, January 10, 2019 @ 11:06:55
  Author: felixonmars
Revision: 421551

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  109 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-10 11:06:49 UTC (rev 421550)
+++ PKGBUILD	2019-01-10 11:06:55 UTC (rev 421551)
@@ -1,55 +0,0 @@
-# $Id: PKGBUILD 122344 2014-11-11 08:16:49Z fyan $
-# 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.0.0
-pkgrel=2
-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=('5ceac61f14044b7c7ec4c26f68fc7b4ab6eda1529c367fead3e8aa5049b4aad12c76511861c13f2d62d11ec7ecd1d870ff69c7261bd51bcb01aa6d2e3ba5aa99')
-
-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 421550, python-requests-oauthlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-10 11:06:55 UTC (rev 421551)
@@ -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.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"
+}


More information about the arch-commits mailing list