[arch-commits] Commit in python-asynctest/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Jul 21 11:06:56 UTC 2018
Date: Saturday, July 21, 2018 @ 11:06:56
Author: felixonmars
Revision: 362691
archrelease: copy trunk to community-staging-any
Added:
python-asynctest/repos/community-staging-any/
python-asynctest/repos/community-staging-any/PKGBUILD
(from rev 362690, python-asynctest/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-asynctest/repos/community-staging-any/PKGBUILD (from rev 362690, python-asynctest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-07-21 11:06:56 UTC (rev 362691)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-asynctest
+pkgver=0.12.2
+pkgrel=1
+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=('e182fcf0c42d726dde810b9e2d50492b9e5ec9209b5419bd5faef28ee475ff04d6c8220bc165ec506eb9fc2dd38e45d7c3f8bc4ba1f0e279e44214e39862fe0f')
+
+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