Package Details: python-halcy-blurhash 1.1.5-1

Git Clone URL: https://aur.archlinux.org/python-halcy-blurhash.git (read-only, click to copy)
Package Base: python-halcy-blurhash
Description: Pure-Python implementation of the blurhash algorithm
Upstream URL: https://github.com/halcy/blurhash-python
Licenses: MIT
Conflicts: python-blurhash
Provides: python-blurhash
Submitter: lmartinez-mirror
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 0
Popularity: 0.000000
First Submitted: 2023-01-20 21:52 (UTC)
Last Updated: 2025-08-17 16:07 (UTC)

Dependencies (5)

Required by (2)

Sources (1)

Latest Comments

dreieck commented on 2025-08-24 21:50 (UTC)

Source download fails:

=> Retrieving sources...
==> ERROR: Unknown download protocol: /https
    Aborting...

You messed up the source array.

After fixing that, it turns out that the source checksum is wrong as well:

==> Validating source files with sha256sums...
    blurhash-1.1.5.tar.gz ... FAILED

After fixing that, build fails with

==> Starting build()...
/var/cache/yay/python-halcy-blurhash/PKGBUILD: line 20: cd: blurhash-1.1.5: No such file or directory
==> ERROR: A failure occurred in build().

After fixing that, build works.

A patch to the PKGBUILD which adresses all those issues:

--- PKGBUILD.orig   2025-08-24 23:46:17.955223145 +0200
+++ PKGBUILD    2025-08-24 23:51:07.388548074 +0200
@@ -6,3 +6,3 @@
 pkgver=1.1.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Pure-Python implementation of the blurhash algorithm"
@@ -15,7 +15,7 @@
 conflicts=(python-blurhash)
-source=(${_base}-${pkgver}.tar.gz::/${url}/archive/v${pkgver}.tar.gz)
-sha256sums=('da56b163e5a816e4ad07172f5639287698e09d7f3dc38d18d9726d9c1dbc4cee')
+source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz)
+sha256sums=('21f1c972a00357789d08540111fa5fff7c4e5e07832466d64d6b362410b9893e')

 build() {
-  cd ${_base}-${pkgver}
+  cd "${_base}-python-${pkgver}"
   python -m build --wheel --skip-dependency-check --no-isolation
@@ -24,3 +24,3 @@
 package() {
-  cd ${_base}-${pkgver}
+  cd "${_base}-python-${pkgver}"
   PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl

Regards and thanks for maintaining.
Please fix and please test before pushing an update.

Regards!