[arch-commits] Commit in python-prawcore/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Feb 7 11:39:03 UTC 2019
Date: Thursday, February 7, 2019 @ 11:39:00
Author: felixonmars
Revision: 429846
archrelease: copy trunk to community-any
Added:
python-prawcore/repos/community-any/PKGBUILD
(from rev 429845, python-prawcore/trunk/PKGBUILD)
Deleted:
python-prawcore/repos/community-any/PKGBUILD
----------+
PKGBUILD | 89 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-07 11:38:40 UTC (rev 429845)
+++ PKGBUILD 2019-02-07 11:39:00 UTC (rev 429846)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-prawcore
-pkgname=('python-prawcore' 'python2-prawcore')
-pkgver=1.0.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=('01ba210b56aedb8f697f13650ac2a763ef034e668ee9a84962e1567cada894adf6088a536d32b67d44edfbbec24aed6c86d33aa56d003593961346e1319de69c')
-
-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 429845, python-prawcore/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-07 11:39:00 UTC (rev 429846)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-prawcore
+pkgname=('python-prawcore' 'python2-prawcore')
+pkgver=1.0.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' 'python-testfixtures'
+ 'python2-testfixtures')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz")
+sha512sums=('6efe8faa685aa92a04309c4c24963a2a540335ad0bed31b990d840732ddf726789688171f4ead4daf831e89da5c95c17861a079dfc9ae3de254d2690bcff1c8b')
+
+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
+}
More information about the arch-commits
mailing list