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

Felix Yan felixonmars at archlinux.org
Mon Mar 22 21:52:29 UTC 2021


    Date: Monday, March 22, 2021 @ 21:52:29
  Author: felixonmars
Revision: 899200

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-22 21:52:15 UTC (rev 899199)
+++ PKGBUILD	2021-03-22 21:52:29 UTC (rev 899200)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Evgeniy Filimonov <evgfilim1 at gmail.com>
-
-pkgname=python-aiogram
-pkgver=2.12
-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=('2fd270cc893bfad3ffca7b0f5f7b18307749babca368a83424871a697d1085be5dd4cd7bcb641f39ecb98491bf084597c0babda40e5d8a2c61a3de7372cf2ed4')
-
-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 899199, python-aiogram/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-22 21:52:29 UTC (rev 899200)
@@ -0,0 +1,48 @@
+# 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/
+}



More information about the arch-commits mailing list