Search Criteria
Package Details: python-amaranth-git 0.3.r19.g8b85afa-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-amaranth-git.git (read-only, click to copy) |
---|---|
Package Base: | python-amaranth-git |
Description: | A modern hardware definition language and toolchain based on Python (formerly nMigen) |
Upstream URL: | https://github.com/amaranth-lang/amaranth |
Licenses: | BSD |
Conflicts: | python-amaranth, python-nmigen |
Provides: | python-amaranth, python-nmigen |
Replaces: | python-nmigen-git |
Submitter: | xiretza |
Maintainer: | xiretza |
Last Packager: | xiretza |
Votes: | 3 |
Popularity: | 0.85 |
First Submitted: | 2021-12-29 10:01 (UTC) |
Last Updated: | 2022-04-24 07:48 (UTC) |
Dependencies (13)
- python (python37AUR, python311AUR, python310AUR)
- python-jinja
- python-pyvcd
- git (git-gitAUR) (make)
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-setuptools-scm (make)
- python-wheel (make)
- python-pytest (python-pytest7) (check)
- symbiyosys-gitAUR (check)
- yices (check)
- yosys (yosys-gitAUR) (check)
- python-paramiko (python-paramiko-ngAUR) (optional) – for remote builds
Required by (3)
- python-amaranth-boards-git (requires python-amaranth)
- python-glasgow-git (requires python-amaranth)
- python-sphinxcontrib-hdl-diagrams (requires python-nmigen)
Latest Comments
m42uko commented on 2024-04-20 07:58 (UTC)
On my my system, this fails with
Maybe the Arch upstream of python-pdm is too old? Alternatively, we can consider working around this in the PKGBUILD by patching
$srcdir/amaranth/pyproject.toml
to remove theversion_format = "pdm_build:format_version"
and deletingsrc/amaranth/pdm_build.py
. I'll leave this decision up to you as I am not inherently familiar with this project (or python build systems for that matter).xiretza commented on 2022-04-24 07:58 (UTC)
python-amaranth-boards-git
is now packaged: https://aur.archlinux.org/packages/python-amaranth-boards-gitxiretza commented on 2022-04-24 07:33 (UTC)
Tests exist to tell you when something is wrong, simply not running them can hardly be considered a "fix" ;) Anyway, the issue is that amaranth targets the latest available yosys, so I changed the depends to reflect that.
amstan commented on 2022-04-24 07:32 (UTC) (edited on 2022-04-24 07:33 (UTC) by amstan)
We're also missing amaranth_boards, which without it's kind of hard to build anything real. I'm making do by just installing python-nmigen-boards (which seems happy "linking" to this package), but that uses the old style imports:
amstan commented on 2022-04-24 06:14 (UTC) (edited on 2022-04-24 06:14 (UTC) by amstan)
The
check()
fails for me. I guess there's some failures in the upstream tests:I fixed it (for myself, though YMMV) by telling pikaur to tell makepkg to not run check():
--mflags=--nocheck
FWIW I don't think this should be changed in the PKGBUILD, you might still want to run tests, idk what the philosophy of
check()
is normally.