summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-02-28 08:02:12 -0800
committerZac Medico <zmedico@gentoo.org>2021-02-28 08:04:25 -0800
commit630d390dc4412a7eff8e2ff17d5cb0245baaec1a (patch)
treebc5fc785e2c7f6202188199dac3f84393d2d563e /net-misc/socket-burst-dampener
parentsys-libs/glibc: Stabilize 2.32-r7 x86, #764176 (diff)
downloadgentoo-630d390dc4412a7eff8e2ff17d5cb0245baaec1a.tar.gz
gentoo-630d390dc4412a7eff8e2ff17d5cb0245baaec1a.tar.bz2
gentoo-630d390dc4412a7eff8e2ff17d5cb0245baaec1a.zip
net-misc/socket-burst-dampener: Bump to version 1.3.0
Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'net-misc/socket-burst-dampener')
-rw-r--r--net-misc/socket-burst-dampener/Manifest1
-rw-r--r--net-misc/socket-burst-dampener/socket-burst-dampener-1.3.0.ebuild23
2 files changed, 24 insertions, 0 deletions
diff --git a/net-misc/socket-burst-dampener/Manifest b/net-misc/socket-burst-dampener/Manifest
index 75c987d8c391..2f116dad7b7a 100644
--- a/net-misc/socket-burst-dampener/Manifest
+++ b/net-misc/socket-burst-dampener/Manifest
@@ -1 +1,2 @@
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
diff --git a/net-misc/socket-burst-dampener/socket-burst-dampener-1.3.0.ebuild b/net-misc/socket-burst-dampener/socket-burst-dampener-1.3.0.ebuild
new file mode 100644
index 000000000000..afe18fc2ea83
--- /dev/null
+++ b/net-misc/socket-burst-dampener/socket-burst-dampener-1.3.0.ebuild
@@ -0,0 +1,23 @@
+# 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="https://github.com/zmedico/${PN}/archive/v${PV}.tar.gz -> ${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
+}