1 |
commit: 239354b8998860a591b8c953c3f035c49e3b1a05 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 1 02:05:23 2021 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 1 02:06:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239354b8 |
7 |
|
8 |
net-misc/socket-burst-dampener: Bump to version 1.3.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.16, Repoman-3.0.2 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
net-misc/socket-burst-dampener/Manifest | 1 + |
14 |
.../socket-burst-dampener-1.3.1.ebuild | 27 ++++++++++++++++++++++ |
15 |
2 files changed, 28 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/socket-burst-dampener/Manifest b/net-misc/socket-burst-dampener/Manifest |
18 |
index 2f116dad7b7..206c3e41da9 100644 |
19 |
--- a/net-misc/socket-burst-dampener/Manifest |
20 |
+++ b/net-misc/socket-burst-dampener/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST socket-burst-dampener-1.2.1.tar.gz 4438 BLAKE2B 5fc8a52370c3314f625f71f1ddf816300c4aa423b09c2ec8501372246dd982d4166dbe47260c5a44675c26afb1f83f0ae9d696950b4c754c17303481a5d536a0 SHA512 297c4371700508091850e7022f8a1f245fb90720ec5fb2b482dc8bc2aa2a47a0c9087c91827cc4a95ef1cbd546cdf005e61a160c9f78ec2d7849ec83f79ac77f |
23 |
DIST socket-burst-dampener-1.3.0.tar.gz 4607 BLAKE2B 460e02407b5da2c4fc3d0377d4b585267a83998d5a4fda7270f36d2a7c94966b91a313fea636a6cb4f114f42bdcebda39421b63b2a0ef3e199a72c56ac98274c SHA512 74c5b1588d5c958e0256cc08e61911e39884dad9971020abcdd48f3229496d490c2de6f31b1bb39f59cde742957483a2f1eec33c9d3c2098eb707ecb5a292e95 |
24 |
+DIST socket-burst-dampener-1.3.1.tar.gz 6248 BLAKE2B 1aa80e64d72eb76c46b7212f3cccc35d13de35390702e71f8f9599bd1d502591f33da0ba139d47870c68e74102fed03d83d1636d21cb07a2f33ab8798465fcc7 SHA512 18b9ea1e7879c5ccea8ae531ab349516ec018bac3f07b6b491a7595bae490c8de96b2cf637f94603dd552374e09c5927abcaf605dc363137d7ff6cd0244eab6d |
25 |
|
26 |
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 |
27 |
new file mode 100644 |
28 |
index 00000000000..b4b2b3b8128 |
29 |
--- /dev/null |
30 |
+++ b/net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1.ebuild |
31 |
@@ -0,0 +1,27 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="A daemon that spawns one command per connection, and dampens connection bursts" |
41 |
+HOMEPAGE="https://github.com/zmedico/socket-burst-damener" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+SLOT="0" |
47 |
+IUSE="" |
48 |
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
49 |
+DEPEND="${RDEPEND}" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ sed -i "s:^\(__version__ =\).*:\\1 \"${PV}\":" src/${PN//-/_}.py || die |
53 |
+ distutils-r1_src_prepare |
54 |
+} |
55 |
+ |
56 |
+python_test() { |
57 |
+ esetup.py test || die "tests failed for ${EPYTHON}" |
58 |
+} |