[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Oct 12 10:53:22 UTC 2020
Date: Monday, October 12, 2020 @ 10:53:21
Author: felixonmars
Revision: 723595
addpkg: python-janus 0.6.0-1
Added:
python-janus/
python-janus/repos/
python-janus/trunk/
python-janus/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: python-janus/trunk/PKGBUILD
===================================================================
--- python-janus/trunk/PKGBUILD (rev 0)
+++ python-janus/trunk/PKGBUILD 2020-10-12 10:53:21 UTC (rev 723595)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Bruce Zhang <zttt183525594 at gmail.com>
+
+pkgname=python-janus
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Thread-safe asyncio-aware queue for Python"
+arch=('any')
+url="https://github.com/aio-libs/janus"
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-asyncio')
+source=("https://github.com/aio-libs/janus/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('5f4069eadc337381a1a60211af890f466e3d28c79117dbfdce8dd8d032d94432')
+
+build() {
+ cd janus-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd janus-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd janus-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list