diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 14:07:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 14:07:47 +0000 |
commit | 7c9730bcb62df7cbf8248c5db9a478aac52c60ea (patch) | |
tree | 3521ee333c83fb6c7ff14d0a0a2d742464e88767 /net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1-r1.ebuild | |
parent | 29394d0921808a94a409f01eff49f681651de5d5 (diff) |
gentoo auto-resync : 17:02:2023 - 14:07:46
Diffstat (limited to 'net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1-r1.ebuild')
-rw-r--r-- | net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1-r1.ebuild | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1-r1.ebuild b/net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1-r1.ebuild new file mode 100644 index 000000000000..784e8b2cbbec --- /dev/null +++ b/net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +PYPI_NO_NORMALIZE=1 +inherit distutils-r1 pypi + +DESCRIPTION="A daemon that spawns one command per connection, and dampens connection bursts" +HOMEPAGE="https://github.com/zmedico/socket-burst-dampener" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests pytest + +src_prepare() { + # remove "v" prefix from version + sed -e '/__version__/s/"v/"/' -i src/${PN//-/_}.py || die + distutils-r1_src_prepare +} |