From 8172d4fa203df07dacaf839cb0e596dc76a3ab66 Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 20 Dec 2018 18:19:17 +0100 Subject: [PATCH] python-Cython: add setuptools to depends Without this, packages host-depending on Cython will consistently fail to build, with this error message: Traceback (most recent call last): File "/usr/bin/cython3", line 6, in from pkg_resources import load_entry_point --- srcpkgs/python-Cython/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python-Cython/template b/srcpkgs/python-Cython/template index 21b4fbb191..e958147099 100644 --- a/srcpkgs/python-Cython/template +++ b/srcpkgs/python-Cython/template @@ -1,16 +1,17 @@ # Template file for 'python-Cython' pkgname=python-Cython version=0.29 -revision=1 +revision=2 wrksrc="Cython-${version}" build_style=python-module +pycompile_module="Cython pyximport cython.py" hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools" makedepends="${hostmakedepends}" -pycompile_module="Cython pyximport cython.py" +depends="python-setuptools" short_desc="C-Extensions for Python2" maintainer="Alessio Sergi " -homepage="https://cython.org/" license="Apache-2.0" +homepage="https://cython.org/" distfiles="${PYPI_SITE}/C/Cython/Cython-${version}.tar.gz" checksum=94916d1ede67682638d3cc0feb10648ff14dc51fb7a7f147f4fedce78eaaea97 @@ -31,6 +32,7 @@ python3-Cython_package() { cython:cythonize:/usr/bin/cythonize3" pycompile_module="Cython pyximport cython.py" short_desc="${short_desc/Python2/Python3}" + depends="python3-setuptools" pkg_install() { vmove usr/bin/*3 vmove usr/lib/python3*