summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen2014-03-08 22:58:07 (GMT)
committereroen2014-03-08 23:44:44 (GMT)
commit9f1f4593e68a4c2325d024551461436985f3bcbd (patch)
tree8cbf5327f4557df126758e06d8bf7e335bc54232
parentad3088eff4a0b7062260f80695c6acf7e8efaac5 (diff)
downloaderoen-overlay-9f1f4593e68a4c2325d024551461436985f3bcbd.tar.gz
eroen-overlay-9f1f4593e68a4c2325d024551461436985f3bcbd.tar.bz2
eroen-overlay-9f1f4593e68a4c2325d024551461436985f3bcbd.tar.xz
isso - make ${PN}_LIVE_REPO} work
-rw-r--r--www-apps/isso/isso-9999.ebuild20
1 files changed, 12 insertions, 8 deletions
diff --git a/www-apps/isso/isso-9999.ebuild b/www-apps/isso/isso-9999.ebuild
index e6ccb57..a9dc4b5 100644
--- a/www-apps/isso/isso-9999.ebuild
+++ b/www-apps/isso/isso-9999.ebuild
@@ -77,9 +77,10 @@ pkg_setup() {
src_fetch() {
if [[ ${PV} == *9999* ]]; then
git-r3_src_fetch
- for EGIT_REPO_URI in "${JS_REPO_URIS[@]}"; do
+ for EGIT_REPO_URI in "${JS_REPO_URIS[@]}"; do (
+ unset ${PN}_LIVE_REPO
git-r3_src_fetch
- done
+ ); done
else
default
fi
@@ -88,9 +89,10 @@ src_fetch() {
src_unpack() {
if [[ ${PV} == *9999* ]]; then
git-r3_src_unpack
- for EGIT_REPO_URI in "${JS_REPO_URIS[@]}"; do
+ for EGIT_REPO_URI in "${JS_REPO_URIS[@]}"; do (
+ unset ${PN}_LIVE_REPO;
EGIT_CHECKOUT_DIR=${WORKDIR}/${EGIT_REPO_URI##*/} git-r3_src_unpack
- done
+ ); done
mkdir -p "${S}"/isso/js/components/{requirejs-text,almond} || die
cp "${WORKDIR}"/text.git/text.js "${S}"/isso/js/components/requirejs-text/ || die
cp "${WORKDIR}"/almond.git/almond.js "${S}"/isso/js/components/almond/ || die
@@ -137,11 +139,13 @@ python_compile_all() {
python_test() {
if [[ ${PV} == *9999* ]]; then
# doctests fail, require https://github.com/gnublade/doctest-ignore-unicode
- nosetests --with-coverage \
- --cover-package=isso --cover-html isso/ specs/ \
+ nosetests \
+ --with-coverage --cover-package=isso \
+ isso/ specs/ \
|| die "tests failed"
- #nosetests --with-doctest --with-doctest-ignore-unicode --with-coverage \
- # --cover-package=isso --cover-html isso/ specs/ \
+ #nosetests --with-doctest --with-doctest-ignore-unicode \
+ # --with-coverage --cover-package=isso \
+ # isso/ specs/ \
# || die "tests failed"
fi
}