python3Python.gst-python: fixes, gst_all_1.gst-plugins-rs: disable broken test on Darwin (#448371)
This commit is contained in:
@@ -116,6 +116,7 @@ let
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"reqwest" # tests hang on darwin
|
||||
"threadshare" # tests cannot bind to localhost on darwin
|
||||
"uriplaylistbin" # thread reqwest-internal-sync-runtime attempred to create a NULL object (in test_cache)
|
||||
"webp" # not supported on darwin (upstream crate issue)
|
||||
]
|
||||
++ lib.optionals (!gst-plugins-base.glEnabled || !withGtkPlugins) [
|
||||
|
||||
@@ -42,6 +42,13 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
# The analytics tests often timeout under load on Darwin (e.g. on Hydra), so remove them
|
||||
substituteInPlace testsuite/meson.build --replace-fail \
|
||||
"['Test analytics', 'test_analytics.py', ['gst-plugins-bad/gst-libs/gst/analytics', 'gst-plugins-base/gst-libs/gst/video']]," \
|
||||
""
|
||||
'';
|
||||
|
||||
# Python 2.x is not supported.
|
||||
disabled = !isPy3k;
|
||||
|
||||
@@ -87,10 +94,10 @@ buildPythonPackage rec {
|
||||
updateScript = directoryListingUpdater { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://gstreamer.freedesktop.org";
|
||||
description = "Python bindings for GStreamer";
|
||||
license = licenses.lgpl2Plus;
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user