bump ratelimit-2.2.1
This commit is contained in:
parent
8b886db2b2
commit
178c1e4a75
3
dev-python/ratelimit/Manifest
Normal file
3
dev-python/ratelimit/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST ratelimit-2.2.1.tar.gz 12366 BLAKE2B 7c810bd111202ef6cd86a789627367665457eb2fd88f13d91b18c934210b72f8f4b0ca1ae0e26b502234c4bf3e74d1c6608260d51a022f9f733d10eb061de023 SHA512 a9a2347e9f9e152e5b1ffcf346cf750c5c52471aa2216b485d989edfc55686077990676a35e0125277313ad50a656a14ab72b7aac61b661e2fc4ec74611b5990
|
||||
EBUILD ratelimit-2.2.1.ebuild 588 BLAKE2B 0bb0a51b6e4108f9d6b1f10682fdded1db76f5e9ac842034437c6801a48149b5716411945bb6f5f1d5e7c762b9b09dce80c56574bf51b2be64e15c8a817ea9fd SHA512 51aba9a6b27faeb51b4e7cfa6f2c9b034249f6f7add0c5c45dc984d4755f531ef845a5aba7c01cafabb11d5f9b7007b7ed167c511879e58bfc64529ba48990a6
|
||||
MISC metadata.xml 724 BLAKE2B 2ebbc8dbd58619d4978081c22d294e19682a10a159321b143e942e4a4f969400792a411fb6db3670d747fea6747927030d590c45251e753ff5183be3667297e8 SHA512 aec024dc134acf8c02150822fdd1b29ac3042aac96a5a54d5c1876e20bd4bf4bd2211374460b8dd4c19b37be44d063b5cd36ac77f196c30b4529c65bd7c45249
|
||||
20
dev-python/ratelimit/metadata.xml
Normal file
20
dev-python/ratelimit/metadata.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<longdescription lang="en">
|
||||
ratelimit introduces a method decorator preventing a method from being
|
||||
called more than once within a given time period. It prevents API providers
|
||||
from banning your applications by conforming to set rate limits.
|
||||
</longdescription>
|
||||
<maintainer type="person">
|
||||
<email>horea.christ@gmail.com</email>
|
||||
<name>Horea Christian</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">tomasbasham/ratelimit"</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
29
dev-python/ratelimit/ratelimit-2.2.1.ebuild
Normal file
29
dev-python/ratelimit/ratelimit-2.2.1.ebuild
Normal file
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An API rate limit decorator for Python"
|
||||
SRC_URI="https://github.com/tomasbasham/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HOMEPAGE="https://github.com/tomasbasham/ratelimit"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# remove --cov args injection
|
||||
rm pytest.ini || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pytest || die
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user