diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-03-02 00:40:29 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-03-02 00:49:31 -0800 |
commit | e32428d4d9562191b80cef8101d58ec7325da721 (patch) | |
tree | 132867e3d1458ec845a7fb8c1c04ff6911dfb9e1 /net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1.ebuild | |
parent | dev-python/ptyprocess: Remove old (diff) | |
download | gentoo-e32428d4d9562191b80cef8101d58ec7325da721.tar.gz gentoo-e32428d4d9562191b80cef8101d58ec7325da721.tar.bz2 gentoo-e32428d4d9562191b80cef8101d58ec7325da721.zip |
net-misc/socket-burst-dampener: Add pytest dep
Closes: https://bugs.gentoo.org/773508
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/socket-burst-dampener-1.3.1.ebuild')
-rw-r--r-- | net-misc/socket-burst-dampener/socket-burst-dampener-1.3.1.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
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 index b4b2b3b8128e..6edd95a810e4 100644 --- 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 @@ -13,9 +13,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" KEYWORDS="~amd64 ~x86" SLOT="0" -IUSE="" +IUSE="test" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" +BDEPEND="${RDEPEND} + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + ) +" src_prepare() { sed -i "s:^\(__version__ =\).*:\\1 \"${PV}\":" src/${PN//-/_}.py || die |