[arch-commits] Commit in python-praw/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Mon Jul 16 15:40:49 UTC 2018
Date: Monday, July 16, 2018 @ 15:40:49
Author: eschwartz
Revision: 359875
upgpkg: python-praw 5.4.0-2
python 3.7 rebuild
Modified:
python-praw/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-16 15:40:38 UTC (rev 359874)
+++ PKGBUILD 2018-07-16 15:40:49 UTC (rev 359875)
@@ -4,11 +4,11 @@
pkgbase=python-praw
pkgname=('python-praw' 'python2-praw')
pkgver=5.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="Python Reddit API Wrapper that allows for simple access to reddit's API"
arch=('any')
license=('GPL')
-url="http://praw.readthedocs.org"
+url="https://praw.readthedocs.org"
makedepends=('python-setuptools' 'python2-setuptools' 'python-prawcore' 'python2-prawcore'
'python-update-checker' 'python2-update-checker' 'python-pytest-runner'
'python2-pytest-runner')
@@ -21,6 +21,14 @@
cp -a praw-$pkgver{,-py2}
}
+build() {
+ cd "$srcdir"/praw-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/praw-$pkgver-py2
+ python2 setup.py build
+}
+
check() {
cd "$srcdir"/praw-$pkgver
python setup.py pytest
More information about the arch-commits
mailing list