Package Details: python-cynthion 0.1.2-1

Git Clone URL: https://aur.archlinux.org/python-cynthion.git (read-only, click to copy)
Package Base: python-cynthion
Description: Python package and utilities for the Great Scott Gadgets Cynthion USB Test Instrument
Upstream URL: https://github.com/greatscottgadgets/cynthion
Licenses: BSD-3-Clause
Submitter: Auerhuhn
Maintainer: Auerhuhn
Last Packager: Auerhuhn
Votes: 0
Popularity: 0.000000
First Submitted: 2024-06-09 18:21 (UTC)
Last Updated: 2024-07-09 17:51 (UTC)

Latest Comments

Auerhuhn commented on 2024-07-09 17:08 (UTC) (edited on 2024-07-09 17:54 (UTC) by Auerhuhn)

Thanks for the feedback @nicolai_d! I have pushed a v0.1.1-2 (Edit: and now v0.1.2-1) of the PKGBUILD which includes the patch from GitHub, so now the package should work without any manual interventions.

About Trizen not finding cynthion-firmware-bin: I use aurutils, which seems to have a similar issue. I think that the problem with aurutils is that its aur-depends subcommand only seems to look for the package in two places, the Pacman repositories and the AUR’s info web API endpoint. But the info endpoint doesn’t return package suggestions such as cynthion-firmware-bin for cynthion-firmware. The web API has a second endpoint, suggest, but aur-depends doesn’t seem to use that. I have never used Trizen but maybe it has a similar limitation?

nicolai_d commented on 2024-07-09 08:17 (UTC) (edited on 2024-07-09 09:05 (UTC) by nicolai_d)

For now it doesn't quit work (the cynthion cli does actually searches in the /usr/lib/python3.12/site-packages/assets/ directory), but with the PR associated with you issue on github applied (https://github.com/greatscottgadgets/cynthion/pull/127) it wotks.

Trizen also doesn't seem to be able to find the cynthion-firmware dependency for some reason - maybe because of the version pinning or something - but I can't say if that's a problem with your package build or if trizen is just not smart enough.

Auerhuhn commented on 2024-07-08 22:58 (UTC)

@nicolai_d: I have added the binaries and bitstreams as a separate cynthion-firmware-bin package for now.

Would appreciate feedback whether it works for you!

nicolai_d commented on 2024-07-08 14:51 (UTC)

Thanks for the quick replay, I hope you get you Cynthion soon 👍 (No hurry for me, I extracted everything I need from the pypi release though)

Auerhuhn commented on 2024-07-08 12:49 (UTC)

Hi @nicolai_d,

thanks for the report! I’m still waiting for my Cynthion to arrive, so I haven’t been able to reproduce the issue yet.

I’m going to look into this, preferably by building the assets in the PKGBUILD.

Regards
Claudia (aka Auerhuhn)

nicolai_d commented on 2024-07-08 12:44 (UTC) (edited on 2024-07-08 12:45 (UTC) by nicolai_d)

Hi, thank you for the PKGBUILD. I noticed that the github releases do not have the firmware/gateware in the assets/ folder contrary to the pypi release.

This means that after installing the package, cynthion update does not work.

I don't know how the assets are built though (and havent looked much into either) maybe considering building the package from the pypi release could be an option. (Or finding out how to build the assets but I won't want to ask people to do more free work than they have already done)