commit:     791de41777329345ecd658a0adadc9709836d7e9
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 23 15:52:16 2017 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Thu Mar 23 15:52:16 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=791de417

net-libs/liquid-dsp: add live ebuild for testing

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 net-libs/liquid-dsp/liquid-dsp-1.3.0.ebuild                  | 12 ++++++++++--
 .../{liquid-dsp-1.3.0.ebuild => liquid-dsp-9999.ebuild}      | 12 ++++++++++--
 2 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/net-libs/liquid-dsp/liquid-dsp-1.3.0.ebuild 
b/net-libs/liquid-dsp/liquid-dsp-1.3.0.ebuild
index 12ab22a06f3..fcd3127de23 100644
--- a/net-libs/liquid-dsp/liquid-dsp-1.3.0.ebuild
+++ b/net-libs/liquid-dsp/liquid-dsp-1.3.0.ebuild
@@ -7,11 +7,19 @@ inherit autotools multilib
 
 DESCRIPTION="digital signal processing library for software-defined radios"
 HOMEPAGE="http://liquidsdr.org";
-SRC_URI="https://github.com/jgaeddert/liquid-dsp/archive/v1.3.0.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+
+if [ "${PV}" = "9999" ]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/jgaeddert/liquid-dsp.git";
+       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
+       SRC_URI="https://github.com/jgaeddert/liquid-dsp/archive/v1.3.0.tar.gz 
-> ${P}.tar.gz"
+fi
+
 IUSE="static-libs"
 
 DEPEND="sci-libs/fftw:3.0="

diff --git a/net-libs/liquid-dsp/liquid-dsp-1.3.0.ebuild 
b/net-libs/liquid-dsp/liquid-dsp-9999.ebuild
similarity index 76%
copy from net-libs/liquid-dsp/liquid-dsp-1.3.0.ebuild
copy to net-libs/liquid-dsp/liquid-dsp-9999.ebuild
index 12ab22a06f3..fcd3127de23 100644
--- a/net-libs/liquid-dsp/liquid-dsp-1.3.0.ebuild
+++ b/net-libs/liquid-dsp/liquid-dsp-9999.ebuild
@@ -7,11 +7,19 @@ inherit autotools multilib
 
 DESCRIPTION="digital signal processing library for software-defined radios"
 HOMEPAGE="http://liquidsdr.org";
-SRC_URI="https://github.com/jgaeddert/liquid-dsp/archive/v1.3.0.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+
+if [ "${PV}" = "9999" ]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/jgaeddert/liquid-dsp.git";
+       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
+       SRC_URI="https://github.com/jgaeddert/liquid-dsp/archive/v1.3.0.tar.gz 
-> ${P}.tar.gz"
+fi
+
 IUSE="static-libs"
 
 DEPEND="sci-libs/fftw:3.0="

Reply via email to