[arch-commits] Commit in python-asynctest/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:16:13 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:16:13
  Author: foutrelis
Revision: 748612

archrelease: copy trunk to community-staging-any

Added:
  python-asynctest/repos/community-staging-any/
  python-asynctest/repos/community-staging-any/PKGBUILD
    (from rev 748610, python-asynctest/trunk/PKGBUILD)

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

Copied: python-asynctest/repos/community-staging-any/PKGBUILD (from rev 748610, python-asynctest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:16:13 UTC (rev 748612)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-asynctest
+pkgver=0.13.0
+pkgrel=3
+pkgdesc="Enhance the standard unittest package with features for testing asyncio libraries"
+url="https://github.com/Martiusweb/asynctest"
+license=('Apache')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Martiusweb/asynctest/archive/v$pkgver.tar.gz")
+sha512sums=('cfa76a461c81d702f96cc06d6a6786c35373802a4d878927a1f11eaad741aef8e55130e4b07cfc78673210f0ebf45bf808b7c43aebb1b2835f40306b5e44b141')
+
+build() {
+  cd asynctest-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd asynctest-$pkgver
+  python -m unittest test
+}
+
+package() {
+  cd asynctest-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list