aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-gst/python-3.8-compat.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-10-30 15:01:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-05 15:33:59 +0000
commit824670d544986bbfc7f7e8388d13da922a076fb3 (patch)
tree3c5bec5f36c06a41927cff47a2dc72974d383148 /community/py-gst/python-3.8-compat.patch
parent823adbe55e797ac4cec037624e28034f8271dfb8 (diff)
downloadaports-824670d544986bbfc7f7e8388d13da922a076fb3.tar.bz2
aports-824670d544986bbfc7f7e8388d13da922a076fb3.tar.xz
community/py3-gst: rebuild against python 3.8
claim maintainership
Diffstat (limited to 'community/py-gst/python-3.8-compat.patch')
-rw-r--r--community/py-gst/python-3.8-compat.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/py-gst/python-3.8-compat.patch b/community/py-gst/python-3.8-compat.patch
new file mode 100644
index 0000000000..5ea4c9de02
--- /dev/null
+++ b/community/py-gst/python-3.8-compat.patch
@@ -0,0 +1,13 @@
+diff --git a/meson.build b/meson.build
+index 1da81d5..6a80872 100644
+--- a/meson.build
++++ b/meson.build
+@@ -24,7 +24,7 @@ pygobject_dep = dependency('pygobject-3.0', fallback: ['pygobject', 'pygobject_d
+
+ pymod = import('python')
+ python = pymod.find_installation(get_option('python'))
+-python_dep = python.dependency(required : true)
++python_dep = dependency('python3-embed', fallback: ['python', 'python_dep'], required : true)
+
+ python_abi_flags = python.get_variable('ABIFLAGS', '')
+ pylib_loc = get_option('libpython-dir')