Commit Graph
785841 Commits
Author SHA1 Message Date
Michał Górny 2c0b83f282 dev-python/pydantic-core: Bump to 2.11.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-10-18 07:05:58 +02:00
Michał Górny c178cd6916 dev-python/tldextract: Bump to 5.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-10-18 07:05:57 +02:00
Michał Górny ea5b049d4c dev-python/cfn-lint: Bump to 0.82.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-10-18 07:05:56 +02:00
Michał Górny 3b0efd88d2 dev-python/sqlglot: Bump to 18.15.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-10-18 07:05:55 +02:00
Michał Górny 55243810d2 dev-python/deepdiff: Bump to 6.6.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-10-18 07:05:54 +02:00
Michał Górny e039fda230 dev-python/outcome: Bump to 1.3.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-10-18 07:05:53 +02:00
Michał Górny 1651cef576 dev-python/unearth: Bump to 0.11.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-10-18 07:05:52 +02:00
Michał Górny e75c7cd980 dev-python/agate: Bump to 1.9.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-10-18 07:05:52 +02:00
Michał Górny 4329fbb0e4 app-admin/awscli: Bump to 1.29.65
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-10-18 07:05:51 +02:00
Michał Górny 5c5bfd9810 dev-python/boto3: Bump to 1.28.65
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-10-18 07:05:50 +02:00
Michał Górny edc35d91b7 dev-python/botocore: Bump to 1.31.65
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-10-18 07:05:49 +02:00
Eli Schwartz af5d2713d3 app-text/calibre: Remove erroneous "binary install" workaround
This has never been caused by the upstream binary install, which
installs to /opt and does not affect from-source installs under any
circumstances ever.

What did happen is back during the major version update from 2.85 to
3.0, upstream stopped including a vendored regex/ module, and started
expecting it to be installed as a system dependency.

Under most circumstances, this was fine, and simply installing the
dependency would get things working. One possible edge case occurred,
however, when the old version of the package did NOT byte-compile the
vendored regex module, but calibre was run as root. (There are reasons
it might end up being run as root, the most obvious being that a user
wanted to run the headless server or another command-line tool.)

If this happened, then the python interpreter would automatically
byte-compile every module on import, but the PM wouldn't track it for
removal. After an upgrade, the cached file could still be imported and
would effectively mask the system version of the regex module, but would
be missing the binary portion.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:37:15 -07:00
Eli Schwartz 4103983d9a app-text/calibre: add verify-sig support
Historically, calibre has always supported this. Allow checking it. No
revbump needed.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:09 -07:00
Eli Schwartz 5a1aae1fc6 app-text/calibre: add support for packaging plugins in an ebuild
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33292
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:08 -07:00
Eli Schwartz 1b7f9d4d80 app-text/calibre: disable py3.9
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:08 -07:00
Eli Schwartz 3f28bca010 app-text/calibre: add myself as a maintainer
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:07 -07:00
Eli Schwartz 69cdc364d8 app-text/calibre: remove unused dependency which is tested as an import
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:07 -07:00
Eli Schwartz 92cb4b07ce app-text/calibre: install man pages
Since calibre 3.3.0 the distfile has come with prebuilt manpages for the
CLI programs. Add them to the installation.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:06 -07:00
Eli Schwartz e5eb7ece10 app-text/calibre: install zsh completions
Since there is no real standard and no real detection method for zsh
completions (and Debian tunes this to be something that doesn't work
anywhere else) the build system probes for the common locations.

Also, this probe is carried out against staging-root, not /, which
means that it will NEVER work. Not even if you have zsh installed.
Unless you create the directory in advance in the staging-root, which
you have to do anyways because otherwise you would need zsh as a BDEPEND
which is silly. ;)

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:05 -07:00
Eli Schwartz 03a216a35a app-text/calibre: move text-to-speech dependency to dedicated USE flag
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:05 -07:00
Eli Schwartz e003cddbc9 app-text/calibre: add missing USE dependencies for image support
calibre needs support for these image types, and tests for some of them,
but their USE flags aren't guaranteed to be enabled. Guarantee it, even
if until now people tended not to notice somehow. ;)

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:05 -07:00
Eli Schwartz 13bd01105a app-text/calibre: various cleanups for out of date dependencies
Of note:
- dbus-python was deprecated and removed by the addition of jeepney
- cssselect was deprecated and removed by the addition of css-parser

