[arch-commits] Commit in (4 files)
Kyle Keen
kkeen at archlinux.org
Mon Nov 23 11:18:44 UTC 2020
Date: Monday, November 23, 2020 @ 11:18:44
Author: kkeen
Revision: 759876
pkginit: python-nest_asyncio 1.4.3-1
Added:
python-nest_asyncio/
python-nest_asyncio/repos/
python-nest_asyncio/trunk/
python-nest_asyncio/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Added: python-nest_asyncio/trunk/PKGBUILD
===================================================================
--- python-nest_asyncio/trunk/PKGBUILD (rev 0)
+++ python-nest_asyncio/trunk/PKGBUILD 2020-11-23 11:18:44 UTC (rev 759876)
@@ -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=1
+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