aiogram-3.0.0_beta5.ebuild

This commit is contained in:
Anton Bolshakov 2022-10-08 09:02:51 +08:00
parent 9430df2bc4
commit 16ac9b63de
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 91 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST aiogram-2.22.1.tar.gz 157651 BLAKE2B 3bd74286bd5c40413e5e24635984cb95b4a9348935f8d97ec1a5012e9d1af49ad92e239bef284c532284cd630bf2896d81017799bb9d603dd5891f1eff1386ef SHA512 c516f3e66195c548c85f9b02db96c3889da1166c72211be7e28526fd1c8b2ff2baadf0ab6cc586c27e8d8a42e2474ef26b149cc6950c900c2a14f9053ca870f7
DIST aiogram-3.0.0-beta.4.tar.gz 691644 BLAKE2B a4830ff4128a2753f1da0791ff51c27eaa5ba8e123c039ce7ed9b207d57c93962bc8c2f907a7f5757f379dd164e132496cf699a6468c90b4a947ee38d82f9643 SHA512 88003f85fad84e72c7f40933e3528183aac1e84db548c78155ff78d4def17016b88d69f59e0546935f7b036d72074abe5e331864f33569ce7313bdf62040e36c
DIST aiogram-3.0.0-beta.5.tar.gz 972591 BLAKE2B 20cad78c692047cdb021c2171a940e2c8d10d60dc5d63c1979a6be86704ec748a7ca1aa10253787c0cf8210d6eca0878c73cd8a332e236eb544b525c398e9029 SHA512 cda9fd00817f9c0336c65f495152c53b0411252565f832a0279c0e8cbfc70d3546c26dd8d35232eb6d9984481e91cff9842ffa8ef216c9939df438a0dd011f2a

View file

@ -0,0 +1,66 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PV="${PV/_beta/-beta.}"
MY_P="${PN}-${MY_PV}"
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="Asynchronous framework for Telegram Bot API"
HOMEPAGE="https://github.com/aiogram/aiogram"
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/aiogram/aiogram/archive/refs/tags/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="docs i18n fast proxy redis"
RESTRICT="test"
RDEPEND="
>=dev-python/magic-filter-1.0.9[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.8.3[${PYTHON_USEDEP}] <dev-python/aiohttp-3.9.0
>=dev-python/pydantic-1.10.2
>=dev-python/aiofiles-22.1.0
i18n? ( >=dev-python/Babel-2.9.1[${PYTHON_USEDEP}] <dev-python/Babel-2.11.0 )
proxy? ( >=dev-python/aiohttp-socks-0.5.3[${PYTHON_USEDEP}] )
redis? ( dev-python/redis-py )
fast? (
>=dev-python/uvloop-0.16.0[${PYTHON_USEDEP}]
>=dev-python/ujson-1.35[${PYTHON_USEDEP}]
)
docs? (
dev-python/Sphinx
dev-python/sphinx-intl
dev-python/sphinx-autobuild
dev-python/sphinx-copybutton
dev-python/furo
dev-python/sphinx-prompt
dev-python/Sphinx-Substitution-Extensions
dev-python/towncrier
dev-python/pymdown-extensions
dev-python/markdown-include
dev-python/pygments
)"
DEPEND="${RDEPEND}"
#BDEPEND="
# test? (
# dev-python/redis-py[${PYTHON_USEDEP}]
# dev-python/magic-filter[${PYTHON_USEDEP}]
# dev-python/aiofiles[${PYTHON_USEDEP}]
# dev-python/aiohttp[${PYTHON_USEDEP}]
# )
#"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# from aresponses import ResponsesMockServer
# ModuleNotFoundError: No module named 'aresponses'
#distutils_enable_tests pytest
S="${WORKDIR}/${MY_P}"

View file

@ -1 +1,2 @@
DIST magic-filter-1.0.8.tar.gz 5166 BLAKE2B 58d1077e34103c39cd52b27da024eb54a3fcd46c95f4cdcb8f4bbfced640016c47bbdba8c2ccf5c7c955ad886128ef76ad9516e523f728f2eacb8e38bc3aaae6 SHA512 953d7cd579688fce40ad095377db7b782a399f0489bd4dfeac9e307fbc2147cb45216ae1af3da5baeb292e1fd44efe3e183b7dc02d975fd371bfb077dc1c973e
DIST magic-filter-1.0.9.tar.gz 5232 BLAKE2B 30dec7d9501e7239f2bcc81a384421dd2bac4c63a97d568ff11c8e2c787dc58e7ffb732d765d625089f685a96902a2ec6c43c8e072817ba0a81526322e5990f6 SHA512 466aef8242cd5c8b12f33e974c3246e2ee52cea86d39e82a32a6df26d0fa08097d6f4ece5956495eef66dec77bf7a2a78bde58dc7bdc26a8801b3cb571da400f

View file

@ -0,0 +1,23 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
#https://projects.gentoo.org/python/guide/distutils.html#pep-517-build-systems
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="Magic filter based on dynamic attribute getter"
HOMEPAGE="https://github.com/aiogram/magic-filter/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"