app-editors/emacs: Move eselect-emacs from DEPEND to BDEPEND.
authorUlrich Müller <ulm@gentoo.org>
Tue, 7 Apr 2020 09:41:16 +0000 (11:41 +0200)
committerUlrich Müller <ulm@gentoo.org>
Tue, 7 Apr 2020 09:41:16 +0000 (11:41 +0200)
Strictly, we would need a CBUILD type install dependency (IDEPEND),
which cannot be expressed in EAPI 7.

Bug: https://bugs.gentoo.org/716334
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
app-editors/emacs/emacs-18.59-r12.ebuild
app-editors/emacs/emacs-23.4-r18.ebuild
app-editors/emacs/emacs-24.5-r7.ebuild
app-editors/emacs/emacs-25.3-r6.ebuild
app-editors/emacs/emacs-26.3-r1.ebuild
app-editors/emacs/emacs-27.0.50_pre20191223.ebuild
app-editors/emacs/emacs-27.0.90.ebuild
app-editors/emacs/emacs-27.0.9999-r1.ebuild
app-editors/emacs/emacs-28.0.9999.ebuild

index a159d36119012c72c486db85cc07e9bc1549c80c..964b14b1384ebdb1d1506a77e7c240542929274f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,8 +16,7 @@ SLOT="18"
 KEYWORDS="amd64 x86"
 IUSE="abi_x86_x32 X"
 
-RDEPEND=">=app-eselect/eselect-emacs-1.16
-       sys-libs/ncurses:0=
+RDEPEND="sys-libs/ncurses:0=
        amd64? (
                abi_x86_x32? ( >=sys-libs/ncurses-5.9-r3:0=[abi_x86_x32(-)?] )
                !abi_x86_x32? ( >=sys-libs/ncurses-5.9-r3:0=[abi_x86_32(-)] )
@@ -29,7 +28,12 @@ DEPEND="${RDEPEND}
                x11-base/xorg-proto
                x11-misc/xbitmaps
        )"
-BDEPEND="virtual/pkgconfig"
+
+BDEPEND="app-eselect/eselect-emacs
+       virtual/pkgconfig"
+
+RDEPEND="${RDEPEND}
+       app-eselect/eselect-emacs"
 
 PATCHES="../${P}-linux22x-elf-glibc21.diff ../patch"
 
index 4aab27ec79b5ae8136782dbbbf579114f53d3ea2..ea117e496500177f1c2219294c017d7eecbd38dc 100644 (file)
@@ -17,10 +17,9 @@ KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~
 IUSE="alsa aqua athena dbus games gconf gif gpm gtk gzip-el jpeg kerberos livecd m17n-lib motif png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
 REQUIRED_USE="?? ( aqua X )"
 
-RDEPEND="sys-libs/ncurses:0=
-       >=app-eselect/eselect-emacs-1.16
-       >=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+RDEPEND=">=app-emacs/emacs-common-gentoo-1.5[games?,X?]
        net-libs/liblockfile
+       sys-libs/ncurses:0=
        kerberos? ( virtual/krb5 )
        alsa? ( media-libs/alsa-lib )
        games? ( acct-group/gamestat )
@@ -77,11 +76,15 @@ RDEPEND="sys-libs/ncurses:0=
 DEPEND="${RDEPEND}
        X? ( x11-base/xorg-proto )"
 
-BDEPEND="alsa? ( virtual/pkgconfig )
+BDEPEND="app-eselect/eselect-emacs
+       alsa? ( virtual/pkgconfig )
        dbus? ( virtual/pkgconfig )
        X? ( virtual/pkgconfig )
        gzip-el? ( app-arch/gzip )"
 
+RDEPEND="${RDEPEND}
+       app-eselect/eselect-emacs"
+
 EMACS_SUFFIX="emacs-${SLOT}"
 SITEFILE="20${EMACS_SUFFIX}-gentoo.el"
 # FULL_VERSION keeps the full version number, which is needed in
index 512842a73404a66b676066124a94d05a316b9384..7393476a40c2766cb2cdfeb0d2b4aa67313c86a6 100644 (file)
@@ -16,10 +16,9 @@ KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~amd64-linux
 IUSE="acl alsa aqua athena dbus games gconf gfile gif gpm gsettings gtk gtk2 gzip-el imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
 REQUIRED_USE="?? ( aqua X )"
 
-RDEPEND="sys-libs/ncurses:0=
-       >=app-eselect/eselect-emacs-1.16
-       >=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+RDEPEND=">=app-emacs/emacs-common-gentoo-1.5[games?,X?]
        net-libs/liblockfile
