mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 03:53:51 +02:00
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 <module> from pkg_resources import load_entry_point
This commit is contained in:
parent
0457cc8aba
commit
8172d4fa20
1 changed files with 5 additions and 3 deletions
|
@ -1,16 +1,17 @@
|
||||||
# Template file for 'python-Cython'
|
# Template file for 'python-Cython'
|
||||||
pkgname=python-Cython
|
pkgname=python-Cython
|
||||||
version=0.29
|
version=0.29
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="Cython-${version}"
|
wrksrc="Cython-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
pycompile_module="Cython pyximport cython.py"
|
||||||
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
|
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
|
||||||
makedepends="${hostmakedepends}"
|
makedepends="${hostmakedepends}"
|
||||||
pycompile_module="Cython pyximport cython.py"
|
depends="python-setuptools"
|
||||||
short_desc="C-Extensions for Python2"
|
short_desc="C-Extensions for Python2"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://cython.org/"
|
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
|
homepage="https://cython.org/"
|
||||||
distfiles="${PYPI_SITE}/C/Cython/Cython-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/C/Cython/Cython-${version}.tar.gz"
|
||||||
checksum=94916d1ede67682638d3cc0feb10648ff14dc51fb7a7f147f4fedce78eaaea97
|
checksum=94916d1ede67682638d3cc0feb10648ff14dc51fb7a7f147f4fedce78eaaea97
|
||||||
|
|
||||||
|
@ -31,6 +32,7 @@ python3-Cython_package() {
|
||||||
cython:cythonize:/usr/bin/cythonize3"
|
cython:cythonize:/usr/bin/cythonize3"
|
||||||
pycompile_module="Cython pyximport cython.py"
|
pycompile_module="Cython pyximport cython.py"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
depends="python3-setuptools"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/*3
|
vmove usr/bin/*3
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|
Loading…
Add table
Reference in a new issue