FreeBSD Bugzilla – Attachment 144665 Details for
Bug 191857
[MAINTAINER] math/py-pandas: Update to 0.14.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update math/py-pandas to 0.14.1
patch-math_py-pandas-0.14.1.txt (text/plain), 5.93 KB, created by
John W. O'Brien
on 2014-07-14 17:57:10 UTC
(
hide
)
Description:
Update math/py-pandas to 0.14.1
Filename:
MIME Type:
Creator:
John W. O'Brien
Created:
2014-07-14 17:57:10 UTC
Size:
5.93 KB
patch
obsolete
>Index: math/py-pandas/Makefile >=================================================================== >--- math/py-pandas/Makefile (revision 361729) >+++ math/py-pandas/Makefile (working copy) >@@ -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} >Index: math/py-pandas/distinfo >=================================================================== >--- math/py-pandas/distinfo (revision 361729) >+++ math/py-pandas/distinfo (working copy) >@@ -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 >Index: math/py-pandas/files/patch-setup.py >=================================================================== >--- math/py-pandas/files/patch-setup.py (revision 0) >+++ math/py-pandas/files/patch-setup.py (working copy) >@@ -0,0 +1,22 @@ >+--- ./setup.py.orig 2014-07-14 13:28:02.000000000 -0400 >++++ ./setup.py 2014-07-14 13:39:30.000000000 -0400 >+@@ -545,6 +545,19 @@ >+ if _have_setuptools: >+ setuptools_kwargs["test_suite"] = "nose.collector" >+ >++# FreeBSD math/py-pandas >++# Use a blunt weapon to work around >++# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191865 >++# Perform no dependency checking in setuptools, allowing ports machinery >++# to satisfy all dependencies according to the maintainer. >++def _zapdict_verbose(d, k): >++ print('==> In {}, zapping {} = {}'.format(__file__, k, d[k])) >++ del d[k] >++ >++_zapdict_verbose(setuptools_kwargs, 'setup_requires') >++_zapdict_verbose(setuptools_kwargs, 'install_requires') >++ >++ >+ # The build cache system does string matching below this point. >+ # if you change something, be careful. >+ > >Property changes on: math/py-pandas/files/patch-setup.py >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: math/py-pandas/files/print_skipped.py >=================================================================== >--- math/py-pandas/files/print_skipped.py (revision 361729) >+++ math/py-pandas/files/print_skipped.py (working copy) >@@ -1,51 +0,0 @@ >-#!/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())) >Index: math/py-pandas/scripts/print_skipped.py >=================================================================== >--- math/py-pandas/scripts/print_skipped.py (revision 0) >+++ math/py-pandas/scripts/print_skipped.py (working copy) >@@ -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())) > >Property changes on: math/py-pandas/scripts/print_skipped.py >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 191857
:
144644
| 144665 |
144670
|
144671
|
144672