app-vim/llvm-vim -> sys-devel/llvm-common
authorMichał Górny <mgorny@gentoo.org>
Sun, 2 Jul 2017 18:09:35 +0000 (20:09 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 2 Jul 2017 18:22:09 +0000 (20:22 +0200)
Rename llvm-vim package to llvm-common. It is going to be reused to
include all the common files that are shared between multiple LLVM
slots. This should also cut the pointless noise of our valuable users
complaining that LLVM unconditionally depends on app-vim/* package.

profiles/updates/3Q-2017 [new file with mode: 0644]
sys-devel/llvm-common/Manifest [moved from app-vim/llvm-vim/Manifest with 100% similarity]
sys-devel/llvm-common/llvm-common-4.0.0.ebuild [moved from app-vim/llvm-vim/llvm-vim-4.0.0.ebuild with 62% similarity]
sys-devel/llvm-common/llvm-common-4.0.1.ebuild [moved from app-vim/llvm-vim/llvm-vim-4.0.1.ebuild with 62% similarity]
sys-devel/llvm-common/llvm-common-9999.ebuild [moved from app-vim/llvm-vim/llvm-vim-9999.ebuild with 66% similarity]
sys-devel/llvm-common/metadata.xml [moved from app-vim/llvm-vim/metadata.xml with 100% similarity]
sys-devel/llvm/llvm-4.0.0-r2.ebuild
sys-devel/llvm/llvm-4.0.1.ebuild
sys-devel/llvm/llvm-9999.ebuild

diff --git a/profiles/updates/3Q-2017 b/profiles/updates/3Q-2017
new file mode 100644 (file)
index 0000000..a7574b9
--- /dev/null
@@ -0,0 +1 @@
+move app-vim/llvm-vim sys-devel/llvm-common
similarity index 62%
rename from app-vim/llvm-vim/llvm-vim-4.0.0.ebuild
rename to sys-devel/llvm-common/llvm-common-4.0.0.ebuild
index bd68c2ceeccb28c2089ce3141ba5937b2934713d..d307094d751bf4a84d9824f25db7bd0d881cf53e 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-DESCRIPTION="Vim support files for LLVM"
+DESCRIPTION="Common files shared between multiple slots of LLVM"
 HOMEPAGE="http://llvm.org/"
 SRC_URI="http://releases.llvm.org/${PV/_//}/llvm-${PV/_/}.src.tar.xz"
 
@@ -14,11 +14,16 @@ IUSE=""
 
 RDEPEND="!sys-devel/llvm:0"
 
-S=${WORKDIR}/llvm-${PV/_/}.src/utils/vim
+S=${WORKDIR}/llvm-${PV/_/}.src
+
+src_configure() { :; }
+src_compile() { :; }
+src_test() { :; }
 
 src_install() {
        insinto /usr/share/vim/vimfiles
-       doins -r */
+       doins -r utils/vim/*/
        # some users may find it useful
-       dodoc README vimrc
+       newdoc utils/vim/README README.vim
+       dodoc utils/vim/vimrc
 }
similarity index 62%
rename from app-vim/llvm-vim/llvm-vim-4.0.1.ebuild
rename to sys-devel/llvm-common/llvm-common-4.0.1.ebuild
index bd68c2ceeccb28c2089ce3141ba5937b2934713d..d307094d751bf4a84d9824f25db7bd0d881cf53e 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-DESCRIPTION="Vim support files for LLVM"
+DESCRIPTION="Common files shared between multiple slots of LLVM"
 HOMEPAGE="http://llvm.org/"
 SRC_URI="http://releases.llvm.org/${PV/_//}/llvm-${PV/_/}.src.tar.xz"
 
@@ -14,11 +14,16 @@ IUSE=""
 
 RDEPEND="!sys-devel/llvm:0"
 
-S=${WORKDIR}/llvm-${PV/_/}.src/utils/vim
+S=${WORKDIR}/llvm-${PV/_/}.src
+
+src_configure() { :; }
+src_compile() { :; }
+src_test() { :; }
 
 src_install() {
        insinto /usr/share/vim/vimfiles
-       doins -r */
+       doins -r utils/vim/*/
        # some users may find it useful
-       dodoc README vimrc
+       newdoc utils/vim/README README.vim
+       dodoc utils/vim/vimrc
 }
similarity index 66%
rename from app-vim/llvm-vim/llvm-vim-9999.ebuild
rename to sys-devel/llvm-common/llvm-common-9999.ebuild
index 0ac1dde4ca84263ae3e80e6405702091110938ae..75124672bd72eae28c884b429aeb7a8a8739d23f 100644 (file)
@@ -5,7 +5,7 @@ EAPI=6
 
 inherit git-r3
 
-DESCRIPTION="Vim support files for LLVM"
+DESCRIPTION="Common files shared between multiple slots of LLVM"
 HOMEPAGE="http://llvm.org/"
 SRC_URI=""
 EGIT_REPO_URI="http://llvm.org/git/llvm.git
@@ -18,11 +18,14 @@ IUSE=""
 
 RDEPEND="!sys-devel/llvm:0"
 
-S=${WORKDIR}/${P}/utils/vim
+src_configure() { :; }
+src_compile() { :; }
+src_test() { :; }
 
 src_install() {
        insinto /usr/share/vim/vimfiles
-       doins -r */
+       doins -r utils/vim/*/
        # some users may find it useful
-       dodoc README vimrc
+       newdoc utils/vim/README README.vim
+       dodoc utils/vim/vimrc
 }
index e599e21fc6e13a7286d9d817e94dcc07cd77237f..0ffd1b669de287e352a4094260ca251a3411aa67 100644 (file)
@@ -60,7 +60,7 @@ DEPEND="${RDEPEND}
 # installed means llvm-config there will take precedence.
 RDEPEND="${RDEPEND}
        !sys-devel/llvm:0"
-PDEPEND="app-vim/llvm-vim
+PDEPEND="sys-devel/llvm-common
        gold? ( sys-devel/llvmgold )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
index 6c93c3a8f1b15ddf5cfc1882e7bfffd9040809ca..e0f1f16e0ff6f7f03275aba80cdbbd6f1e327628 100644 (file)
@@ -60,7 +60,7 @@ DEPEND="${RDEPEND}
 # installed means llvm-config there will take precedence.
 RDEPEND="${RDEPEND}
        !sys-devel/llvm:0"
-PDEPEND="app-vim/llvm-vim
+PDEPEND="sys-devel/llvm-common
        gold? ( sys-devel/llvmgold )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
index 99121e917a0934100c1b2609d8d647dff407eb2b..daa98381996b7100c1657425f3767a4d6722a65a 100644 (file)
@@ -61,7 +61,7 @@ DEPEND="${RDEPEND}
 # installed means llvm-config there will take precedence.
 RDEPEND="${RDEPEND}
        !sys-devel/llvm:0"
-PDEPEND="app-vim/llvm-vim
+PDEPEND="sys-devel/llvm-common
        gold? ( sys-devel/llvmgold )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}