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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:23:20 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:23:20
  Author: felixonmars
Revision: 1058171

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 1058159, python-nest_asyncio/trunk/PKGBUILD)

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

Copied: python-nest_asyncio/repos/community-staging-any/PKGBUILD (from rev 1058159, python-nest_asyncio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:23:20 UTC (rev 1058171)
@@ -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.5.1
+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=('6271f5e4181736c2e711657ef1eae915')
+
+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