The glib and libX* dependencies are an interesting bit of history. As
far as calibre is concerned, these have never been required (they are
not directly used). But the libheadless.so plugin which uses Qt private
APIs ends up inheriting a bunch of dependencies from Qt itself,
depending on whatever Qt internals get exposed by that private API. This
results in symbols inside libheadless.so linking to libraries that
QtCore also links to. We still have to rebuild libheadless.so on ever
update to Qt because private API, though. And the really fun bit is that
the dependencies do, of course, change over time. :) Currently libX* is
not actually used anymore, for example.

dbus-glib *looks* like it may have been superficially a recursive dep of
something else?

libwmf had extremely extremely old code in the calibre source tree which
could have compiled against it, but never really did so. There's a
custom encoder/decoder written in pure python.

zlib is not directly depended on by calibre, though some dependencies do
have to be built with USE=zlib which doesn't really help. For all direct
uses of zlib, calibre simply uses the python stdlib "zlib" module, which
is not optional anyway.

calibre has never been setuptools software, so that can be dropped.

There are two chardet modules of relevance: chardet and cchardet. At
runtime, calibre only uses the latter. The tests use both of them due to
reasons. We can avoid installing it except when USE=test.

PyQt-builder is used in the build system (and as the name implies, it is
a module for building code). It can be dropped to a build dependency.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:04 -07:00
Eli Schwartz 7c8bb40840 app-text/calibre: fix incorrect poppler dependency
Since 2012, calibre has stopped building a compiled binding for poppler,
and started using the command-line utils via subprocesses. Make sure
those are installed.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:04 -07:00
Eli Schwartz fe2498a030 app-text/calibre: fix compatibility with recent zeroconf
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:03 -07:00
Eli Schwartz 95002b25c4 app-text/calibre: prune unneeded runtime contents
A build-time compiler is installed. Getting rid of it is -124 KB which
isn't much but also is pure win.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:03 -07:00
Eli Schwartz 95c30c3764 app-text/calibre: document reason for Qt slotting, and correct a bad one
Per https://wiki.gentoo.org/wiki/Project:Qt/Policies#Dependencies we
should not be using := unless we build against the Qt private API. As it
happens, we do. But also as it happens, we ended up slotting all
dependencies (other than the one I just added), whereas one of them was
not needed as it is only linked to via a compiled extension that doesn't
use private API.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:02 -07:00
Eli Schwartz 0085245112 app-text/calibre: add dependency necessary for complete image support
Drops the necessity of a testsuite patch.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:02 -07:00
Eli Schwartz 080103195a app-text/calibre: misc cleanup
guard a command that cannot die with `|| die` for style reasons. Drop a
commented-out bit of code that is no longer relevant.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:02 -07:00
Eli Schwartz 6cc272a063 app-text/calibre: trivial refactor of skippable tests
It is easier to add to as an array. Also add comment to note down that I
don't know why a couple of tests are being skipped.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:01 -07:00
Eli Schwartz 77abd098fe app-text/calibre: remove no longer accurate consulting advice
The distribution packaging described here is no longer maintained by
said Calibre contributor, and there has been a corresponding decrease in
quality. I cannot in good faith advise taking inspiration from recent
changes there.

If advice is needed by a Calibre contributor, I can simply provide any
relevant advice directly to the Gentoo Project.

Alternatively, the Fedora packaging continues to be rather decent.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:01 -07:00
Eli Schwartz 998c272e6c app-text/calibre: clean up install invocation a bit
There's a bit of indirection here that isn't strictly needed:
- get_libdir is guaranteed to never fail
- PYTHONPATH is not necessary, setup.py internally handles this
- the --staging-root and --root options are aliases, and the last one
  wins; simply pass it once

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:00 -07:00
Eli Schwartz b831451172 app-text/calibre: Remove erroneous "binary install" workaround
This has never been caused by the upstream binary install, which
installs to /opt and does not affect from-source installs under any
circumstances ever.

What did happen is back during the major version update from 2.85 to
3.0, upstream stopped including a vendored regex/ module, and started
expecting it to be installed as a system dependency.

Under most circumstances, this was fine, and simply installing the
dependency would get things working. One possible edge case occurred,
however, when the old version of the package did NOT byte-compile the
vendored regex module, but calibre was run as root. (There are reasons
it might end up being run as root, the most obvious being that a user
wanted to run the headless server or another command-line tool.)

If this happened, then the python interpreter would automatically
byte-compile every module on import, but the PM wouldn't track it for
removal. After an upgrade, the cached file could still be imported and
would effectively mask the system version of the regex module, but would
be missing the binary portion.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:26:00 -07:00
Eli Schwartz ecfda3b94d app-text/calibre: don't uselessly modify library shebangs
A library file does not care what its shebang is. The intended purpose
of all these shebangs is to indicate to text editors, what the expected
syntax highlighting mode should be.

