public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:python-soabi-cleanup commit in: dev-libs/libpeas/
@ 2015-11-08  9:08 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2015-11-08  9:08 UTC (permalink / raw
  To: gentoo-commits

commit:     4ce11412abd6c1b1cb7d39aa9234756634d275aa
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  8 08:44:45 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov  8 09:04:43 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ce11412

dev-libs/libpeas: Obtain correct python-config path

Use new python_get_PYTHON_CONFIG API to obtain the correct path to
python-config executable. This forward-fixes compatibility with
ABIFLAGS-enabled Python 3.* versions, and improves readability.

 dev-libs/libpeas/libpeas-1.12.1-r1.ebuild | 2 +-
 dev-libs/libpeas/libpeas-1.14.0-r1.ebuild | 2 +-
 dev-libs/libpeas/libpeas-1.14.0.ebuild    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild b/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild
index 0ed2fe5..96946d1 100644
--- a/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild
+++ b/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild
@@ -55,7 +55,7 @@ src_configure() {
 			"--enable-python${v}"
 			# it is just 'PYTHON' for py3 in the build system
 			"PYTHON${v#3}=${PYTHON}"
-			"PYTHON${v}_CONFIG=${PYTHON}-config"
+			"PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)"
 		)
 	}
 	use python && python_foreach_impl python_configure

diff --git a/dev-libs/libpeas/libpeas-1.14.0-r1.ebuild b/dev-libs/libpeas/libpeas-1.14.0-r1.ebuild
index 3a1d0ad..35d2980 100644
--- a/dev-libs/libpeas/libpeas-1.14.0-r1.ebuild
+++ b/dev-libs/libpeas/libpeas-1.14.0-r1.ebuild
@@ -77,7 +77,7 @@ src_configure() {
 			"--enable-python${v}"
 			# it is just 'PYTHON' for py3 in the build system
 			"PYTHON${v#3}=${PYTHON}"
-			"PYTHON${v}_CONFIG=${PYTHON}-config"
+			"PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)"
 		)
 	}
 	use python && python_foreach_impl python_configure

diff --git a/dev-libs/libpeas/libpeas-1.14.0.ebuild b/dev-libs/libpeas/libpeas-1.14.0.ebuild
index fb6958d..57c26f7 100644
--- a/dev-libs/libpeas/libpeas-1.14.0.ebuild
+++ b/dev-libs/libpeas/libpeas-1.14.0.ebuild
@@ -65,7 +65,7 @@ src_configure() {
 			"--enable-python${v}"
 			# it is just 'PYTHON' for py3 in the build system
 			"PYTHON${v#3}=${PYTHON}"
-			"PYTHON${v}_CONFIG=${PYTHON}-config"
+			"PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)"
 		)
 	}
 	use python && python_foreach_impl python_configure


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:python-soabi-cleanup commit in: dev-libs/libpeas/
@ 2015-11-10 17:53 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2015-11-10 17:53 UTC (permalink / raw
  To: gentoo-commits

commit:     9ca6c68fdb188932ef530f6fadf92195196a37b6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  8 08:44:45 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 10 17:40:49 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ca6c68f

dev-libs/libpeas: Obtain correct python-config path

Use new python_get_PYTHON_CONFIG API to obtain the correct path to
python-config executable. This forward-fixes compatibility with
ABIFLAGS-enabled Python 3.* versions, and improves readability.

 dev-libs/libpeas/libpeas-1.12.1-r1.ebuild | 2 +-
 dev-libs/libpeas/libpeas-1.14.0-r1.ebuild | 2 +-
 dev-libs/libpeas/libpeas-1.14.0.ebuild    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild b/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild
index 0ed2fe5..96946d1 100644
--- a/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild
+++ b/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild
@@ -55,7 +55,7 @@ src_configure() {
 			"--enable-python${v}"
 			# it is just 'PYTHON' for py3 in the build system
 			"PYTHON${v#3}=${PYTHON}"
-			"PYTHON${v}_CONFIG=${PYTHON}-config"
+			"PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)"
 		)
 	}
 	use python && python_foreach_impl python_configure

diff --git a/dev-libs/libpeas/libpeas-1.14.0-r1.ebuild b/dev-libs/libpeas/libpeas-1.14.0-r1.ebuild
index 3a1d0ad..35d2980 100644
--- a/dev-libs/libpeas/libpeas-1.14.0-r1.ebuild
+++ b/dev-libs/libpeas/libpeas-1.14.0-r1.ebuild
@@ -77,7 +77,7 @@ src_configure() {
 			"--enable-python${v}"
 			# it is just 'PYTHON' for py3 in the build system
 			"PYTHON${v#3}=${PYTHON}"
-			"PYTHON${v}_CONFIG=${PYTHON}-config"
+			"PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)"
 		)
 	}
 	use python && python_foreach_impl python_configure

diff --git a/dev-libs/libpeas/libpeas-1.14.0.ebuild b/dev-libs/libpeas/libpeas-1.14.0.ebuild
index fb6958d..57c26f7 100644
--- a/dev-libs/libpeas/libpeas-1.14.0.ebuild
+++ b/dev-libs/libpeas/libpeas-1.14.0.ebuild
@@ -65,7 +65,7 @@ src_configure() {
 			"--enable-python${v}"
 			# it is just 'PYTHON' for py3 in the build system
 			"PYTHON${v#3}=${PYTHON}"
-			"PYTHON${v}_CONFIG=${PYTHON}-config"
+			"PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)"
 		)
 	}
 	use python && python_foreach_impl python_configure


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-10 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-10 17:53 [gentoo-commits] repo/gentoo:python-soabi-cleanup commit in: dev-libs/libpeas/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2015-11-08  9:08 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox