public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: dev-python/kazoo/
@ 2020-09-01  9:07 99% Michał Górny
  0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2020-09-01  9:07 UTC (permalink / raw
  To: gentoo-commits

commit:     e991b99fbd70b9393bc0a8c5a2c56b707203396d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  1 08:57:42 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep  1 09:07:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e991b99f

dev-python/kazoo: Fix passing zookeeper version to tests

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/kazoo/kazoo-2.8.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/kazoo/kazoo-2.8.0.ebuild b/dev-python/kazoo/kazoo-2.8.0.ebuild
index 7fa29ad8c83..781cd47ca65 100644
--- a/dev-python/kazoo/kazoo-2.8.0.ebuild
+++ b/dev-python/kazoo/kazoo-2.8.0.ebuild
@@ -40,7 +40,8 @@ src_prepare() {
 
 src_test() {
 	local pkgver=$(best_version sys-cluster/zookeeper-bin)
-	export ZOOKEEPER_VERSION=${pkgver##*-}
+	pkgver=${pkgver#sys-cluster/zookeeper-bin-}
+	export ZOOKEEPER_VERSION=${pkgver%-r*}
 	export ZOOKEEPER_PATH=${BROOT}/opt/zookeeper-bin
 	distutils-r1_src_test
 }


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-09-01  9:07 99% [gentoo-commits] repo/gentoo:master commit in: dev-python/kazoo/ 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