Package Details: apio 0.8.4-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.000002
First Submitted: 2018-05-18 16:29 (UTC)
Last Updated: 2023-11-08 22:59 (UTC)

Latest Comments

MrAureliusR commented on 2023-01-31 19:44 (UTC)

Here's a patch for the PKGBUILD that corrects the errors and works on the latest Arch as of Jan 31, 2023: https://0x0.st/oFGb.patch

That link will probably only be accessible for under a year, so if you're reading this in the future, you essentially need to change the "python-install" to "python-installer" and then correct "-m install" to "-m installer" and remove the "--optimize=1".

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
}