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

Felix Yan felixonmars at archlinux.org
Wed Feb 24 09:26:32 UTC 2021


    Date: Wednesday, February 24, 2021 @ 09:26:32
  Author: felixonmars
Revision: 871130

archrelease: copy trunk to community-testing-any

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

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

Copied: python-praw/repos/community-testing-any/PKGBUILD (from rev 871129, python-praw/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-02-24 09:26:32 UTC (rev 871130)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-praw
+pkgver=7.2.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=('0cee57e40aa9d08f0f766cc0b693902123ec5f848faac81be850a7f0a451964deafea67b5def800232bb17d6db872ab655440a64d814e8d3ffc59ffcbf2f8356')
+
+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