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

Felix Yan felixonmars at archlinux.org
Sat May 1 14:42:16 UTC 2021


    Date: Saturday, May 1, 2021 @ 14:42:16
  Author: felixonmars
Revision: 925871

archrelease: copy trunk to community-any

Added:
  python-aiogram/repos/community-any/PKGBUILD
    (from rev 925870, python-aiogram/trunk/PKGBUILD)
Deleted:
  python-aiogram/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-01 14:42:01 UTC (rev 925870)
+++ PKGBUILD	2021-05-01 14:42:16 UTC (rev 925871)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Evgeniy Filimonov <evgfilim1 at gmail.com>
-
-pkgname=python-aiogram
-pkgver=2.12.1
-pkgrel=1
-pkgdesc="A pretty simple and fully asynchronous library for Telegram Bot API written with asyncio and aiohttp"
-arch=('any')
-url="https://github.com/aiogram/aiogram"
-license=('MIT')
-depends=('python-aiohttp' 'python-babel')
-makedepends=('python-setuptools')
-checkdepends=('python-aiohttp-socks' 'python-aioredis' 'python-aresponses' 'python-pytest' 'pifpaf' 'redis')
-optdepends=('python-uvloop: fast, drop-in replacement of the built-in asyncio event loop'
-            'python-ujson: ultra fast JSON encoder and decoder written in pure C'
-            'python-rapidjson: extremely fast C++ JSON parser and serialization library'
-            'python-emoji: emojize and demojize support'
-            'python-aioredis: Redis storage support'
-            'python-aiohttp-socks: SOCKS4(a) and SOCKS5 proxy support'
-#            'python-rethinkdb: RethinkDB storage support'  # No such package yet
-)
-source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('caf6b9eb562780c63249ff05632854a0af355a06d3040d535e48cb32eb81f0ae0e05944a0de1b75f38b8060bb3f4b811e356849bcaebd59c0391b47f89e54088')
-
-prepare() {
-  cd aiogram-$pkgver
-  sed -e '/import certifi/d' \
-      -e 's|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' \
-      -i aiogram/bot/base.py
-}
-
-build() {
-  cd aiogram-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd aiogram-$pkgver
-  pifpaf run redis -- bash -c 'python -m pytest --redis $PIFPAF_REDIS_URL'
-}
-
-package() {
-  cd aiogram-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-  install -Dm644 README.md -t "$pkgdir"/usr/share/doc/$pkgname/
-}

Copied: python-aiogram/repos/community-any/PKGBUILD (from rev 925870, python-aiogram/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-01 14:42:16 UTC (rev 925871)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Evgeniy Filimonov <evgfilim1 at gmail.com>
+
+pkgname=python-aiogram
+pkgver=2.13
+pkgrel=1
+pkgdesc="A pretty simple and fully asynchronous library for Telegram Bot API written with asyncio and aiohttp"
+arch=('any')
+url="https://github.com/aiogram/aiogram"
+license=('MIT')
+depends=('python-aiohttp' 'python-babel')
+makedepends=('python-setuptools')
+checkdepends=('python-aiohttp-socks' 'python-aioredis' 'python-aresponses' 'python-pytest' 'pifpaf' 'redis')
+optdepends=('python-uvloop: fast, drop-in replacement of the built-in asyncio event loop'
+            'python-ujson: ultra fast JSON encoder and decoder written in pure C'
+            'python-rapidjson: extremely fast C++ JSON parser and serialization library'
+            'python-emoji: emojize and demojize support'
+            'python-aioredis: Redis storage support'
+            'python-aiohttp-socks: SOCKS4(a) and SOCKS5 proxy support'
+#            'python-rethinkdb: RethinkDB storage support'  # No such package yet
+)
+source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('e65beaf429eddc24457bb978683b60fd7874eb71cd247ff5613e1350594e74cad8519188dd3d9e5f624957c1fccde1fc2aecbfc558bcf7b293312950bf93fd64')
+
+prepare() {
+  cd aiogram-$pkgver
+  sed -e '/import certifi/d' \
+      -e 's|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' \
+      -i aiogram/bot/base.py
+}
+
+build() {
+  cd aiogram-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd aiogram-$pkgver
+  pifpaf run redis -- bash -c 'python -m pytest --redis $PIFPAF_REDIS_URL'
+}
+
+package() {
+  cd aiogram-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  install -Dm644 README.md -t "$pkgdir"/usr/share/doc/$pkgname/
+}



More information about the arch-commits mailing list