+       sys-libs/ncurses:0=
        acl? ( virtual/acl )
        alsa? ( media-libs/alsa-lib )
        dbus? ( sys-apps/dbus )
@@ -87,9 +86,13 @@ RDEPEND="sys-libs/ncurses:0=
 DEPEND="${RDEPEND}
        X? ( x11-base/xorg-proto )"
 
-BDEPEND="virtual/pkgconfig
+BDEPEND="app-eselect/eselect-emacs
+       virtual/pkgconfig
        gzip-el? ( app-arch/gzip )"
 
+RDEPEND="${RDEPEND}
+       app-eselect/eselect-emacs"
+
 EMACS_SUFFIX="emacs-${SLOT}"
 SITEFILE="20${EMACS_SUFFIX}-gentoo.el"
 # FULL_VERSION keeps the full version number, which is needed in
index 387511dfb19ecc612effbd4787a0ecef302efdab..72d0e9f627962d706fccc6ec837a24ac47250ce5 100644 (file)
@@ -16,10 +16,9 @@ KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 sparc x86 ~a
 IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk gtk2 gzip-el imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
 REQUIRED_USE="?? ( aqua X )"
 
-RDEPEND="sys-libs/ncurses:0=
-       >=app-eselect/eselect-emacs-1.16
-       >=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+RDEPEND=">=app-emacs/emacs-common-gentoo-1.5[games?,X?]
        net-libs/liblockfile
+       sys-libs/ncurses:0=
        acl? ( virtual/acl )
        alsa? ( media-libs/alsa-lib )
        dbus? ( sys-apps/dbus )
@@ -90,11 +89,13 @@ RDEPEND="sys-libs/ncurses:0=
 DEPEND="${RDEPEND}
        X? ( x11-base/xorg-proto )"
 
-BDEPEND="virtual/pkgconfig
+BDEPEND="app-eselect/eselect-emacs
+       virtual/pkgconfig
        gzip-el? ( app-arch/gzip )"
 
 RDEPEND="${RDEPEND}
-       !<app-editors/emacs-vcs-${PV}"
+       !<app-editors/emacs-vcs-${PV}
+       app-eselect/eselect-emacs"
 
 EMACS_SUFFIX="emacs-${SLOT}"
 SITEFILE="20${EMACS_SUFFIX}-gentoo.el"
index 05e23550126429998ccdb57436cd354fe82bbbdf..22c804c1e0500e4ff681957c851934389ee83a93 100644 (file)
@@ -15,9 +15,8 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~a
 IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk gtk2 gzip-el imagemagick +inotify jpeg kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
 REQUIRED_USE="?? ( aqua X )"
 
-RDEPEND="sys-libs/ncurses:0=
-       >=app-eselect/eselect-emacs-1.16
-       >=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+RDEPEND=">=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+       sys-libs/ncurses:0=
        acl? ( virtual/acl )
        alsa? ( media-libs/alsa-lib )
        dbus? ( sys-apps/dbus )
@@ -98,11 +97,13 @@ RDEPEND="sys-libs/ncurses:0=
 DEPEND="${RDEPEND}
        X? ( x11-base/xorg-proto )"
 
-BDEPEND="virtual/pkgconfig
+BDEPEND="app-eselect/eselect-emacs
+       virtual/pkgconfig
        gzip-el? ( app-arch/gzip )"
 
 RDEPEND="${RDEPEND}
-       !<app-editors/emacs-vcs-${PV}"
+       !<app-editors/emacs-vcs-${PV}
+       app-eselect/eselect-emacs"
 
 EMACS_SUFFIX="emacs-${SLOT}"
 SITEFILE="20${EMACS_SUFFIX}-gentoo.el"
index 751e10677ef1ab51b646fd08f292f95802b15d57..c6db7de6525f99260142443ac8ced9fce4236af9 100644 (file)
@@ -32,9 +32,8 @@ IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp
 REQUIRED_USE="?? ( aqua X )"
 RESTRICT="test"
 
-RDEPEND="sys-libs/ncurses:0=
-       >=app-eselect/eselect-emacs-1.16
-       >=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+RDEPEND=">=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+       sys-libs/ncurses:0=
        acl? ( virtual/acl )
        alsa? ( media-libs/alsa-lib )
        dbus? ( sys-apps/dbus )
@@ -118,12 +117,14 @@ RDEPEND="sys-libs/ncurses:0=
 DEPEND="${RDEPEND}
        X? ( x11-base/xorg-proto )"
 
