Skip to content

community/hugo: upgrade to 0.128.2

mio requested to merge mio/aports:hugo into master

https://github.com/gohugoio/hugo/releases/tag/v0.128.2

asciidoctor is required in checkdepends for tests in github.com/gohugoio/hugo/hugolib/pagesfromdata to pass.

skip-tailwindcss-test.patch skips the integration test for an optional npm dependency, tailwindcss, on all arches except x86_64 and aarch64. My understanding is one of tailwindcss's dependencies, a node C++ module called watcher, ships prebuilt binaries and only the two arches are currently supported for musl. This in turn causes tailwindcss to fail during the test with Error: No prebuild or local build of @parcel/watcher found. Hugo does not actually bundle tailwindcss in production, users would install it from npm or distro repo if they want to use it with Hugo. Since the test does not affect Hugo core functionality, my thought was to skip the test on other arches instead of disabling the package there.

Another option is to package tailwindcss and watcher, but that would probably also require patching the test to use the system version as well.

Edited by mio

Merge request reports

Loading