From f8527e2b19b62a25d2fc0c4f68e38db1010b7f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 2 Jul 2017 20:09:35 +0200 Subject: [PATCH] app-vim/llvm-vim -> sys-devel/llvm-common 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 | 1 + .../llvm-vim => sys-devel/llvm-common}/Manifest | 0 .../llvm-common/llvm-common-4.0.0.ebuild | 13 +++++++++---- .../llvm-common/llvm-common-4.0.1.ebuild | 13 +++++++++---- .../llvm-common/llvm-common-9999.ebuild | 11 +++++++---- .../llvm-vim => sys-devel/llvm-common}/metadata.xml | 0 sys-devel/llvm/llvm-4.0.0-r2.ebuild | 2 +- sys-devel/llvm/llvm-4.0.1.ebuild | 2 +- sys-devel/llvm/llvm-9999.ebuild | 2 +- 9 files changed, 29 insertions(+), 15 deletions(-) create mode 100644 profiles/updates/3Q-2017 rename {app-vim/llvm-vim => sys-devel/llvm-common}/Manifest (100%) rename app-vim/llvm-vim/llvm-vim-4.0.0.ebuild => sys-devel/llvm-common/llvm-common-4.0.0.ebuild (62%) rename app-vim/llvm-vim/llvm-vim-4.0.1.ebuild => sys-devel/llvm-common/llvm-common-4.0.1.ebuild (62%) rename app-vim/llvm-vim/llvm-vim-9999.ebuild => sys-devel/llvm-common/llvm-common-9999.ebuild (66%) rename {app-vim/llvm-vim => sys-devel/llvm-common}/metadata.xml (100%) diff --git a/profiles/updates/3Q-2017 b/profiles/updates/3Q-2017 new file mode 100644 index 0000000000000..a7574b919eef9 --- /dev/null +++ b/profiles/updates/3Q-2017 @@ -0,0 +1 @@ +move app-vim/llvm-vim sys-devel/llvm-common diff --git a/app-vim/llvm-vim/Manifest b/sys-devel/llvm-common/Manifest similarity index 100% rename from app-vim/llvm-vim/Manifest rename to sys-devel/llvm-common/Manifest diff --git a/app-vim/llvm-vim/llvm-vim-4.0.0.ebuild b/sys-devel/llvm-common/llvm-common-4.0.0.ebuild 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 bd68c2ceeccb2..d307094d751bf 100644 --- a/app-vim/llvm-vim/llvm-vim-4.0.0.ebuild +++ b/sys-devel/llvm-common/llvm-common-4.0.0.ebuild @@ -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 } diff --git a/app-vim/llvm-vim/llvm-vim-4.0.1.ebuild b/sys-devel/llvm-common/llvm-common-4.0.1.ebuild 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 bd68c2ceeccb2..d307094d751bf 100644 --- a/app-vim/llvm-vim/llvm-vim-4.0.1.ebuild +++ b/sys-devel/llvm-common/llvm-common-4.0.1.ebuild @@ -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 } diff --git a/app-vim/llvm-vim/llvm-vim-9999.ebuild b/sys-devel/llvm-common/llvm-common-9999.ebuild similarity index 66% rename from app-vim/llvm-vim/llvm-vim-9999.ebuild rename to sys-devel/llvm-common/llvm-common-9999.ebuild index 0ac1dde4ca842..75124672bd72e 100644 --- a/app-vim/llvm-vim/llvm-vim-9999.ebuild +++ b/sys-devel/llvm-common/llvm-common-9999.ebuild @@ -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 } diff --git a/app-vim/llvm-vim/metadata.xml b/sys-devel/llvm-common/metadata.xml similarity index 100% rename from app-vim/llvm-vim/metadata.xml rename to sys-devel/llvm-common/metadata.xml diff --git a/sys-devel/llvm/llvm-4.0.0-r2.ebuild b/sys-devel/llvm/llvm-4.0.0-r2.ebuild index e599e21fc6e13..0ffd1b669de28 100644 --- a/sys-devel/llvm/llvm-4.0.0-r2.ebuild +++ b/sys-devel/llvm/llvm-4.0.0-r2.ebuild @@ -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} diff --git a/sys-devel/llvm/llvm-4.0.1.ebuild b/sys-devel/llvm/llvm-4.0.1.ebuild index 6c93c3a8f1b15..e0f1f16e0ff6f 100644 --- a/sys-devel/llvm/llvm-4.0.1.ebuild +++ b/sys-devel/llvm/llvm-4.0.1.ebuild @@ -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} diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild index 99121e917a093..daa98381996b7 100644 --- a/sys-devel/llvm/llvm-9999.ebuild +++ b/sys-devel/llvm/llvm-9999.ebuild @@ -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}