From: Justin Lecher Date: Fri, 22 Jan 2016 19:00:56 +0000 (+0100) Subject: dev-lang/mercury: Use ecvs_clean to clean workdir X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=0dbd28d2e94105b4faaea44fc578ecbc8874efb4;p=gentoo.git dev-lang/mercury: Use ecvs_clean to clean workdir * add missing die Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher --- diff --git a/dev-lang/mercury/mercury-11.01.ebuild b/dev-lang/mercury/mercury-11.01.ebuild index bb7c875926c4..f8f9bc74e90d 100644 --- a/dev-lang/mercury/mercury-11.01.ebuild +++ b/dev-lang/mercury/mercury-11.01.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -36,7 +36,7 @@ TESTDIR="${WORKDIR}"/${PN}-tests-${PV} SITEFILE=50${PN}-gentoo.el src_prepare() { - cd "${WORKDIR}" + cd "${WORKDIR}" || die EPATCH_FORCE=yes EPATCH_SUFFIX=patch epatch "${WORKDIR}"/${PV} @@ -49,7 +49,7 @@ src_prepare() { epatch "${WORKDIR}"/${PV}-tests fi - cd "${S}" + cd "${S}" || die eautoconf } @@ -132,7 +132,7 @@ src_test() { TWS="${S}" fi - cd "${TESTDIR}" + cd "${TESTDIR}" || die sed -i -e "s:@WORKSPACE@:${TWS}:" WS_FLAGS.ws \ || die "sed WORKSPACE failed" @@ -202,8 +202,7 @@ src_install() { doins -r samples/java_interface || die fi - rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \ - -name CVS -o -name .cvsignore) + ecvs_clean "${D}"/usr/share/doc/${PF}/samples fi } diff --git a/dev-lang/mercury/mercury-11.07.1.ebuild b/dev-lang/mercury/mercury-11.07.1.ebuild index fbc3732e2913..f143a22674d5 100644 --- a/dev-lang/mercury/mercury-11.07.1.ebuild +++ b/dev-lang/mercury/mercury-11.07.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -36,7 +36,7 @@ TESTDIR="${WORKDIR}"/${PN}-tests-${PV} SITEFILE=50${PN}-gentoo.el src_prepare() { - cd "${WORKDIR}" + cd "${WORKDIR}" || die EPATCH_FORCE=yes EPATCH_SUFFIX=patch epatch "${WORKDIR}"/${PV} @@ -49,7 +49,7 @@ src_prepare() { epatch "${WORKDIR}"/${PV}-tests fi - cd "${S}" + cd "${S}" || die eautoconf } @@ -132,7 +132,7 @@ src_test() { TWS="${S}" fi - cd "${TESTDIR}" + cd "${TESTDIR}" || die sed -i -e "s:@WORKSPACE@:${TWS}:" WS_FLAGS.ws \ || die "sed WORKSPACE failed" @@ -202,8 +202,7 @@ src_install() { doins -r samples/java_interface || die fi - rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \ - -name CVS -o -name .cvsignore) + ecvs_clean "${D}"/usr/share/doc/${PF}/samples fi } diff --git a/dev-lang/mercury/mercury-11.07.2.ebuild b/dev-lang/mercury/mercury-11.07.2.ebuild index 9d8b6487a7e2..74cb440ab3c2 100644 --- a/dev-lang/mercury/mercury-11.07.2.ebuild +++ b/dev-lang/mercury/mercury-11.07.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -36,7 +36,7 @@ TESTDIR="${WORKDIR}"/${PN}-tests-${PV} SITEFILE=50${PN}-gentoo.el src_prepare() { - cd "${WORKDIR}" + cd "${WORKDIR}" || die EPATCH_FORCE=yes EPATCH_SUFFIX=patch epatch "${WORKDIR}"/${PV} @@ -49,7 +49,7 @@ src_prepare() { epatch "${WORKDIR}"/${PV}-tests fi - cd "${S}" + cd "${S}" || die eautoconf } @@ -132,7 +132,7 @@ src_test() { TWS="${S}" fi - cd "${TESTDIR}" + cd "${TESTDIR}" || die sed -i -e "s:@WORKSPACE@:${TWS}:" WS_FLAGS.ws \ || die "sed WORKSPACE failed" @@ -202,8 +202,7 @@ src_install() { doins -r samples/java_interface || die fi - rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \ - -name CVS -o -name .cvsignore) + ecvs_clean "${D}"/usr/share/doc/${PF}/samples fi } diff --git a/dev-lang/mercury/mercury-11.07.ebuild b/dev-lang/mercury/mercury-11.07.ebuild index 2792e67fc652..6883d4424fce 100644 --- a/dev-lang/mercury/mercury-11.07.ebuild +++ b/dev-lang/mercury/mercury-11.07.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -36,7 +36,7 @@ TESTDIR="${WORKDIR}"/${PN}-tests-${PV} SITEFILE=50${PN}-gentoo.el src_prepare() { - cd "${WORKDIR}" + cd "${WORKDIR}" || die EPATCH_FORCE=yes EPATCH_SUFFIX=patch epatch "${WORKDIR}"/${PV} @@ -49,7 +49,7 @@ src_prepare() { epatch "${WORKDIR}"/${PV}-tests fi - cd "${S}" + cd "${S}" || die eautoconf } @@ -132,7 +132,7 @@ src_test() { TWS="${S}" fi - cd "${TESTDIR}" + cd "${TESTDIR}" || die sed -i -e "s:@WORKSPACE@:${TWS}:" WS_FLAGS.ws \ || die "sed WORKSPACE failed" @@ -202,8 +202,7 @@ src_install() { doins -r samples/java_interface || die fi - rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \ - -name CVS -o -name .cvsignore) + ecvs_clean "${D}"/usr/share/doc/${PF}/samples fi } diff --git a/dev-lang/mercury/mercury-13.05.1.ebuild b/dev-lang/mercury/mercury-13.05.1.ebuild index c0fcf9dd7b20..44f38dcacd48 100644 --- a/dev-lang/mercury/mercury-13.05.1.ebuild +++ b/dev-lang/mercury/mercury-13.05.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -34,7 +34,7 @@ S="${WORKDIR}"/${MY_P} SITEFILE=50${PN}-gentoo.el src_prepare() { - cd "${WORKDIR}" + cd "${WORKDIR}" || die EPATCH_FORCE=yes EPATCH_SUFFIX=patch epatch "${WORKDIR}"/${PV} @@ -43,7 +43,7 @@ src_prepare() { "${S}"/scripts/Mmake.vars.in \ || die "sed libdir failed" - cd "${S}" + cd "${S}" || die eautoconf } @@ -117,7 +117,7 @@ src_test() { TWS="${S}" fi - cd "${S}"/tests + cd "${S}"/tests || die sed -e "s:@WORKSPACE@:${TWS}:" < WS_FLAGS.ws > WS_FLAGS \ || die "sed WORKSPACE failed" @@ -183,8 +183,7 @@ src_install() { doins -r samples/java_interface || die fi - rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \ - -name CVS -o -name .cvsignore) + ecvs_clean "${D}"/usr/share/doc/${PF}/samples fi } diff --git a/dev-lang/mercury/mercury-13.05.2.ebuild b/dev-lang/mercury/mercury-13.05.2.ebuild index c82ce14cb01c..44f38dcacd48 100644 --- a/dev-lang/mercury/mercury-13.05.2.ebuild +++ b/dev-lang/mercury/mercury-13.05.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -34,7 +34,7 @@ S="${WORKDIR}"/${MY_P} SITEFILE=50${PN}-gentoo.el src_prepare() { - cd "${WORKDIR}" + cd "${WORKDIR}" || die EPATCH_FORCE=yes EPATCH_SUFFIX=patch epatch "${WORKDIR}"/${PV} @@ -43,7 +43,7 @@ src_prepare() { "${S}"/scripts/Mmake.vars.in \ || die "sed libdir failed" - cd "${S}" + cd "${S}" || die eautoconf } @@ -117,7 +117,7 @@ src_test() { TWS="${S}" fi - cd "${S}"/tests + cd "${S}"/tests || die sed -e "s:@WORKSPACE@:${TWS}:" < WS_FLAGS.ws > WS_FLAGS \ || die "sed WORKSPACE failed" @@ -183,8 +183,7 @@ src_install() { doins -r samples/java_interface || die fi - rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \ - -name CVS -o -name .cvsignore) + ecvs_clean "${D}"/usr/share/doc/${PF}/samples fi } diff --git a/dev-lang/mercury/mercury-13.05.ebuild b/dev-lang/mercury/mercury-13.05.ebuild index 3092ceb62089..7cefb73dd54b 100644 --- a/dev-lang/mercury/mercury-13.05.ebuild +++ b/dev-lang/mercury/mercury-13.05.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -34,7 +34,7 @@ S="${WORKDIR}"/${MY_P} SITEFILE=50${PN}-gentoo.el src_prepare() { - cd "${WORKDIR}" + cd "${WORKDIR}" || die EPATCH_FORCE=yes EPATCH_SUFFIX=patch epatch "${WORKDIR}"/${PV} @@ -43,7 +43,7 @@ src_prepare() { "${S}"/scripts/Mmake.vars.in \ || die "sed libdir failed" - cd "${S}" + cd "${S}" || die eautoconf } @@ -116,7 +116,7 @@ src_test() { TWS="${S}" fi - cd "${S}"/tests + cd "${S}"/tests || die sed -e "s:@WORKSPACE@:${TWS}:" < WS_FLAGS.ws > WS_FLAGS \ || die "sed WORKSPACE failed" @@ -182,8 +182,7 @@ src_install() { doins -r samples/java_interface || die fi - rm -rf $(find "${D}"/usr/share/doc/${PF}/samples \ - -name CVS -o -name .cvsignore) + ecvs_clean "${D}"/usr/share/doc/${PF}/samples fi } diff --git a/dev-lang/mercury/metadata.xml b/dev-lang/mercury/metadata.xml index 1af61abf4524..7e9ce0ae4c47 100644 --- a/dev-lang/mercury/metadata.xml +++ b/dev-lang/mercury/metadata.xml @@ -1,11 +1,11 @@ - - keri@gentoo.org - Keri Harris - - - Support Mercury Erlang grade - + + keri@gentoo.org + Keri Harris + + + Support Mercury Erlang grade +