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

Felix Yan felixonmars at archlinux.org
Sun Apr 26 22:11:27 UTC 2020


    Date: Sunday, April 26, 2020 @ 22:11:26
  Author: felixonmars
Revision: 621706

archrelease: copy trunk to community-testing-any

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

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

Copied: python-praw/repos/community-testing-any/PKGBUILD (from rev 621705, python-praw/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-04-26 22:11:26 UTC (rev 621706)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-praw
+pkgver=7.0.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=('962f29c26e6536247d5edf141b421300a885cc2a43b3e7cf8ec4400acb6fe68c1e6a0d387211a22fc414c766e39dd77f509df347e58c1a9f73175935937bdc0d')
+
+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