diff options
-rw-r--r-- | net-misc/socket-burst-dampener/Manifest | 1 | ||||
-rw-r--r-- | net-misc/socket-burst-dampener/socket-burst-dampener-1.2.0.ebuild | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/net-misc/socket-burst-dampener/Manifest b/net-misc/socket-burst-dampener/Manifest index 1fcbfd74b056..abfdfb91da8e 100644 --- a/net-misc/socket-burst-dampener/Manifest +++ b/net-misc/socket-burst-dampener/Manifest @@ -1 +1,2 @@ DIST socket-burst-dampener-1.1.0.tar.gz 3188 SHA256 16df469e60a94bd75d955a7be2b62739d301e7ad89d5506e16c008752f326f53 SHA512 f77e3e0cb26655c1c4477309f358f3d167e6ac89cfbd1e21c12aff7f33a22a956a8d2c77c28c888360f03b9aff4c9b1fa7174e4830e874bfc515285189c36cb9 WHIRLPOOL 0ca39bf1fd1aaa9bcbf912b9a0e0c9c29862a195232d1b1370a39dca1a0ae829e148ffb2b2c5a9cee3aa8e2b39bcdce50f729a856b494cf0f37a4d8e652d83b1 +DIST socket-burst-dampener-1.2.0.tar.gz 3823 SHA256 c18ae52a403e79ac876bd86cbe3eddd55b0ade2a2673542cee356c28cd282813 SHA512 e2130abf33c95255dc4249fb82a628b2569a0db8582f4b42b07b0c2c88d7f3968634062a4befc9ab4a257c750e31dbc5ffc5512a9b1ab2e34c8f660f598da080 WHIRLPOOL 26376ad1170b3f4afec773c1bfdabfe07c86242fdde9705950e3a0b173459306d818aea3e71502587de19bbaa98c85dfb0c36ccaadaea3ba770ffbb844f5cb4d diff --git a/net-misc/socket-burst-dampener/socket-burst-dampener-1.2.0.ebuild b/net-misc/socket-burst-dampener/socket-burst-dampener-1.2.0.ebuild new file mode 100644 index 000000000000..6961ba968129 --- /dev/null +++ b/net-misc/socket-burst-dampener/socket-burst-dampener-1.2.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python3_{4,5} ) + +inherit distutils-r1 + +DESCRIPTION="A daemon that spawns a specified command to handle each connection, and dampens connection bursts" +HOMEPAGE="https://github.com/zmedico/${PN}" +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 +} |