[arch-commits] Commit in python-praw/repos (2 files)

Felix Yan felixonmars at archlinux.org
Wed Jan 8 10:22:48 UTC 2020


    Date: Wednesday, January 8, 2020 @ 10:22:47
  Author: felixonmars
Revision: 550186

archrelease: copy trunk to community-testing-any

Added:
  python-praw/repos/community-testing-any/
  python-praw/repos/community-testing-any/PKGBUILD
    (from rev 550185, python-praw/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-praw/repos/community-testing-any/PKGBUILD (from rev 550185, python-praw/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-01-08 10:22:47 UTC (rev 550186)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-praw
+pkgver=6.5.0
+pkgrel=1
+pkgdesc="Python Reddit API Wrapper that allows for simple access to reddit's API"
+arch=('any')
+license=('GPL')
+url="https://praw.readthedocs.org"
+depends=('python-prawcore' 'python-update-checker' 'python-websocket-client')
+makedepends=('python-setuptools' 'python-pytest-runner')
+checkdepends=('python-mock' 'python-betamax-serializers' 'python-betamax-matchers')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/praw-dev/praw/archive/v$pkgver.tar.gz")
+sha512sums=('7249c9b51ae765be4f97c8dac3bf7ef00117a661e79d84a3d657fe0c5d3939d813d98119729b9ab5984fa89140a80deceacb399e30d49cc4a32a0f72e1bfecf8')
+
+build() {
+  cd praw-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd praw-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd praw-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list