jer         14/11/04 09:41:40

  Modified:             parted-3.2.ebuild parted-2.4.ebuild ChangeLog
  Log:
  Set RESTRICT=test (bug #276687).
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.5                  sys-block/parted/parted-3.2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-3.2.ebuild?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-3.2.ebuild?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-3.2.ebuild?r1=1.4&r2=1.5

Index: parted-3.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-block/parted/parted-3.2.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- parted-3.2.ebuild   4 Nov 2014 09:28:27 -0000       1.4
+++ parted-3.2.ebuild   4 Nov 2014 09:41:40 -0000       1.5
@@ -1,10 +1,9 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/parted-3.2.ebuild,v 1.4 
2014/11/04 09:28:27 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/parted-3.2.ebuild,v 1.5 
2014/11/04 09:41:40 jer Exp $
 
 EAPI=5
-
-inherit autotools eutils
+inherit eutils
 
 DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems"
 HOMEPAGE="http://www.gnu.org/software/parted";
@@ -13,7 +12,8 @@
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86"
-IUSE="+debug device-mapper nls readline selinux static-libs test"
+IUSE="+debug device-mapper nls readline selinux static-libs"
+RESTRICT="test"
 
 # specific version for gettext needed
 # to fix bug 85999
@@ -28,31 +28,10 @@
        ${RDEPEND}
        nls? ( >=sys-devel/gettext-0.12.1-r2 )
        virtual/pkgconfig
-       test? (
-               >=dev-libs/check-0.9.3
-               dev-perl/Digest-CRC
-       )
 "
 
 src_prepare() {
-       # Remove tests known to FAIL instead of SKIP without OS/userland support
-       sed -i \
-               -e 's|t3000-symlink.sh||g' \
-               libparted/tests/Makefile.am || die
-
-       sed -i \
-               -e '/t4100-dvh-partition-limits.sh/d' \
-               -e '/t4100-msdos-partition-limits.sh/d' \
-               -e '/t6000-dm.sh/d' \
-               tests/Makefile.am || die
-       # There is no configure flag for controlling the dev-libs/check test
-       sed -i \
-               -e "s:have_check=[a-z]*:have_check=$(usex test):g" \
-               configure.ac || die
-
        epatch "${FILESDIR}"/${PN}-3.2-devmapper.patch
-
-       eautoreconf
 }
 
 src_configure() {
@@ -67,13 +46,6 @@
                --disable-silent-rules
 }
 
-src_test() {
-       if use debug; then
-               emake check
-       else
-               ewarn "Skipping tests because USE=-debug is set"
-       fi
-}
 DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} )
 
 src_install() {



1.19                 sys-block/parted/parted-2.4.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-2.4.ebuild?rev=1.19&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-2.4.ebuild?rev=1.19&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-2.4.ebuild?r1=1.18&r2=1.19

Index: parted-2.4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-block/parted/parted-2.4.ebuild,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- parted-2.4.ebuild   4 Mar 2014 00:25:40 -0000       1.18
+++ parted-2.4.ebuild   4 Nov 2014 09:41:40 -0000       1.19
@@ -1,10 +1,9 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/parted-2.4.ebuild,v 1.18 
2014/03/04 00:25:40 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/parted-2.4.ebuild,v 1.19 
2014/11/04 09:41:40 jer Exp $
 
-EAPI="3"
-
-inherit autotools eutils
+EAPI=5
+inherit eutils
 
 DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems"
 HOMEPAGE="http://www.gnu.org/software/parted";
@@ -14,6 +13,7 @@
 SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86"
 IUSE="+debug device-mapper nls readline selinux static-libs"
+RESTRICT="test"
 
 # specific version for gettext needed
 # to fix bug 85999
@@ -33,16 +33,6 @@
 src_prepare() {
        epatch "${FILESDIR}"/${P}-no-gets.patch
        epatch "${FILESDIR}"/${P}-readline.patch
-
-       # Remove tests known to FAIL instead of SKIP without OS/userland support
-       sed -i libparted/tests/Makefile.am \
-               -e 's|t3000-symlink.sh||g' || die "sed failed"
-       sed -i tests/Makefile.am \
-               -e '/t4100-msdos-partition-limits.sh/d' \
-               -e '/t4100-dvh-partition-limits.sh/d' \
-               -e '/t6000-dm.sh/d' || die "sed failed"
-
-       eautoreconf
 }
 
 src_configure() {
@@ -55,23 +45,12 @@
                $(use_with readline) \
                --disable-Werror \
                --disable-rpath \
-               --disable-silent-rules \
-               || die
+               --disable-silent-rules
 }
 
-src_test() {
-       if use debug; then
-               # Do not die when tests fail - some requirements are not
-               # properly checked and should not lead to the ebuild failing.
-               emake check
-       else
-               ewarn "Skipping tests because USE=-debug is set."
-       fi
-}
+DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} )
 
 src_install() {
-       emake install DESTDIR="${D}" || die "Install failed"
-       dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
-       dodoc doc/{API,FAT,USER.jp}
-       find "${ED}" -name '*.la' -exec rm -f '{}' +
+       default
+       prune_libtool_files
 }



1.51                 sys-block/parted/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/ChangeLog?rev=1.51&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/ChangeLog?rev=1.51&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/ChangeLog?r1=1.50&r2=1.51

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- ChangeLog   4 Nov 2014 09:28:27 -0000       1.50
+++ ChangeLog   4 Nov 2014 09:41:40 -0000       1.51
@@ -1,6 +1,10 @@
 # ChangeLog for sys-block/parted
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v 1.50 
2014/11/04 09:28:27 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v 1.51 
2014/11/04 09:41:40 jer Exp $
+
+  04 Nov 2014; Jeroen Roovers <[email protected]> parted-2.4.ebuild,
+  parted-3.2.ebuild:
+  Set RESTRICT=test (bug #276687).
 
   04 Nov 2014; Agostino Sarubbo <[email protected]> parted-3.2.ebuild:
   Stable for sparc, wrt bug #527846




Reply via email to