Package Details: python-ffc 2019.1.0-2

Git Clone URL: https://aur.archlinux.org/python-ffc.git (read-only, click to copy)
Package Base: python-ffc
Description: A compiler for finite element variational forms (stable).
Upstream URL: https://bitbucket.org/fenics-project/ffc
Licenses: LGPL3
Groups: fenics
Conflicts: python-ffc-git
Submitter: sigvald
Maintainer: sigvald (Polly)
Last Packager: sigvald
Votes: 3
Popularity: 0.110688
First Submitted: 2018-01-08 14:04
Last Updated: 2019-11-21 16:40

Dependencies (5)

Required by (1)

Sources (1)

Latest Comments

sigvald commented on 2019-11-21 16:41

@cpuheater: Sorry, I didn't notice that. I updated python-ffc and reverted dolfin.

cpuheater commented on 2019-11-20 22:31

@sigvald: It seems that python-ffc itself is not loadable without python-setuptools, given that the error happens at import ffc. Therefore as far as I can tell it would be more correct to attribute the dependency to this package. In any case, thanks for handling this!

sigvald commented on 2019-11-20 16:43

@cpuheater: Ah, I see. In that case I think the error is in the dolfin package, which also should have makedepends=('python-setuptools'). I update the dolfin package with this change.

cpuheater commented on 2019-11-20 10:17

Actually it turns out python-setuptools is needed as a run-time dependency too. Otherwise, for instance when building dolfin, the following happens:

  Traceback (most recent call last):

    File "/build/dolfin/src/dolfin-2019.1.0.post0/cmake/scripts/generate-form-files.py", line 22, in <module>
      import ffc
    File "/usr/lib/python3.8/site-packages/ffc/__init__.py", line 17, in <module>
      import pkg_resources

  ModuleNotFoundError: No module named 'pkg_resources'

sigvald commented on 2019-04-11 16:00

Thank you and sorry for the late response @cpuheater. python-setuptools now added to makedepends.

cpuheater commented on 2019-02-12 11:45

Please add makedepends=('python-setuptools') to the PKGBUILD.

Otherwise the build fails with:

Traceback (most recent call last):
  File "setup.py", line 7, in <module>
    from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'