commit:     a7a62213663529025a0581011dccc7a766e1a264
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 11 09:33:25 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 11 10:03:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a62213

dev-python/cython: Reformat

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/cython/cython-0.29.28.ebuild | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/dev-python/cython/cython-0.29.28.ebuild 
b/dev-python/cython/cython-0.29.28.ebuild
index a083c1c8e8e8..61afacee4b6a 100644
--- a/dev-python/cython/cython-0.29.28.ebuild
+++ b/dev-python/cython/cython-0.29.28.ebuild
@@ -10,9 +10,15 @@ PYTHON_REQ_USE="threads(+)"
 inherit distutils-r1 toolchain-funcs elisp-common
 
 DESCRIPTION="A Python to C compiler"
-HOMEPAGE="https://cython.org https://pypi.org/project/Cython/
-       https://github.com/cython/cython";
-SRC_URI="https://github.com/cython/cython/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
+HOMEPAGE="
+       https://cython.org/
+       https://github.com/cython/cython/
+       https://pypi.org/project/Cython/
+"
+SRC_URI="
+       https://github.com/cython/cython/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
 
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -23,11 +29,14 @@ RESTRICT="!test? ( test )"
 RDEPEND="
        emacs? ( >=app-editors/emacs-23.1:* )
 "
-BDEPEND="${RDEPEND}
+BDEPEND="
+       ${RDEPEND}
        test? (
-               $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \
-                       'python3*')
-       )"
+               $(python_gen_cond_dep '
+                       dev-python/numpy[${PYTHON_USEDEP}]
+               ' python3_{8..10})
+       )
+"
 
 PATCHES=(
        "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch"

Reply via email to