From 1bf50f028c928c180b32a4227fee6a8740e0c832 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 13 May 2022 09:55:26 +0300 Subject: dev-python/greenstalk: Use PEP517 build Signed-off-by: Arthur Zamarin --- dev-python/greenstalk/greenstalk-2.0.0-r1.ebuild | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 dev-python/greenstalk/greenstalk-2.0.0-r1.ebuild (limited to 'dev-python/greenstalk') diff --git a/dev-python/greenstalk/greenstalk-2.0.0-r1.ebuild b/dev-python/greenstalk/greenstalk-2.0.0-r1.ebuild new file mode 100644 index 000000000000..3bf1819cb945 --- /dev/null +++ b/dev-python/greenstalk/greenstalk-2.0.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Python 3 client for the beanstalkd work queue" +HOMEPAGE="https://greenstalk.readthedocs.io/ https://github.com/justinmayhew/greenstalk" +SRC_URI=" + https://github.com/justinmayhew/greenstalk/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( app-misc/beanstalkd )" + +distutils_enable_tests pytest + +python_test() { + epytest tests.py +} -- cgit v1.2.3-65-gdbad