summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2022-01-08 16:22:54 +0100
committerSven Wegener <swegener@gentoo.org>2022-01-08 16:31:42 +0100
commit135d4e02950a50965091fcd285c094b8407c722a (patch)
tree00c1249528600567511c72a0ac47385998769e85 /sci-libs
parentsci-libs/libsigrok: Revision bump (diff)
downloadgentoo-135d4e02950a50965091fcd285c094b8407c722a.tar.gz
gentoo-135d4e02950a50965091fcd285c094b8407c722a.tar.bz2
gentoo-135d4e02950a50965091fcd285c094b8407c722a.zip
sci-libs/libsigrokdecode: Use versioned python .pc file
This integrates the name of the versioned python .pc file into the generated libsigrokdecode.pc file, so that it always refers to the python version libsigrokdecode was built with. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r2.ebuild (renamed from sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r1.ebuild)4
-rw-r--r--sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r1.ebuild b/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r2.ebuild
index 94adf3d75fe7..f947b0423941 100644
--- a/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r1.ebuild
+++ b/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -34,7 +34,7 @@ src_prepare() {
default
# bug #794592
- sed -i -e 's/\[SRD_PKGLIBS\],$/& [python3-embed], [python3],/' configure.ac || die
+ sed -i -e "s/\[SRD_PKGLIBS\],\$/& [python-${EPYTHON#python}-embed], [python-${EPYTHON#python}],/" configure.ac || die
eautoreconf
}
diff --git a/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild b/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild
index 71b414a4c1ad..e7f21f3ff1e0 100644
--- a/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild
+++ b/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -34,7 +34,7 @@ src_prepare() {
default
# bug #794592
- sed -i -e 's/\[SRD_PKGLIBS\],$/& [python3-embed], [python3],/' configure.ac || die
+ sed -i -e "s/\[SRD_PKGLIBS\],\$/& [python-${EPYTHON#python}-embed], [python-${EPYTHON#python}],/" configure.ac || die
eautoreconf
}