[arch-commits] Commit in python-nest-asyncio/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Tue Dec 14 10:48:04 UTC 2021


    Date: Tuesday, December 14, 2021 @ 10:48:03
  Author: arojas
Revision: 1072731

archrelease: copy trunk to community-any

Added:
  python-nest-asyncio/repos/community-any/PKGBUILD
    (from rev 1072730, python-nest-asyncio/trunk/PKGBUILD)
Deleted:
  python-nest-asyncio/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   62 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 32 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-14 10:47:55 UTC (rev 1072730)
+++ PKGBUILD	2021-12-14 10:48:03 UTC (rev 1072731)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-nest-asyncio
-pkgver=1.5.4
-pkgrel=1
-pkgdesc="Patch asyncio to allow nested event loops"
-url="https://github.com/erdewit/nest_asyncio"
-license=('BSD')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://github.com/erdewit/nest_asyncio/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('96050b450ce2dc1d9cb9f966fe1e971ce48652524f4d2d75bf2cb37755feb29d28b9661bd82fd1016781d6c79c027de04c516f5faccebf1040e398ea9998c87e')
-
-build() {
-  cd nest_asyncio-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd nest_asyncio-$pkgver
-  PYTHONPATH="$PWD/build/lib" python tests/nest_test.py
-}
-
-package() {
-  cd nest_asyncio-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-nest-asyncio/repos/community-any/PKGBUILD (from rev 1072730, python-nest-asyncio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-14 10:48:03 UTC (rev 1072731)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-nest-asyncio
+pkgver=1.5.4
+pkgrel=2
+pkgdesc="Patch asyncio to allow nested event loops"
+url="https://github.com/erdewit/nest_asyncio"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+provides=('python-nest_asyncio')
+replaces=('python-nest_asyncio')
+source=("https://github.com/erdewit/nest_asyncio/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('96050b450ce2dc1d9cb9f966fe1e971ce48652524f4d2d75bf2cb37755feb29d28b9661bd82fd1016781d6c79c027de04c516f5faccebf1040e398ea9998c87e')
+
+build() {
+  cd nest_asyncio-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd nest_asyncio-$pkgver
+  PYTHONPATH="$PWD/build/lib" python tests/nest_test.py
+}
+
+package() {
+  cd nest_asyncio-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list