[arch-commits] Commit in python-nest_asyncio/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 23 16:35:29 UTC 2020
Date: Monday, November 23, 2020 @ 16:35:29
Author: felixonmars
Revision: 759989
archrelease: copy trunk to community-staging-any
Added:
python-nest_asyncio/repos/community-staging-any/
python-nest_asyncio/repos/community-staging-any/PKGBUILD
(from rev 759988, python-nest_asyncio/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-nest_asyncio/repos/community-staging-any/PKGBUILD (from rev 759988, python-nest_asyncio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-23 16:35:29 UTC (rev 759989)
@@ -0,0 +1,24 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
+pkgname=python-nest_asyncio
+_pkgname=nest_asyncio
+pkgver=1.4.3
+pkgrel=2
+pkgdesc="Patch asyncio to allow nested event loops"
+arch=('any')
+url="https://github.com/erdewit/nest_asyncio"
+license=('BSD')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/n/$_pkgname/$_pkgname-$pkgver.tar.gz")
+md5sums=('37b8f09494c63a888397ce8ef5c32b0e')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list