Skip to content

Commit

Permalink
eclass: Add "live" to PROPERTIES in all live eclasses.
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/233589
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Jul 27, 2019
1 parent f002a10 commit 50ced65
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 6 deletions.
4 changes: 3 additions & 1 deletion eclass/bzr.eclass
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#
# @ECLASS: bzr.eclass
Expand All @@ -21,6 +21,8 @@

EBZR="bzr.eclass"

PROPERTIES+=" live"

if [[ ${EBZR_REPO_URI%%:*} = sftp ]]; then
DEPEND=">=dev-vcs/bzr-2.6.0[sftp]"
else
Expand Down
2 changes: 2 additions & 0 deletions eclass/cvs.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ _CVS_ECLASS=1
# Set this to get a clean copy when updating (passes the
# -C option to cvs update)

PROPERTIES+=" live"

# add cvs to deps
# ssh is used for ext auth
DEPEND="dev-vcs/cvs"
Expand Down
4 changes: 3 additions & 1 deletion eclass/darcs.eclass
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# @ECLASS: darcs.eclass
Expand Down Expand Up @@ -85,6 +85,8 @@ SRC_URI=""

# --- end ebuild-configurable settings ---

PROPERTIES+=" live"

case ${EAPI:-0} in
[0-6]) # no need to care about 5-HDEPEND and similar
DEPEND="dev-vcs/darcs
Expand Down
4 changes: 3 additions & 1 deletion eclass/git-2.eclass
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# @ECLASS: git-2.eclass
Expand All @@ -20,6 +20,8 @@ esac
# This eclass support all EAPIs.
EXPORT_FUNCTIONS src_unpack

PROPERTIES+=" live"

DEPEND="dev-vcs/git"

# @ECLASS-VARIABLE: EGIT_SOURCEDIR
Expand Down
4 changes: 3 additions & 1 deletion eclass/git-r3.eclass
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# @ECLASS: git-r3.eclass
Expand All @@ -25,6 +25,8 @@ EXPORT_FUNCTIONS src_unpack

if [[ ! ${_GIT_R3} ]]; then

PROPERTIES+=" live"

if [[ ! ${_INHERITED_BY_GIT_2} ]]; then
if [[ ${EAPI:-0} != [0123456] ]]; then
BDEPEND=">=dev-vcs/git-1.8.2.1[curl]"
Expand Down
4 changes: 3 additions & 1 deletion eclass/golang-vcs.eclass
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# @ECLASS: golang-vcs.eclass
Expand Down Expand Up @@ -26,6 +26,8 @@ if [[ -z ${_GOLANG_VCS} ]]; then

_GOLANG_VCS=1

PROPERTIES+=" live"

# @ECLASS-VARIABLE: EGO_PN
# @REQUIRED
# @DESCRIPTION:
Expand Down
4 changes: 3 additions & 1 deletion eclass/mercurial.eclass
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# @ECLASS: mercurial.eclass
Expand All @@ -18,6 +18,8 @@ inherit eutils

EXPORT_FUNCTIONS src_unpack

PROPERTIES+=" live"

DEPEND="dev-vcs/mercurial"

# @ECLASS-VARIABLE: EHG_REPO_URI
Expand Down
2 changes: 2 additions & 0 deletions eclass/subversion.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ case ${EAPI:-0} in
;;
esac

PROPERTIES+=" live"

DEPEND="|| (
dev-vcs/subversion[http]
dev-vcs/subversion[webdav-neon]
Expand Down

0 comments on commit 50ced65

Please sign in to comment.