When the clap crate is built with the wrap_help feature, it will
automatically detect the current terminal size and wrap help text based
on that. This breaks bat's tests if your terminal is below a certain
size. Set the COLUMNS environment variable in src_test to override this.
Closes: https://bugs.gentoo.org/913364
Closes: https://bugs.gentoo.org/914914
Signed-off-by: Violet Purcell <vimproved@inventati.org>
Signed-off-by: Sam James <sam@gentoo.org>
This doesn't often change. When it does, the calibre-server assets need
to be rebuilt with the new content hashes for the mathjax code.
Add the slot without a revbump. Any systems that don't pick up on this
update will be fine, because the chances are extremely high that calibre
will continue to be updated many times before the next mathjax update,
so no real point forcing a metadata-only rebuild.
Bug: https://bugs.gentoo.org/916037
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
It does nothing. I am not sure what the point of using it here is --
this is a tarball source and doesn't have a .git/ directory. In 3.x it
does have a .github/ directory, but that isn't copied over even if it is
there.
It's a waste of time, so drop it.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Do not use a separated app-docs/mathjax-docs. It is impossible to get
correct: the symlink is generated using best_version, which applies at
build time but doesn't match the version at runtime, so having an -r1
breaks the package.
It also wasn't implemented correctly even if it could be gotten correct,
because the docs package is a build time dependency, not a runtime one.
To cap it off, this was introduced as a side effect of updating the
package to 3.x, in an attempt to solve the broken symlink in the 2.x
package. But it never referenced bug 867370 in the commit message.
While we are at it, fix a flaw in the code merged from mathjax-docs,
which didn't implement python_check_deps.
Fixes: 46560543c9
Bug: https://bugs.gentoo.org/837722
Closes: https://bugs.gentoo.org/867370
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Do not use a separated app-docs/mathjax-docs. It is impossible to get
correct: the symlink is generated using ${SLOT}, which is totally bogus
as the docs package uses ${PF} and is unknowable. The symlink was very
broken.
In bug 526128, it was stated that there are 2 options for handling docs
as part of a separate tarball:
- remove doc support (and optionally create a separate package)
- make doc support depend on a separate package
It's baffling that the final option of just... having two SRC_URI
files and installing the docs... was totally overlooked.
Fixes: c6e861e430
Bug: https://bugs.gentoo.org/526128
Bug: https://bugs.gentoo.org/867370
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Add latest git snapshot (still 6 years old) for nload
to fix bug #923084 about deprecated `configure.in`.
There have been no upstream releases for ~12 years now,
so have to use a git snapshot.
There have been some 34 commits since the latest release (0.7.4)
including fixes and new features,
so call this a "0.7.5 pre-release".
In particular, nload's build system doesn't strip binaries by default anymore,
and it dropped `--enable-debug` configure flag,
so the ebuild doesn't need to specify it either.
The git diff makes more sense with `-C -C30` flags.
Bug: https://bugs.gentoo.org/923084
Signed-off-by: Andrey Mazo <ahipp0@pm.me>
Closes: https://github.com/gentoo/gentoo/pull/35063
Signed-off-by: Joonas Niilola <juippis@gentoo.org>