diff options
author | Zac Medico <zmedico@gentoo.org> | 2020-01-02 04:42:06 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-01-02 04:45:24 -0800 |
commit | 385412308c812e000d7a1923f6cf0d20a5c480ed (patch) | |
tree | 4cd7317337dbf0983c3f3b500edb7bb18daa8773 /net-misc/socket-burst-dampener | |
parent | sys-apps/attr: Removed old (diff) | |
download | gentoo-385412308c812e000d7a1923f6cf0d20a5c480ed.tar.gz gentoo-385412308c812e000d7a1923f6cf0d20a5c480ed.tar.bz2 gentoo-385412308c812e000d7a1923f6cf0d20a5c480ed.zip |
net-misc/socket-burst-dampener: Bump to version 1.2.1
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'net-misc/socket-burst-dampener')
-rw-r--r-- | net-misc/socket-burst-dampener/Manifest | 1 | ||||
-rw-r--r-- | net-misc/socket-burst-dampener/socket-burst-dampener-1.2.1.ebuild | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/net-misc/socket-burst-dampener/Manifest b/net-misc/socket-burst-dampener/Manifest index 19303fec3904..0f37306ad176 100644 --- a/net-misc/socket-burst-dampener/Manifest +++ b/net-misc/socket-burst-dampener/Manifest @@ -1 +1,2 @@ DIST socket-burst-dampener-1.2.0.tar.gz 3823 BLAKE2B 44a24eb357647873e328bad302e89cb08ec48389deb0e2abb9b7cfcba32001805929b3e5df0045ca38e64d51fce0784e9bafd17b9f840d65e0114c25a4228592 SHA512 e2130abf33c95255dc4249fb82a628b2569a0db8582f4b42b07b0c2c88d7f3968634062a4befc9ab4a257c750e31dbc5ffc5512a9b1ab2e34c8f660f598da080 +DIST socket-burst-dampener-1.2.1.tar.gz 4438 BLAKE2B 5fc8a52370c3314f625f71f1ddf816300c4aa423b09c2ec8501372246dd982d4166dbe47260c5a44675c26afb1f83f0ae9d696950b4c754c17303481a5d536a0 SHA512 297c4371700508091850e7022f8a1f245fb90720ec5fb2b482dc8bc2aa2a47a0c9087c91827cc4a95ef1cbd546cdf005e61a160c9f78ec2d7849ec83f79ac77f diff --git a/net-misc/socket-burst-dampener/socket-burst-dampener-1.2.1.ebuild b/net-misc/socket-burst-dampener/socket-burst-dampener-1.2.1.ebuild new file mode 100644 index 000000000000..99f05b871593 --- /dev/null +++ b/net-misc/socket-burst-dampener/socket-burst-dampener-1.2.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6,7,8} ) + +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 +} |