[arch-commits] Commit in python-aiogram/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Jul 10 07:25:57 UTC 2021
Date: Saturday, July 10, 2021 @ 07:25:57
Author: felixonmars
Revision: 976457
archrelease: copy trunk to community-any
Added:
python-aiogram/repos/community-any/PKGBUILD
(from rev 976456, python-aiogram/trunk/PKGBUILD)
Deleted:
python-aiogram/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-10 07:25:34 UTC (rev 976456)
+++ PKGBUILD 2021-07-10 07:25:57 UTC (rev 976457)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Evgeniy Filimonov <evgfilim1 at gmail.com>
-
-pkgname=python-aiogram
-pkgver=2.14.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'
- '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"
- https://github.com/aiogram/aiogram/commit/2b4e3ad5c661956a8d7edaae72164f6b189e2fec.patch
- https://github.com/aiogram/aiogram/commit/a26c6428a3a1c06665f0fa5e9a8853b4ad8add30.patch)
-sha512sums=('fa37a283f5e92635141165fdb117af21f1b642b6528e7e39b753d6ff15a93ba6e67e1c741e301d32fda3929e6272a4f571ea4c58aba2d986abc71c6164e07804'
- '7139d0fab37802f1256cc27f5a7781f07d2263712c852b7f7bd4986f0c7ac0513823dd0de1ab73e235a4e0f61271ec5f70285952779b49acb4fb2c9eab1576c6'
- '9faa6de7029c74a7c8c78f2db52ac9dcfcbee52e30e3f48db041718a3dc08460d3392525cdcf763ad0cb739c703f39ed9c82677c47e10df61607bbd5a14191c2')
-
-prepare() {
- cd aiogram-$pkgver
- patch -p1 -i ../2b4e3ad5c661956a8d7edaae72164f6b189e2fec.patch
- patch -p1 -i ../a26c6428a3a1c06665f0fa5e9a8853b4ad8add30.patch
- 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 976456, python-aiogram/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-10 07:25:57 UTC (rev 976457)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Evgeniy Filimonov <evgfilim1 at gmail.com>
+
+pkgname=python-aiogram
+pkgver=2.14.2
+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"
+ https://github.com/aiogram/aiogram/commit/2b4e3ad5c661956a8d7edaae72164f6b189e2fec.patch
+ https://github.com/aiogram/aiogram/commit/a26c6428a3a1c06665f0fa5e9a8853b4ad8add30.patch)
+sha512sums=('145df3f8346f848cd38ef410f6ee3603a3fb03185d2b9dd59f7d53b57a314c01f87e5f3ef88f43339ac0a78b9fd32b437e73709cdf9e4d9426f31d2f4551260d'
+ '7139d0fab37802f1256cc27f5a7781f07d2263712c852b7f7bd4986f0c7ac0513823dd0de1ab73e235a4e0f61271ec5f70285952779b49acb4fb2c9eab1576c6'
+ '9faa6de7029c74a7c8c78f2db52ac9dcfcbee52e30e3f48db041718a3dc08460d3392525cdcf763ad0cb739c703f39ed9c82677c47e10df61607bbd5a14191c2')
+
+prepare() {
+ cd aiogram-$pkgver
+ patch -p1 -i ../2b4e3ad5c661956a8d7edaae72164f6b189e2fec.patch
+ patch -p1 -i ../a26c6428a3a1c06665f0fa5e9a8853b4ad8add30.patch
+ 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