mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/requests-ratelimiter: new package, add 0.10.0
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/743 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
8d35747df7
commit
55fb1530e2
2
dev-python/requests-ratelimiter/Manifest
Normal file
2
dev-python/requests-ratelimiter/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST requests_ratelimiter-0.10.0.tar.gz 17190 BLAKE2B af1b79fa7a446fe88dd849661f53d3eb164d614bd65d6025e44a39ba7ecd04cc257aaffc091f82ee4524791b3fa846376e5fc7f8f9ccd3e0526dada2498b466f SHA512 091acd8f7906a1ee6b293fb104d75e24096e26f2fd17eaa7ebe109a278cf6a88a86e3b5d7f89e9ef687713ce8682919f47c4ea50d82da7248a1af73b6498e75e
|
||||
DIST requests_ratelimiter-0.10.0.tar.gz.provenance 9634 BLAKE2B 833c015486865023a4f5ca03740a045214fac7e3c452b9543517ecc5aa5307c543d3be7cf25864c5a2dc1043e325d802a0a78f32a683107af3fbb979e1e44ec4 SHA512 5e8a486ac13504d0d7b6d62b94601b513b8ccf631a71a22a983fbfead4633dba97f0b0492cd713f55478d380b4fb03fe4258c0658a8e48e319a02315e2d57313
|
||||
13
dev-python/requests-ratelimiter/metadata.xml
Normal file
13
dev-python/requests-ratelimiter/metadata.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<doc>https://requests-ratelimiter.readthedocs.io/</doc>
|
||||
<remote-id type="github">JWCook/requests-ratelimiter</remote-id>
|
||||
<remote-id type="pypi">requests-ratelimiter</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,36 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYPI_VERIFY_REPO=https://github.com/JWCook/requests-ratelimiter
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Rate-limiting for the requests library"
|
||||
HOMEPAGE="
|
||||
https://github.com/JWCook/requests-ratelimiter/
|
||||
https://pypi.org/project/requests-ratelimiter/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/pyrate-limiter-5[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrate-limiter-4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.20[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/requests-cache-1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-1.11[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
Reference in New Issue
Block a user