aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2013-09-11 23:22:18 +0200
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2013-09-11 23:22:18 +0200
commitad71b3444750599b88cf145af83a1edd16226976 (patch)
tree67f59d810fc24c4db9b0775a4cdeab20e1703034
parentdohtml: fix DOCDESTTREE path join (diff)
downloadportage-ad71b3444750599b88cf145af83a1edd16226976.tar.gz
portage-ad71b3444750599b88cf145af83a1edd16226976.tar.bz2
portage-ad71b3444750599b88cf145af83a1edd16226976.zip
EAPI="5-progress": Support case-insensitive matching of extensions in unpack().
-rw-r--r--bin/eapi.sh2
-rw-r--r--doc/package/ebuild/eapi/5-progress.docbook6
2 files changed, 7 insertions, 1 deletions
diff --git a/bin/eapi.sh b/bin/eapi.sh
index 5d5b36d8f..623b89fee 100644
--- a/bin/eapi.sh
+++ b/bin/eapi.sh
@@ -135,7 +135,7 @@ ___eapi_disallows_helpers_in_global_scope() {
}
___eapi_unpack_is_case_sensitive() {
- true
+ [[ ${1-${EAPI}} =~ ^(0|1|2|3|4|4-python|4-slot-abi|5|5-hdepend)$ ]]
}
# OTHERS
diff --git a/doc/package/ebuild/eapi/5-progress.docbook b/doc/package/ebuild/eapi/5-progress.docbook
index 5fd623bc0..6493d7e81 100644
--- a/doc/package/ebuild/eapi/5-progress.docbook
+++ b/doc/package/ebuild/eapi/5-progress.docbook
@@ -53,6 +53,12 @@
dohtml by default additionally installs files with .ico, .svg, .xhtml and .xml extensions.
</para>
</section>
+ <section id='package-ebuild-eapi-5-progress-helpers-unpack-case-insensitive'>
+ <title>Case-insensitive matching of extensions in unpack</title>
+ <para>
+ unpack matches extensions case-insensitively.
+ </para>
+ </section>
<section id='package-ebuild-eapi-5-progress-helpers-banned-in-global-scope'>
<title>Helpers Banned in Global Scope</title>
<para>