[arch-commits] Commit in python-nest_asyncio/repos (2 files)

Kyle Keen kkeen at archlinux.org
Mon Nov 23 11:19:38 UTC 2020


    Date: Monday, November 23, 2020 @ 11:19:37
  Author: kkeen
Revision: 759877

archrelease: copy trunk to community-any

Added:
  python-nest_asyncio/repos/community-any/
  python-nest_asyncio/repos/community-any/PKGBUILD
    (from rev 759876, python-nest_asyncio/trunk/PKGBUILD)

----------+
 PKGBUILD |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Copied: python-nest_asyncio/repos/community-any/PKGBUILD (from rev 759876, python-nest_asyncio/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-11-23 11:19:37 UTC (rev 759877)
@@ -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