[arch-commits] Commit in python-janus/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:53:39 UTC 2020
Date: Monday, November 9, 2020 @ 15:53:37
Author: felixonmars
Revision: 747216
archrelease: copy trunk to community-staging-any
Added:
python-janus/repos/community-staging-any/
python-janus/repos/community-staging-any/PKGBUILD
(from rev 747215, python-janus/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-janus/repos/community-staging-any/PKGBUILD (from rev 747215, python-janus/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:53:37 UTC (rev 747216)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Bruce Zhang <zttt183525594 at gmail.com>
+
+pkgname=python-janus
+pkgver=0.6.1
+pkgrel=2
+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")
+sha512sums=('688a0ee62fdf0a0844d56f0ae210512bec4fd9c3bcfbf88af31fb57fb7c005aed29158019b79d896736e35d38d18f2d3b77925dd04042d58641c05d6bd9e054e')
+
+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