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

Felix Yan felixonmars at archlinux.org
Sat Oct 26 06:42:10 UTC 2019


    Date: Saturday, October 26, 2019 @ 06:42:08
  Author: felixonmars
Revision: 520303

archrelease: copy trunk to community-staging-any

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

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

Copied: python-praw/repos/community-staging-any/PKGBUILD (from rev 520302, python-praw/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 06:42:08 UTC (rev 520303)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-praw
+pkgver=6.3.1
+pkgrel=2
+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=('0e2a007e8ded7def5ac293c83aa2b96c108dc98a484dd06c48f300feb4298a95cf14868576f921f5b8910448f424d92ada035dc635e79ce89e24170a47230839')
+
+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