Upstream's setup.cfg has several oddities to it, including claiming an
RDEPEND on dev-python/build from when they copied their requirements.txt
verbatim into setup.cfg.
As for certifi specifically, it is handled in a fiddly try/except that
falls back to using a bundled copy that is copied over from certifi into
displaycal iff building a py2app/py2exe edition, and if that still
doesn't work, silently does nothing.
The object of all this is that if a custom cacert.pem is found
somewhere, it goes and sets os.environ['SSL_CERT_FILE'] to affect later
uses of urllib.request.
Reasonably enough, none of this is needed except on Windows and macOS,
so displaycal does precisely that: runs this entire thing only on
Windows and macOS. On Linux, it never even attempts to import certifi,
nor set an environment variable. So we shouldn't depend on it either.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Dropped upstream in 0.20.46:
https://github.com/jelmer/dulwich/commit/0f684cebb18d3145049c3177ed97f689bc169a7f
Even before that, it was optional via try/except and if certifi was not
installed, it would use the urllib3 default; it was removed from dulwich
on the grounds that for several years, urllib3 has enforced (system!)
certificates even if you don't explicitly pass a custom cert path.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
The precise reason for the dependency was not documented in commit
8044c23400 which added it, but we can
theorize.
For a long time, setuptools has had an extras_require to provide the
features "ssl" and "certs". Historically, this required certifi for the
latter (and the former was Windows-specific).
A straightforward dependency is the simplest approach to extras,
particularly since certifi is both reasonably small and simple and also
used by a lot of packages (too many). And it had to be a PDEPEND because
certifi built with setuptools.
However, this dependency was removed upstream in 57.1.0 via
https://github.com/pypa/setuptools/commit/0aa3576ae23fd88d450e41931a6703e8eb96e9c4
Even before that, it was a fallback if a system certificate file could
not be found, in code that only ran when build dependencies were not
satisfied plus pip was not installed, for downloading unverified
software from PyPI. It wasn't used by ebuilds, and users building
packages by hand will just use pip anyways.
Its time has long passed.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
clang -MT gtkdial.o -MMD -MP -MF .deps/gtkdial.d -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Werror -D_FORTIFY_SOURCE=2 -DVERSION=\"Unknown\" -Wno-error=deprecated-declarations -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
gtkdial.c:836:9: error: using integer absolute value function 'abs' when
argument is of floating point type [-Werror,-Wabsolute-value]
836 | if (abs(delta) > 1)
Link: https://github.com/geoffreybennett/alsa-scarlett-gui/pull/87
Closes: https://bugs.gentoo.org/918957
Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
The check is not necessary as we require fping[suid] if USE=server or
USE=proxy. Furthermore, the check is broken since fping could be
installed with filecaps, which results in /usr/bin/fping not being suid
but using file capabilities instead.
Signed-off-by: Florian Schmaus <flow@gentoo.org>