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

Felix Yan fyan at archlinux.org
Mon May 4 14:20:05 UTC 2015


    Date: Monday, May 4, 2015 @ 16:20:05
  Author: fyan
Revision: 132728

archrelease: copy trunk to community-any

Added:
  python-requests-oauthlib/repos/community-any/PKGBUILD
    (from rev 132727, 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	2015-05-04 14:19:51 UTC (rev 132727)
+++ PKGBUILD	2015-05-04 14:20:05 UTC (rev 132728)
@@ -1,54 +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')
-_pkgname=requests-oauthlib
-pkgver=0.4.2
-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')
-checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock')
-source=("https://pypi.python.org/packages/source/r/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-md5sums=('df930abe3971fb418c67a8545de54661')
-
-prepare() {
-  cp -a ${_pkgname}-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir/${_pkgname}-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/${_pkgname}-$pkgver-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/${_pkgname}-$pkgver"
-  py.test
-
-  cd "$srcdir/${_pkgname}-$pkgver-py2"
-  py.test2
-}
-
-package_python-requests-oauthlib() {
-  depends=('python-requests' 'python-oauthlib')
-
-  cd "$srcdir/${_pkgname}-$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 "$srcdir/${_pkgname}-$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 132727, python-requests-oauthlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-05-04 14:20:05 UTC (rev 132728)
@@ -0,0 +1,54 @@
+# $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')
+_pkgname=requests-oauthlib
+pkgver=0.5.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')
+checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock')
+source=("https://pypi.python.org/packages/source/r/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+md5sums=('139a17c495fb593b5842634faf72ebb0')
+
+prepare() {
+  cp -a ${_pkgname}-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir/${_pkgname}-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/${_pkgname}-$pkgver-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/${_pkgname}-$pkgver"
+  py.test
+
+  cd "$srcdir/${_pkgname}-$pkgver-py2"
+  py.test2
+}
+
+package_python-requests-oauthlib() {
+  depends=('python-requests' 'python-oauthlib')
+
+  cd "$srcdir/${_pkgname}-$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 "$srcdir/${_pkgname}-$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