Package Details: apio 0.8.1-1

Git Clone URL: https://aur.archlinux.org/apio.git (read-only, click to copy)
Package Base: apio
Description: Experimental micro-ecosystem for open FPGAs
Upstream URL: https://pypi.org/project/apio/
Keywords: fpga icestorm up5k yosys
Licenses: GPL
Submitter: jelly
Maintainer: Xesxen
Last Packager: Xesxen
Votes: 2
Popularity: 0.98
First Submitted: 2018-05-18 16:29 (UTC)
Last Updated: 2022-06-28 17:53 (UTC)

Latest Comments

gururise commented on 2022-06-28 17:44 (UTC) (edited on 2022-06-28 17:45 (UTC) by gururise)

I get the following build error:

Compiling '.install-cache/pkg/apio/resources.py'...
Compiling '.install-cache/pkg/apio/util.py'...
Listing '.install-cache/pkg/apio-0.8.0.dist-info'...
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/usr/lib/python3.10/site-packages/pytest/__init__.py", line 5, in <module>
    from _pytest._code import ExceptionInfo
  File "/usr/lib/python3.10/site-packages/_pytest/_code/__init__.py", line 2, in <module>
    from .code import Code
  File "/usr/lib/python3.10/site-packages/_pytest/_code/code.py", line 43, in <module>
    from _pytest._io import TerminalWriter
  File "/usr/lib/python3.10/site-packages/_pytest/_io/__init__.py", line 1, in <module>
    from .terminalwriter import get_terminal_width
  File "/usr/lib/python3.10/site-packages/_pytest/_io/terminalwriter.py", line 10, in <module>
    from _pytest.compat import final
  File "/usr/lib/python3.10/site-packages/_pytest/compat.py", line 243, in <module>
    @attr.s
AttributeError: module 'attr' has no attribute 's'

I even tried pip install attr and pip install attrs, but still same error.

s-ol commented on 2019-03-09 20:40 (UTC)

python-click was updated to v7, which triggers a minor regression that has been fixed in a PR by CounterPillow. temporary fix until merge:

source=("<https://github.com/CounterPillow/apio/archive/click-version.zip>")
md5sums=('SKIP')

build() {
  cd "$pkgname-click-version"

  python setup.py build
}

package() {
  cd "$pkgname-click-version"

  python setup.py install --root="$pkgdir"/  --optimize=1
}