diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-02-28 18:05:23 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-02-28 18:06:33 -0800 |
commit | 239354b8998860a591b8c953c3f035c49e3b1a05 (patch) | |
tree | c144c7917ff2c8cb8c15d0cfbce670ce4dac4e1c | |
parent | games-board/stockfish: drop broken (diff) | |
download | gentoo-239354b8998860a591b8c953c3f035c49e3b1a05.tar.gz gentoo-239354b8998860a591b8c953c3f035c49e3b1a05.tar.bz2 gentoo-239354b8998860a591b8c953c3f035c49e3b1a05.zip |
net-misc/socket-burst-dampener: Bump to version 1.3.1
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r-- | net-misc/socket-burst-dampener/Manifest | 1 | ||||
-rw-r--r-- | net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1.ebuild | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/net-misc/socket-burst-dampener/Manifest b/net-misc/socket-burst-dampener/Manifest index 2f116dad7b7a..206c3e41da9d 100644 --- a/net-misc/socket-burst-dampener/Manifest +++ b/net-misc/socket-burst-dampener/Manifest @@ -1,2 +1,3 @@ DIST socket-burst-dampener-1.2.1.tar.gz 4438 BLAKE2B 5fc8a52370c3314f625f71f1ddf816300c4aa423b09c2ec8501372246dd982d4166dbe47260c5a44675c26afb1f83f0ae9d696950b4c754c17303481a5d536a0 SHA512 297c4371700508091850e7022f8a1f245fb90720ec5fb2b482dc8bc2aa2a47a0c9087c91827cc4a95ef1cbd546cdf005e61a160c9f78ec2d7849ec83f79ac77f DIST socket-burst-dampener-1.3.0.tar.gz 4607 BLAKE2B 460e02407b5da2c4fc3d0377d4b585267a83998d5a4fda7270f36d2a7c94966b91a313fea636a6cb4f114f42bdcebda39421b63b2a0ef3e199a72c56ac98274c SHA512 74c5b1588d5c958e0256cc08e61911e39884dad9971020abcdd48f3229496d490c2de6f31b1bb39f59cde742957483a2f1eec33c9d3c2098eb707ecb5a292e95 +DIST socket-burst-dampener-1.3.1.tar.gz 6248 BLAKE2B 1aa80e64d72eb76c46b7212f3cccc35d13de35390702e71f8f9599bd1d502591f33da0ba139d47870c68e74102fed03d83d1636d21cb07a2f33ab8798465fcc7 SHA512 18b9ea1e7879c5ccea8ae531ab349516ec018bac3f07b6b491a7595bae490c8de96b2cf637f94603dd552374e09c5927abcaf605dc363137d7ff6cd0244eab6d diff --git a/net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1.ebuild b/net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1.ebuild new file mode 100644 index 000000000000..b4b2b3b8128e --- /dev/null +++ b/net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="A daemon that spawns one command per connection, and dampens connection bursts" +HOMEPAGE="https://github.com/zmedico/socket-burst-damener" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i "s:^\(__version__ =\).*:\\1 \"${PV}\":" src/${PN//-/_}.py || die + distutils-r1_src_prepare +} + +python_test() { + esetup.py test || die "tests failed for ${EPYTHON}" +} |