[arch-commits] Commit in python-aiogram/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Aug 31 20:52:44 UTC 2022
Date: Wednesday, August 31, 2022 @ 20:52:44
Author: felixonmars
Revision: 1289493
archrelease: copy trunk to community-any
Added:
python-aiogram/repos/community-any/PKGBUILD
(from rev 1289492, python-aiogram/trunk/PKGBUILD)
Deleted:
python-aiogram/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-31 20:52:28 UTC (rev 1289492)
+++ PKGBUILD 2022-08-31 20:52:44 UTC (rev 1289493)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Evgeniy Filimonov <evgfilim1 at gmail.com>
-
-pkgname=python-aiogram
-pkgver=2.22
-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' 'python-certifi')
-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=('8daa1e9d59abc95ccfbdbcea6c305fcaae4f7dcfcff53dd9303f994402abddbceeb7e99aee856cbd2dccd74501621c7d46380d3ed078235133fb57766c356c17')
-
-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 1289492, python-aiogram/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-31 20:52:44 UTC (rev 1289493)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Evgeniy Filimonov <evgfilim1 at gmail.com>
+
+pkgname=python-aiogram
+pkgver=2.22.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' 'python-certifi')
+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=('6c3a7d59181ddf403f3f06b9b8f1cc1654479d253df4c53bf4fb172235c73139a12e2939990534329a1e64782a1fd5c95b38e15e8fe5f0dc08f562fd8e6365a2')
+
+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