From owner-svn-ports-head@FreeBSD.ORG Thu Jul 24 16:47:22 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3BEA4129; Thu, 24 Jul 2014 16:47:22 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1C9BD23CD; Thu, 24 Jul 2014 16:47:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6OGlLvH039492; Thu, 24 Jul 2014 16:47:21 GMT (envelope-from culot@svn.freebsd.org) Received: (from culot@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6OGlLD5039489; Thu, 24 Jul 2014 16:47:21 GMT (envelope-from culot@svn.freebsd.org) Message-Id: <201407241647.s6OGlLD5039489@svn.freebsd.org> From: Frederic Culot Date: Thu, 24 Jul 2014 16:47:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362831 - in head/math/py-pandas: . files scripts X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2014 16:47:22 -0000 Author: culot Date: Thu Jul 24 16:47:21 2014 New Revision: 362831 URL: http://svnweb.freebsd.org/changeset/ports/362831 QAT: https://qat.redports.org/buildarchive/r362831/ Log: - Update to 0.14.1 PR: ports/191857 Submitted by: John W. O'Brien (maintainer) Added: head/math/py-pandas/scripts/ head/math/py-pandas/scripts/print_skipped.py (contents, props changed) Deleted: head/math/py-pandas/files/print_skipped.py Modified: head/math/py-pandas/Makefile head/math/py-pandas/distinfo Modified: head/math/py-pandas/Makefile ============================================================================== --- head/math/py-pandas/Makefile Thu Jul 24 16:40:22 2014 (r362830) +++ head/math/py-pandas/Makefile Thu Jul 24 16:47:21 2014 (r362831) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= pandas -PORTVERSION= 0.14.0 +PORTVERSION= 0.14.1 CATEGORIES= math devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Modified: head/math/py-pandas/distinfo ============================================================================== --- head/math/py-pandas/distinfo Thu Jul 24 16:40:22 2014 (r362830) +++ head/math/py-pandas/distinfo Thu Jul 24 16:47:21 2014 (r362831) @@ -1,2 +1,2 @@ -SHA256 (pandas-0.14.0.tar.gz) = f7997debca756c4dd5ccdf5a010dfe3d1c7dac98ee706b715d994cf7c9d35528 -SIZE (pandas-0.14.0.tar.gz) = 6526846 +SHA256 (pandas-0.14.1.tar.gz) = 8d36f69e63f4c36999d142d60e476a6359c77069ad0ed1e4aa16a7005884dd21 +SIZE (pandas-0.14.1.tar.gz) = 6713272 Added: head/math/py-pandas/scripts/print_skipped.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pandas/scripts/print_skipped.py Thu Jul 24 16:47:21 2014 (r362831) @@ -0,0 +1,51 @@ +#!/usr/bin/env python + +import sys +import math +import xml.etree.ElementTree as et + + +def parse_results(filename): + tree = et.parse(filename) + root = tree.getroot() + skipped = [] + + current_class = old_class = '' + i = 1 + assert i - 1 == len(skipped) + for el in root.findall('testcase'): + cn = el.attrib['classname'] + for sk in el.findall('skipped'): + old_class = current_class + current_class = cn + name = '{classname}.{name}'.format(classname=current_class, + name=el.attrib['name']) + msg = sk.attrib['message'] + out = '' + if old_class != current_class: + ndigits = int(math.log(i, 10) + 1) + out += ('-' * (len(name + msg) + 4 + ndigits) + '\n') # 4 for : + space + # + space + out += '#{i} {name}: {msg}'.format(i=i, name=name, msg=msg) + skipped.append(out) + i += 1 + assert i - 1 == len(skipped) + assert i - 1 == len(skipped) + assert len(skipped) == int(root.attrib['skip']) + return '\n'.join(skipped) + + +def main(args): + print('SKIPPED TESTS:') + print(parse_results(args.filename)) + return 0 + + +def parse_args(): + import argparse + parser = argparse.ArgumentParser() + parser.add_argument('filename', help='XUnit file to parse') + return parser.parse_args() + + +if __name__ == '__main__': + sys.exit(main(parse_args()))