[arch-commits] Commit in python-janus/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Oct 12 10:53:38 UTC 2020


    Date: Monday, October 12, 2020 @ 10:53:38
  Author: felixonmars
Revision: 723596

archrelease: copy trunk to community-any

Added:
  python-janus/repos/community-any/
  python-janus/repos/community-any/PKGBUILD
    (from rev 723595, python-janus/trunk/PKGBUILD)

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

Copied: python-janus/repos/community-any/PKGBUILD (from rev 723595, python-janus/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-10-12 10:53:38 UTC (rev 723596)
@@ -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