[arch-commits] Commit in python-asynctest/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 20:25:28 UTC 2019
Date: Saturday, October 26, 2019 @ 20:25:28
Author: felixonmars
Revision: 520519
archrelease: copy trunk to community-staging-any
Added:
python-asynctest/repos/community-staging-any/
python-asynctest/repos/community-staging-any/PKGBUILD
(from rev 520515, python-asynctest/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-asynctest/repos/community-staging-any/PKGBUILD (from rev 520515, python-asynctest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 20:25:28 UTC (rev 520519)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-asynctest
+pkgver=0.13.0
+pkgrel=2
+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