commit:     15761c4aa2e39fe6568f6e31107e930a0b749abe
Author:     Ben de Groot <yngwin <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 19 20:43:50 2015 +0000
Commit:     Ben de Groot <yngwin <AT> gentoo <DOT> org>
CommitDate: Thu Feb 19 20:43:50 2015 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=dev/yngwin.git;a=commit;h=15761c4a

app-editors/neovim: add snapshot

---
 app-editors/neovim/Manifest                        |  1 +
 ...9999.ebuild => neovim-0.0.0_pre20150220.ebuild} | 27 ++++++++++++++--------
 app-editors/neovim/neovim-9999.ebuild              | 27 ++++++++++++++--------
 3 files changed, 37 insertions(+), 18 deletions(-)

diff --git a/app-editors/neovim/Manifest b/app-editors/neovim/Manifest
new file mode 100644
index 0000000..f1f5853
--- /dev/null
+++ b/app-editors/neovim/Manifest
@@ -0,0 +1 @@
+DIST neovim-0.0.0_pre20150220.tar.gz 7369794 SHA256 
78b38d4f0e78b9438f54405aceea717dc08dd5e80d69996654bb2042a829351d SHA512 
a9045b22e5e7c60d9a735c05d3a82002a92bc2305453b12b37d6f0f9f3c7317399e414b3606a4f34cc9c92080d32a299a6105560a860cda667c85dbe6a03a204
 WHIRLPOOL 
aedd27ed23640362cbf8b4f7daa9182465397122e9e8a0b8af0e2b7adb9a8028fee1515745e9574d62c0f6256a0e842125f5688a4c185b4a1436410d032d2bc8

diff --git a/app-editors/neovim/neovim-9999.ebuild 
b/app-editors/neovim/neovim-0.0.0_pre20150220.ebuild
similarity index 52%
copy from app-editors/neovim/neovim-9999.ebuild
copy to app-editors/neovim/neovim-0.0.0_pre20150220.ebuild
index 1266105..0580e56 100644
--- a/app-editors/neovim/neovim-9999.ebuild
+++ b/app-editors/neovim/neovim-0.0.0_pre20150220.ebuild
@@ -1,31 +1,40 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI=5
-inherit cmake-utils flag-o-matic git-r3
+inherit cmake-utils flag-o-matic
 
 DESCRIPTION="Vim's rebirth for the 21st century"
 HOMEPAGE="https://github.com/neovim/neovim";
-EGIT_REPO_URI="git://github.com/neovim/neovim.git"
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="git://github.com/neovim/neovim.git"
+       KEYWORDS=""
+else
+       inherit vcs-snapshot
+       COMMIT="866da6d65e5078ac5aa91af5b4e78caf07853379"
+       SRC_URI="https://github.com/${PN}/${PN}/tarball/${COMMIT} -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
 
 LICENSE="Apache-2.0 vim"
 SLOT="0"
-KEYWORDS=""
-IUSE=""
+IUSE="perl"
 
-RDEPEND="dev-lang/luajit
-       dev-lang/perl
+CDEPEND="dev-lang/luajit
        >=dev-libs/libtermkey-0.17
        >=dev-libs/unibilium-1.1.1
        >=dev-libs/libuv-1.2.0
-       =dev-libs/msgpack-9999*
+       >=dev-libs/msgpack-0.6.0_pre20150220
        dev-lua/LuaBitOp
        dev-lua/lpeg
        dev-lua/lua-MessagePack"
-DEPEND="${RDEPEND}
+DEPEND="${CDEPEND}
        virtual/libiconv
        virtual/libintl"
+RDEPEND="${CDEPEND}
+       perl? ( dev-lang/perl )"
 
 src_configure() {
        append-flags "-Wno-error -DNDEBUG -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1"

diff --git a/app-editors/neovim/neovim-9999.ebuild 
b/app-editors/neovim/neovim-9999.ebuild
index 1266105..0580e56 100644
--- a/app-editors/neovim/neovim-9999.ebuild
+++ b/app-editors/neovim/neovim-9999.ebuild
@@ -1,31 +1,40 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI=5
-inherit cmake-utils flag-o-matic git-r3
+inherit cmake-utils flag-o-matic
 
 DESCRIPTION="Vim's rebirth for the 21st century"
 HOMEPAGE="https://github.com/neovim/neovim";
-EGIT_REPO_URI="git://github.com/neovim/neovim.git"
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="git://github.com/neovim/neovim.git"
+       KEYWORDS=""
+else
+       inherit vcs-snapshot
+       COMMIT="866da6d65e5078ac5aa91af5b4e78caf07853379"
+       SRC_URI="https://github.com/${PN}/${PN}/tarball/${COMMIT} -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
 
 LICENSE="Apache-2.0 vim"
 SLOT="0"
-KEYWORDS=""
-IUSE=""
+IUSE="perl"
 
-RDEPEND="dev-lang/luajit
-       dev-lang/perl
+CDEPEND="dev-lang/luajit
        >=dev-libs/libtermkey-0.17
        >=dev-libs/unibilium-1.1.1
        >=dev-libs/libuv-1.2.0
-       =dev-libs/msgpack-9999*
+       >=dev-libs/msgpack-0.6.0_pre20150220
        dev-lua/LuaBitOp
        dev-lua/lpeg
        dev-lua/lua-MessagePack"
-DEPEND="${RDEPEND}
+DEPEND="${CDEPEND}
        virtual/libiconv
        virtual/libintl"
+RDEPEND="${CDEPEND}
+       perl? ( dev-lang/perl )"
 
 src_configure() {
        append-flags "-Wno-error -DNDEBUG -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1"

Reply via email to