[arch-commits] Commit in python-queuelib/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:56:46 UTC 2020
Date: Monday, November 9, 2020 @ 15:56:46
Author: felixonmars
Revision: 747254
archrelease: copy trunk to community-staging-any
Added:
python-queuelib/repos/community-staging-any/
python-queuelib/repos/community-staging-any/PKGBUILD
(from rev 747253, python-queuelib/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-queuelib/repos/community-staging-any/PKGBUILD (from rev 747253, python-queuelib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:56:46 UTC (rev 747254)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: PyroDevil <p dot devil at gmail dot com>
+
+pkgname=python-queuelib
+pkgver=1.5.0
+pkgrel=6
+pkgdesc="Collection of persistent (disk-based) queues."
+arch=('any')
+license=('BSD')
+url="https://scrapy.org"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/queuelib/archive/v$pkgver.tar.gz")
+sha512sums=('8217dfa82c4a7c2449277d81f553b1dd5b82fa34ba0c69ed98bcc146940e8afb79251715be9ec61c962a78292f14d83dac862ba021485573c9069e85710d5998')
+
+build() {
+ cd queuelib-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd queuelib-$pkgver
+ py.test
+}
+
+package() {
+ cd queuelib-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+ install -D -m644 README.rst -t "$pkgdir"/usr/share/doc/$pkgname
+}
More information about the arch-commits
mailing list