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

Felix Yan fyan at archlinux.org
Wed Oct 28 12:06:59 UTC 2015


    Date: Wednesday, October 28, 2015 @ 13:06:59
  Author: fyan
Revision: 145186

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-28 12:06:40 UTC (rev 145185)
+++ PKGBUILD	2015-10-28 12:06:59 UTC (rev 145186)
@@ -1,57 +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')
-_pypiname=requests-oauthlib
-pkgver=0.5.0.20151005
-_commit=6c437210b66d384a4e77ad9575e35bc81cbdaaba
-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-mock' 'python2-mock'
-              'python-pyjwt' 'python2-pyjwt')
-source=("git+https://github.com/requests/requests-oauthlib.git#commit=$_commit")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a ${_pypiname}{,-py2}
-}
-
-build() {
-  cd "$srcdir/${_pypiname}"
-  python setup.py build
-
-  cd "$srcdir/${_pypiname}-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/${_pypiname}"
-  py.test
-
-  cd "$srcdir/${_pypiname}-py2"
-  py.test2
-}
-
-package_python-requests-oauthlib() {
-  depends=('python-requests' 'python-oauthlib')
-
-  cd "$srcdir/${_pypiname}"
-  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/${_pypiname}-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 145185, python-requests-oauthlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-10-28 12:06:59 UTC (rev 145186)
@@ -0,0 +1,57 @@
+# $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')
+_pypiname=requests-oauthlib
+pkgver=0.5.0.20151023
+_commit=bf626f942188c62606f62b12ab1a08888e93bfe3
+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-mock' 'python2-mock'
+              'python-pyjwt' 'python2-pyjwt')
+source=("git+https://github.com/requests/requests-oauthlib.git#commit=$_commit")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a ${_pypiname}{,-py2}
+}
+
+build() {
+  cd "$srcdir/${_pypiname}"
+  python setup.py build
+
+  cd "$srcdir/${_pypiname}-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/${_pypiname}"
+  py.test
+
+  cd "$srcdir/${_pypiname}-py2"
+  py.test2
+}
+
+package_python-requests-oauthlib() {
+  depends=('python-requests' 'python-oauthlib')
+
+  cd "$srcdir/${_pypiname}"
+  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/${_pypiname}-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