Debian Patches

Status for hugo/0.131.0-1

Patch Description Author Forwarded Bugs Origin Last update
0001-do-not-use-git-information-in-docs.patch Do not use git revision information for building the documentation, because the .git directory is needed for that,
which is not available at build time.
Dr. Tobias Quathamer <toddy@debian.org> not-needed Debian 2017-11-12
0002-skip-tests-that-access-the-internet.patch Skip tests that access the Internet during Debian build But let the test run during autopkgtest. Examples include:
- TestTransformPostCSS runs "npm install" which accesses the Internet
- TestHugoModulesVariants pulls in github.com/gohugoio/hugoTestModule2
- TestEmbeddedShortcodes where {{< tweet >}} shortcode accesses the Internet
Anthony Fok <foka@debian.org>, William 'jawn-smith' Wilson <jawn-smith@ubuntu.com> not-needed vendor 2021-01-27
0003-skip-TestPara-Time.patch Skip TestPara/Time for Debian infrastructure TestPara/Time fails too often on riscv64 buildd, on reproducible-builds etc.
probably due to these build daemons being fully loaded.
Anthony Fok <foka@debian.org> not-needed vendor 2021-10-19
0004-skip-TestCommands-mod.patch Skip TestCommands/mod*.txt which need internet or npm testscripts/commands/mod{,_get,_get_u,_vendor,__disable,_npm*}.txt
require Go module, internet access or npm which are not available
during Debian package build.
Anthony Fok <foka@debian.org> not-needed vendor 2023-06-29
0005-workaround-s390x-precision-of-atan-and-tan.patch Workaround s390x precision of Atan and Tan On s390x, math.Atan(1) and math.Tan(1) give values that slightly differ
from other architectures, leading to the following error:
.
=== NAME TestTemplateFuncsExamples
template_funcs_test.go:85:
error:
no substring match found
comment:
File: public/blog/hugo-rocks/index.html Match 0.7853981633974483
container:
"int\nstring\nfloat64\n2+2 is 4\nHugo Rocks!\nHugo Rules!\ncurrent-section\nReasonable new Hugo version!\n[1 2 3]\n[1 2 3]\n4\n[a f]\n[1 2 4]\n[1 2 3 4 5]\n[A B C]\nA, B and C\n\nSubstring found!\nbar=2&baz=with+spaces&foo=1&qux=this%26that%3Dthose\n<a href=\"https://www.google.com?page=3&amp;q=test\">Search</a>\nbar=2&foo=1\n[Yes, Hugo Rocks! Hugo Rocks!]\n[Yes, Hugo Rocks! Hugo Rocks!]\n[Yes, Hugo Rocks! For reals! Hugo Rocks!]\nkey: [a b]\nb3029f756f98f79e7f1b7f1d1f0dd53b\nb3029f756f98f79e7f1b7f1d1f0dd53b\nc8b5b0e33d408246e30f53e32b8f7627a7a649d4\n6ec43b78da9669f50e4e422575c54bf87536954ccd58280219c393f2ce352b46\nb6d11b6c53830b9d87036272ca9fe9d19306b8f9d8aa07b15da27d89e6e34f40\n\n\n{\n \"Hugo\": \"Rocks!\"\n}\nHello world\n42\nSGVsbG8gd29ybGQ=\n[\"A\",\"B\",\"C\"]\n[\n \"A\",\n \"B\",\n \"C\"\n]\n\n\nworks!\nworks!\n\nworks!\n\n0b242d361fda71bc\n1515779328\ncats\ncat\nMy first post\nMy camel post\n52nd\n103rd\n512.50\n512.50%\n$512.50\nNOK512.50\n12,345.68\n12.345,68\n-12345.678900\n-12,346\n-12 346\n-98,765.43\n1\n3\n0.7853981633974484\n0.4636476090008061\n3\n0.5403023058681398\n1\n9\n1.5574077246549018\n1.5707963267948966\n2.1\n2\n3.141592653589793\n8\n2\n0.8414709848078965\n90\n0\n1.5707963267948966\n2\ntrue\n6\n1\n0\n0\nREADME.txt\nHugo Rocks!\nfalse\n<title>Hugo Rocks!</title>\n/my/path/|filename.txt\n/my/path/|filename.txt\nmy/path/filename.txt\nmy/path/filename.txt\n.txt\nfilename.txt\nmy/path\nMap\nSlice\nhttp://gohugo.io\nBat&amp;Man\nBat&Man\nBat&Man\n(1*2)\ntrue\nfalse\nXbXbX\nXbaabbab\nBATMAN\ntrue\nfalse\nBatman\naabb\nBat Man\nSomewhere Over the Rainbow\n[go]\nBatman and Catwoman\nzzbbaabb\nBat\nMan\ntrue\nfalse\n[[<a href=\"#foo\">Foo</a> #foo Foo] [<a href=\"#bar\">Bar</a> #bar Bar]]\nabbaa\nbbaa\n<p>Blockhead</p>\nHugo rocks!\nyoyoyoyo\ntrue\nfalse\nbatman\nBat\nMan\nbbaa\naabba\naabb\n3\nthis is a ...\nWith <a href=\"/markdown\">Markdown …</a>\nYes!\nNo!\ndateFormat: Wednesday, Jan 21, 2015\n2015\n1h0m0s\n1h12m10s\nCathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;\nCathal Garvey &amp;amp; The Sunshine Band &amp;lt;cathal@foo.bar&amp;gt;\nCathal Garvey & The Sunshine Band <cathal@foo.bar>\nCathal Garvey & The Sunshine Band <cathal@foo.bar>\nCathal Garvey & The Sunshine Band <cathal@foo.bar>\nCathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;\nCathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;\nI ❤️ Hugo\n<strong>BatMan</strong>\nHello world, gophers!\n{\n \"title\": \"Hello World\"\n}\n\nmap[hello:Hello World]\nmap[hello:Hello World]\nthis-is-a-title\nhttps://example.org/foo\na/b"
want:
"0.7853981633974483"
stack:
/<<PKGBUILDDIR>>/_build/src/github.com/gohugoio/hugo/hugolib/integrationtest_builder.go:297
s.Assert(content, qt.Contains, match, cm)
/<<PKGBUILDDIR>>/_build/src/github.com/gohugoio/hugo/tpl/tplimpl/template_funcs_test.go:85
b.AssertFileContent("public/blog/hugo-rocks/index.html", expected...)
.
--- FAIL: TestTemplateFuncsExamples (0.05s)
.
For convenience, this can be tested locally on non-s390x machine with:
.
GOARCH=s390x go test ./tpl/tplimpl/template_funcs_test.go -run TestTemplateFuncsExamples
Anthony Fok <foka@debian.org> no vendor 2024-08-30

All known versions for source package 'hugo'

Links