Date: Monday, April 10, 2023 @ 14:29:32
Author: felixonmars
Revision: 1444445
archrelease: copy trunk to community-staging-any
Added:
python-aioconsole/repos/community-staging-any/
python-aioconsole/repos/community-staging-any/PKGBUILD
(from rev 1444444, python-aioconsole/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-aioconsole/repos/community-staging-any/PKGBUILD (from rev
1444444, python-aioconsole/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-10 14:29:32 UTC (rev 1444445)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-aioconsole
+pkgver=0.6.0
+pkgrel=2
+pkgdesc="Asynchronous console and interfaces for asyncio"
+url="https://github.com/vxgmichel/aioconsole"
+license=('GPL')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-asyncio' 'python-pytest-cov'
'python-pytest-repeat')
+source=("https://github.com/vxgmichel/aioconsole/archive/v$pkgver/$pkgname-$pkgver.tar.gz.tar.gz")
+sha512sums=('ab3f6ac1e0a79418b0941a0c1a48b906703e5e9097a8e9643cf8be5e30d9b5fa74108e6a739104a854328e33a039396b41011f9ba5ca9a7d64f105f4bd50cf7a')
+
+build() {
+ cd aioconsole-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd aioconsole-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd aioconsole-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}