[arch-commits] Commit in python-aiogram/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Sep 20 10:42:36 UTC 2021
Date: Monday, September 20, 2021 @ 10:42:35
Author: felixonmars
Revision: 1018693
archrelease: copy trunk to community-any
Added:
python-aiogram/repos/community-any/PKGBUILD
(from rev 1018692, python-aiogram/trunk/PKGBUILD)
Deleted:
python-aiogram/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-20 10:42:22 UTC (rev 1018692)
+++ PKGBUILD 2021-09-20 10:42:35 UTC (rev 1018693)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Evgeniy Filimonov <evgfilim1 at gmail.com>
-
-pkgname=python-aiogram
-pkgver=2.14.3
-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'
- 'python-pytest-lazy-fixture' '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=('32003f5f69c41d66cf886c7bd9d5f37f5f99f4ca6d79c983bd5b69c80cd39d73ea3a38b433f8309096e6af70a4b5e1421dd9d5ff2b9e5f0401d8113b70edd49e')
-
-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
- # https://github.com/aiogram/aiogram/issues/639
- pifpaf run redis -- bash -c 'python -m pytest --redis $PIFPAF_REDIS_URL --deselect tests/types/test_reply_keyboard.py::test_deserialize'
-}
-
-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 1018692, python-aiogram/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-20 10:42:35 UTC (rev 1018693)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Evgeniy Filimonov <evgfilim1 at gmail.com>
+
+pkgname=python-aiogram
+pkgver=2.15
+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'
+ 'python-pytest-lazy-fixture' '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=('2f7a64004ae520fbde3175fc5f174b851fc1d2ad3f7cb28c18f3978bc66471610e3c6b69c084b7e0b3e5109d531e37af7b20a5da5ec02fbcfdb22f7d361d2c85')
+
+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
+ # https://github.com/aiogram/aiogram/issues/639
+ pifpaf run redis -- bash -c 'python -m pytest --redis $PIFPAF_REDIS_URL --deselect tests/types/test_reply_keyboard.py::test_deserialize'
+}
+
+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