summaryrefslogtreecommitdiff
path: root/dev-python/pkgconfig/files/pkgconfig-1.5.4-brittle-tests.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
commit7f0ccc917c7abe6223784c703d86cd14755691fb (patch)
tree8c6793f68896b341e22f33d7e6cef88e481f4a8b /dev-python/pkgconfig/files/pkgconfig-1.5.4-brittle-tests.patch
parent9aa80713372911cec499b3adb2cd746790920916 (diff)
gentoo resync : 03.07.2021
Diffstat (limited to 'dev-python/pkgconfig/files/pkgconfig-1.5.4-brittle-tests.patch')
-rw-r--r--dev-python/pkgconfig/files/pkgconfig-1.5.4-brittle-tests.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/pkgconfig/files/pkgconfig-1.5.4-brittle-tests.patch b/dev-python/pkgconfig/files/pkgconfig-1.5.4-brittle-tests.patch
new file mode 100644
index 000000000000..05ba21f22acc
--- /dev/null
+++ b/dev-python/pkgconfig/files/pkgconfig-1.5.4-brittle-tests.patch
@@ -0,0 +1,14 @@
+--- a/test_pkgconfig.py
++++ b/test_pkgconfig.py
+@@ -138,9 +138,9 @@
+ def test_configure_extension():
+ ext = Extension('foo', ['foo.c'])
+ pkgconfig.configure_extension(ext, 'fake-gtk+-3.0 fake-python')
+- assert ext.extra_compile_args == [
++ assert sorted(ext.extra_compile_args) == [
+ '-DGSEAL_ENABLE', '-I/usr/include/gtk-3.0','-I/usr/include/python2.7']
+- assert ext.extra_link_args == [
++ assert sorted(ext.extra_link_args) == [
+ '-L/usr/lib_gtk_foo', '-L/usr/lib_python_foo', '-lgtk-3', '-lpython2.7']
+
+