[arch-commits] Commit in python-prawcore/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jan 25 09:17:49 UTC 2017


    Date: Wednesday, January 25, 2017 @ 09:17:49
  Author: felixonmars
Revision: 209005

archrelease: copy trunk to community-any

Added:
  python-prawcore/repos/community-any/PKGBUILD
    (from rev 209004, python-prawcore/trunk/PKGBUILD)
Deleted:
  python-prawcore/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 44 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-25 09:17:22 UTC (rev 209004)
+++ PKGBUILD	2017-01-25 09:17:49 UTC (rev 209005)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-prawcore
-pkgname=('python-prawcore' 'python2-prawcore')
-pkgver=0.6.0
-pkgrel=1
-pkgdesc="Low-level communication layer for PRAW 4+."
-arch=('any')
-license=('BSD')
-url="https://github.com/praw-dev/prawcore"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests' 'git')
-checkdepends=('python-mock' 'python2-mock' 'python-betamax-matchers' 'python2-betamax-matchers'
-              'python-betamax-serializers' 'python2-betamax-serializers')
-source=("git+https://github.com/praw-dev/prawcore.git#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  sed -i 's/mock ==1.0.1/mock/' prawcore/setup.py
-  cp -a prawcore{,-py2}
-}
-
-check() {
-  # https://github.com/praw-dev/prawcore/issues/53
-  cd "$srcdir"/prawcore
-  python setup.py test || warning "Tests failed"
-
-  cd "$srcdir"/prawcore-py2
-  python2 setup.py test || warning "Tests failed"
-}
-
-package_python-prawcore() {
-  depends=('python-requests')
-
-  cd prawcore
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-prawcore() {
-  depends=('python2-requests')
-
-  cd prawcore-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-prawcore/repos/community-any/PKGBUILD (from rev 209004, python-prawcore/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-01-25 09:17:49 UTC (rev 209005)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-prawcore
+pkgname=('python-prawcore' 'python2-prawcore')
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="Low-level communication layer for PRAW 4+."
+arch=('any')
+license=('BSD')
+url="https://github.com/praw-dev/prawcore"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests' 'git')
+checkdepends=('python-mock' 'python2-mock' 'python-betamax-matchers' 'python2-betamax-matchers'
+              'python-betamax-serializers' 'python2-betamax-serializers')
+source=("git+https://github.com/praw-dev/prawcore.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a prawcore{,-py2}
+}
+
+check() {
+  cd "$srcdir"/prawcore
+  python setup.py test
+
+  cd "$srcdir"/prawcore-py2
+  python2 setup.py test
+}
+
+package_python-prawcore() {
+  depends=('python-requests')
+
+  cd prawcore
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-prawcore() {
+  depends=('python2-requests')
+
+  cd prawcore-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list