Package Details: cynthion-firmware-bin 0.1.7-2

Git Clone URL: https://aur.archlinux.org/cynthion-firmware-bin.git (read-only, click to copy)
Package Base: cynthion-firmware-bin
Description: Firmware for the Great Scott Gadgets Cynthion (pre-built from PyPI)
Upstream URL: https://github.com/greatscottgadgets/cynthion
Licenses: BSD-3-Clause
Conflicts: cynthion-firmware
Provides: cynthion-firmware
Submitter: Auerhuhn
Maintainer: Auerhuhn
Last Packager: Auerhuhn
Votes: 0
Popularity: 0.000000
First Submitted: 2024-07-08 22:54 (UTC)
Last Updated: 2024-10-17 06:54 (UTC)

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

Auerhuhn commented on 2024-10-17 06:54 (UTC)

@thierer Done, thanks for the pointer!

thierer commented on 2024-10-16 17:55 (UTC)

Would you please consider to change the local source filename of this package to something that doesn't clash with the filename of the python-cynthion archive, e.g. like so?

diff --git a/PKGBUILD b/PKGBUILD
index 6f0c69f..54c0605 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ provides=("cynthion-firmware=${pkgver}")
 conflicts=('cynthion-firmware')

 source=(
-  "https://files.pythonhosted.org/packages/source/${_pypi_name::1}/${_pypi_name}/${_pypi_name}-${pkgver}.tar.gz"
+  "${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pypi_name::1}/${_pypi_name}/${_pypi_name}-${pkgver}.tar.gz"
 )

 sha512sums=('4e5f94bcbaabb17920e9a582d22693a5ad61fb887733441d7897ccda43ab5c7d5ff385a9ab4dcaff46db5c1832ea25bd2d66d41805e10c8fee338bc84d9c45e5')

This might not be an issue depending on how you build the packages, but with plain makepkg both source archives end up in ${SRCDEST}, so you have to manually delete one source package between both builds, because makepkg thinks it already has the file cached, but then (correctly) fails at the integrity check.

Obviously not a huge issue, but would improve the build experience.

Thanks!