-BDEPEND="sys-apps/texinfo
+BDEPEND="app-eselect/eselect-emacs
+       sys-apps/texinfo
        virtual/pkgconfig
        gzip-el? ( app-arch/gzip )"
 
 RDEPEND="${RDEPEND}
-       !app-editors/emacs-vcs:27"
+       !app-editors/emacs-vcs:27
+       app-eselect/eselect-emacs"
 
 EMACS_SUFFIX="emacs-${SLOT}"
 SITEFILE="20${EMACS_SUFFIX}-gentoo.el"
index e186f82ec1a12376392e10dfbc539edf707cec6a..b006e62dabaedd882f0bc9211c99da404e02b8b3 100644 (file)
@@ -32,9 +32,8 @@ IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp
 REQUIRED_USE="?? ( aqua X )"
 RESTRICT="test"
 
-RDEPEND="sys-libs/ncurses:0=
-       >=app-eselect/eselect-emacs-1.16
-       >=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+RDEPEND=">=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+       sys-libs/ncurses:0=
        acl? ( virtual/acl )
        alsa? ( media-libs/alsa-lib )
        dbus? ( sys-apps/dbus )
@@ -118,12 +117,14 @@ RDEPEND="sys-libs/ncurses:0=
 DEPEND="${RDEPEND}
        X? ( x11-base/xorg-proto )"
 
-BDEPEND="sys-apps/texinfo
+BDEPEND="app-eselect/eselect-emacs
+       sys-apps/texinfo
        virtual/pkgconfig
        gzip-el? ( app-arch/gzip )"
 
 RDEPEND="${RDEPEND}
-       !app-editors/emacs-vcs:27"
+       !app-editors/emacs-vcs:27
+       app-eselect/eselect-emacs"
 
 EMACS_SUFFIX="emacs-${SLOT}"
 SITEFILE="20${EMACS_SUFFIX}-gentoo.el"
index e186f82ec1a12376392e10dfbc539edf707cec6a..b006e62dabaedd882f0bc9211c99da404e02b8b3 100644 (file)
@@ -32,9 +32,8 @@ IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp
 REQUIRED_USE="?? ( aqua X )"
 RESTRICT="test"
 
-RDEPEND="sys-libs/ncurses:0=
-       >=app-eselect/eselect-emacs-1.16
-       >=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+RDEPEND=">=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+       sys-libs/ncurses:0=
        acl? ( virtual/acl )
        alsa? ( media-libs/alsa-lib )
        dbus? ( sys-apps/dbus )
@@ -118,12 +117,14 @@ RDEPEND="sys-libs/ncurses:0=
 DEPEND="${RDEPEND}
        X? ( x11-base/xorg-proto )"
 
-BDEPEND="sys-apps/texinfo
+BDEPEND="app-eselect/eselect-emacs
+       sys-apps/texinfo
        virtual/pkgconfig
        gzip-el? ( app-arch/gzip )"
 
 RDEPEND="${RDEPEND}
-       !app-editors/emacs-vcs:27"
+       !app-editors/emacs-vcs:27
+       app-eselect/eselect-emacs"
 
 EMACS_SUFFIX="emacs-${SLOT}"
 SITEFILE="20${EMACS_SUFFIX}-gentoo.el"
index ee203156341d481772435c3a544abe9aaba2c9c2..462168b70483ab54340a83dcaf024406a128ac12 100644 (file)
@@ -32,9 +32,8 @@ IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp
 REQUIRED_USE="?? ( aqua X )"
 RESTRICT="test"
 
-RDEPEND="sys-libs/ncurses:0=
-       >=app-eselect/eselect-emacs-1.16
-       >=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+RDEPEND=">=app-emacs/emacs-common-gentoo-1.5[games?,X?]
+       sys-libs/ncurses:0=
        acl? ( virtual/acl )
        alsa? ( media-libs/alsa-lib )
        dbus? ( sys-apps/dbus )
@@ -118,10 +117,14 @@ RDEPEND="sys-libs/ncurses:0=
 DEPEND="${RDEPEND}
        X? ( x11-base/xorg-proto )"
 
-BDEPEND="sys-apps/texinfo
+BDEPEND="app-eselect/eselect-emacs
+       sys-apps/texinfo
        virtual/pkgconfig
        gzip-el? ( app-arch/gzip )"
 
+RDEPEND="${RDEPEND}
+       app-eselect/eselect-emacs"
+
 EMACS_SUFFIX="emacs-${SLOT}"
 SITEFILE="20${EMACS_SUFFIX}-gentoo.el"