Package Details: cython2 0.29.37-1

Git Clone URL: https://aur.archlinux.org/cython2.git (read-only, click to copy)
Package Base: cython2
Description: C-Extensions for Python 2
Upstream URL: https://cython.org
Licenses: Apache
Submitter: hexd
Maintainer: hexd
Last Packager: hexd
Votes: 12
Popularity: 0.014395
First Submitted: 2022-08-28 03:54 (UTC)
Last Updated: 2024-02-05 04:27 (UTC)

Latest Comments

showipatlogon commented on 2024-01-27 19:42 (UTC)

@MarsSeed You are correct. I did a minimalistic install of Arch and it installed fine. Something's broken on my end. Cheers !

MarsSeed commented on 2024-01-27 19:32 (UTC)

@showipatlogon, PYTHONHOME=/usr does not make sense at all.

Also, I do not have a PYTHONHOME configured, and still this package builds fine (as well as all the other packages where you reported problems with PYTHONHOME on your end).

showipatlogon commented on 2024-01-19 05:26 (UTC) (edited on 2024-01-19 05:33 (UTC) by showipatlogon)

Better late than never. lol

In my case it wouldn't compile because the PYTHONHOME variable wasn't declared. So to fix it I modified the PKGBUILD file by adding that declaration in the prepare() section as such:

prepare() {

  export PYTHONHOME=/usr

  cd "$srcdir/$_name-$pkgver"

  # Update shebangs in scripts to call "python2" instead of "python"
  find -name "*.py*" -exec sed -i '1s/python\s*$/python2/' '{}' \;
}

Doing so works... Thx !

hexd commented on 2022-12-19 03:23 (UTC)

@showipatlogon @olivervbk I've just tried to re-build from this package and use cython2 to create a C file from a Python 2 file and it worked. Please, try again, and if it's still not working, please give more information about the error (at least the commands that were used to reproduce the issue, and if it's tried on Arch Linux or an Arch-based distro).

Since it's the last stable release, it shouldn't be flagged as out-of-date.

olivervbk commented on 2022-11-28 22:57 (UTC)

Isn´t able to build:

[1/8] Cythonizing /tmp/yaourt-tmp-oliver/aur-cython2/src/cython-0.29.32/Cython/Compiler/FlowControl.py

Error compiling Cython file:
------------------------------------------------------------
...
object_expr = TypedExprNode(py_object_type, may_be_none=True)
# Fake rhs to silence "unused variable" warning
fake_rhs_expr = TypedExprNode(unspecified_type)


class ControlBlock(object):
^
------------------------------------------------------------

Cython/Compiler/FlowControl.py:36:0: Compiler crash in AnalyseDeclarationsTransform