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

Felix Yan felixonmars at archlinux.org
Thu Jul 13 08:19:01 UTC 2017


    Date: Thursday, July 13, 2017 @ 08:19:01
  Author: felixonmars
Revision: 244901

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-13 08:18:44 UTC (rev 244900)
+++ PKGBUILD	2017-07-13 08:19:01 UTC (rev 244901)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-prawcore
-pkgname=('python-prawcore' 'python2-prawcore')
-pkgver=0.10.1
-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')
-checkdepends=('python-mock' 'python2-mock' 'python-betamax-matchers' 'python2-betamax-matchers'
-              'python-betamax-serializers' 'python2-betamax-serializers')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz")
-sha512sums=('db7a2276dfa06d4f5424e25eec6f5e3370970e6a0249b69db7338bce9f298db5ef3fe5733735fa86219e66b0311b9c580a24f24e544bbcb5dd0bf8f673a18f87')
-
-prepare() {
-  cp -a prawcore-$pkgver{,-py2}
-}
-
-check() {
-  cd "$srcdir"/prawcore-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/prawcore-$pkgver-py2
-  python2 setup.py test
-}
-
-package_python-prawcore() {
-  depends=('python-requests')
-
-  cd prawcore-$pkgver
-  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-$pkgver-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 244900, python-prawcore/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-07-13 08:19:01 UTC (rev 244901)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-prawcore
+pkgname=('python-prawcore' 'python2-prawcore')
+pkgver=0.11.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')
+checkdepends=('python-mock' 'python2-mock' 'python-betamax-matchers' 'python2-betamax-matchers'
+              'python-betamax-serializers' 'python2-betamax-serializers' 'python-testfixtures'
+              'python2-testfixtures')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz")
+sha512sums=('2f49abca35515836be6e27938f7a7bbdf3b8d8e7c4ffb305f646ecf068968478d724fa7839071110b7960a2313b0ab11f1a0d13e8378ed1b616317612b83aeb9')
+
+prepare() {
+  sed -i 's/testfixtures >4.13.2, <5/testfixtures >4.13.2, <6/' prawcore-$pkgver/setup.py
+  cp -a prawcore-$pkgver{,-py2}
+}
+
+check() {
+  cd "$srcdir"/prawcore-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/prawcore-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-prawcore() {
+  depends=('python-requests')
+
+  cd prawcore-$pkgver
+  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-$pkgver-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