[arch-commits] Commit in python-queuelib/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 16:41:39 UTC 2019
Date: Friday, October 25, 2019 @ 16:41:39
Author: felixonmars
Revision: 519543
archrelease: copy trunk to community-staging-any
Added:
python-queuelib/repos/community-staging-any/
python-queuelib/repos/community-staging-any/PKGBUILD
(from rev 519542, python-queuelib/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-queuelib/repos/community-staging-any/PKGBUILD (from rev 519542, python-queuelib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:41:39 UTC (rev 519543)
@@ -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=4
+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