Skip to content

Commit

Permalink
git-2.eclass: Ban for EAPI=6
Browse files Browse the repository at this point in the history
Ban deprecated git-2.eclass to avoid it being accidentally enabled for
EAPI=6.
  • Loading branch information
mgorny committed Nov 13, 2015
1 parent 7ebd9fe commit 5c2c9f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eclass/git-2.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
#
# This eclass is DEPRECATED. Please use git-r3 instead.

if [[ ${EAPI} == 6 ]]; then
die "${ECLASS}.eclass is banned in EAPI ${EAPI}"
fi

# This eclass support all EAPIs
EXPORT_FUNCTIONS src_unpack

Expand Down

0 comments on commit 5c2c9f5

Please sign in to comment.