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

Felix Yan felixonmars at archlinux.org
Thu Apr 23 23:01:40 UTC 2020


    Date: Thursday, April 23, 2020 @ 23:01:40
  Author: felixonmars
Revision: 618413

archrelease: copy trunk to community-testing-any

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

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

Copied: python-prawcore/repos/community-testing-any/PKGBUILD (from rev 618412, python-prawcore/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-04-23 23:01:40 UTC (rev 618413)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-prawcore
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Low-level communication layer for PRAW 4+."
+arch=('any')
+license=('BSD')
+url="https://github.com/praw-dev/prawcore"
+depends=('python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-betamax-matchers' 'python-betamax-serializers'
+              'python-testfixtures')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz")
+sha512sums=('e64f6b52654fcf279e7296420f950d7eb6dc535dd72326f43ed7840189a52b0f0096fc66ee81360231efe3c00686239128e8dd7bf153599be7eb30ded5ed9891')
+
+check() {
+  cd prawcore-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd prawcore-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list