This has no practical effect on the resulting package. The installed
bytes are different, they just don't *do* anything different. No revbump
needed.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:25:59 -07:00
Eli Schwartz 25c6c42bad app-text/calibre: Use upstream buildsystem to integrate system fonts
The liberation fonts are removed and replaced with symlinks to the
system fonts. I've put quite a bit of work in upstream to make this work
in a supported manner; let's use that instead of fragile, unchecked
shell code.

In particular, upstream's buildsystem dies if the expected fonts do not
exist.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:25:59 -07:00
Eli Schwartz 0c7dd1f7d5 app-text/calibre: avoid setting useless variables at install time
The install process does not rerun compiles, so setting variables there
is useless and does nothing. They didn't have any effect on src_compile
all this time, which means that whatever they tried to fix clearly was
not an issue. ;)

That being said, there are two things going on here:
- OVERRIDE_CFLAGS is used by the calibre build system in addition to
  CFLAGS, so it is not actually necessary to override it, and using
  both, means using -Wall and suchlike so respecting it seems reasonable
- the calibre build system respects either $PATH or $QMAKE to find the
  qmake program. Instead of using the former method in src_compile and
  the latter method in src_install, just use the latter method in
  src_compile and avoid munging $PATH.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:25:58 -07:00
Eli Schwartz 09d6fc876a app-text/calibre: remove outdated workarounds for xdg install steps
I do not know what kbuildsyscoca is, other than "does not exist
anymore"? So I am skeptical it is still relevant.

I do know that it is no longer necessary to fake out xdg-utils programs,
since I fixed this in 2019, as part of calibre 3.43.0; it now detects
when we are running a DESTDIR install and refrains from running:
- `xdg-desktop-menu forceupdate`
- `xdg-mime` at all (instead it uses shutil.copyfile to copy over one
  file)

and sets up the requisite $XDG_* variables to make the utils operate on
a staged installation directory.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:25:58 -07:00
Eli Schwartz 30f1d836f6 app-text/calibre: remove useless variables from the py3 testing period
Ever since calibre's python 3 port was completed, this variable was no
longer needed to unlock opting in to using python3. And thus, it is
neither checked nor used.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:25:58 -07:00
Eli Schwartz 53fa7ea817 app-text/calibre: add verify-sig support
Historically, calibre has always supported this. Allow checking it. No
revbump needed.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:25:57 -07:00
Zac Medico fe1aee3f76 app-text/calibre: 5.44.0-r2 revbump
Copied 5.44.0-r1 to use as a base for commits from
https://github.com/gentoo/gentoo/pull/33292.

Signed-off-by: Zac Medico <zmedico@gentoo.org>
2023-10-17 21:25:57 -07:00
Viorel Munteanu 4da79ad520 app-emulation/virtualbox-extpack-oracle: add 7.0.12
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2023-10-18 07:07:16 +03:00
Viorel Munteanu 8c73117c65 app-emulation/virtualbox-additions: add 7.0.12
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2023-10-18 07:07:16 +03:00
Viorel Munteanu 5f6c2024bb app-emulation/virtualbox: add 7.0.12
Closes: https://bugs.gentoo.org/908814
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2023-10-18 07:07:16 +03:00
Viorel Munteanu 10d0bb5b67 app-emulation/virtualbox-modules: add 7.0.12
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2023-10-18 07:07:15 +03:00
Viorel Munteanu ac002340e6 app-emulation/virtualbox-guest-additions: add 7.0.12
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2023-10-18 07:07:15 +03:00
Viorel Munteanu 20f3c0bc8b app-emulation/virtualbox-extpack-oracle: add 6.1.48
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2023-10-18 07:07:15 +03:00
Viorel Munteanu afbf7061d4 app-emulation/virtualbox-additions: add 6.1.48
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2023-10-18 07:07:15 +03:00
Viorel Munteanu f093feb826 app-emulation/virtualbox: add 6.1.48
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2023-10-18 07:07:15 +03:00
Viorel Munteanu 45d6e5e28f app-emulation/virtualbox-modules: add 6.1.48
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2023-10-18 07:07:15 +03:00
Viorel Munteanu 8dadba5a9a app-emulation/virtualbox-guest-additions: add 6.1.48
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2023-10-18 07:07:14 +03:00
James Le Cuirot f5d1c19fce profiles: Mask games-rpg/crosscode-a-new-home on musl
This is a DLC for a game that is already masked.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
2023-10-17 23:27:56 +01:00