pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-agate



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Tue May 21 12:57:30 UTC 2024

Added Files:
        pkgsrc/devel/py-agate: DESCR Makefile PLIST distinfo
        pkgsrc/devel/py-agate/patches: patch-tests_test__data__types.py

Log Message:
Add py-agate:

Python data analysis library that is optimized for humans instead of
machines. It is an alternative to numpy and pandas that solves
real-world problems with readable code.

Agate was previously known as journalism.

Important links:
    Documentation: https://agate.rtfd.org
    Repository: https://github.com/wireservice/agate
    Issues: https://github.com/wireservice/agate/issues


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-agate/DESCR \
    pkgsrc/devel/py-agate/Makefile pkgsrc/devel/py-agate/PLIST \
    pkgsrc/devel/py-agate/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/py-agate/patches/patch-tests_test__data__types.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-agate/DESCR
diff -u /dev/null pkgsrc/devel/py-agate/DESCR:1.1
--- /dev/null   Tue May 21 12:57:30 2024
+++ pkgsrc/devel/py-agate/DESCR Tue May 21 12:57:30 2024
@@ -0,0 +1,10 @@
+Python data analysis library that is optimized for humans instead of
+machines. It is an alternative to numpy and pandas that solves
+real-world problems with readable code.
+
+Agate was previously known as journalism.
+
+Important links:
+    Documentation: https://agate.rtfd.org
+    Repository: https://github.com/wireservice/agate
+    Issues: https://github.com/wireservice/agate/issues
Index: pkgsrc/devel/py-agate/Makefile
diff -u /dev/null pkgsrc/devel/py-agate/Makefile:1.1
--- /dev/null   Tue May 21 12:57:30 2024
+++ pkgsrc/devel/py-agate/Makefile      Tue May 21 12:57:30 2024
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2024/05/21 12:57:30 cheusov Exp $
+
+DISTNAME=      agate-1.10.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=a/agate/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://agate.readthedocs.io/
+COMMENT=       Python data analysis library that is optimized for humans
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-babel-[0-9]*:../../devel/py-babel
+DEPENDS+=      ${PYPKGPREFIX}-cssselect-[0-9]*:../../textproc/py-cssselect
+DEPENDS+=      ${PYPKGPREFIX}-isodate-[0-9]*:../../time/py-isodate
+DEPENDS+=      ${PYPKGPREFIX}-leather>=0.3.2:../../graphics/py-leather
+DEPENDS+=      ${PYPKGPREFIX}-parsedatetime-[0-9]*:../../time/py-parsedatetime
+DEPENDS+=      ${PYPKGPREFIX}-pytimeparse-[0-9]*:../../time/py-pytimeparse
+DEPENDS+=      ${PYPKGPREFIX}-slugify-[0-9]*:../../devel/py-slugify
+TEST_DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-agate/PLIST
diff -u /dev/null pkgsrc/devel/py-agate/PLIST:1.1
--- /dev/null   Tue May 21 12:57:30 2024
+++ pkgsrc/devel/py-agate/PLIST Tue May 21 12:57:30 2024
@@ -0,0 +1,307 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/21 12:57:30 cheusov Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.rst
+${PYSITELIB}/${WHEEL_INFODIR}/COPYING
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/agate/__init__.py
+${PYSITELIB}/agate/__init__.pyc
+${PYSITELIB}/agate/__init__.pyo
+${PYSITELIB}/agate/aggregations/__init__.py
+${PYSITELIB}/agate/aggregations/__init__.pyc
+${PYSITELIB}/agate/aggregations/__init__.pyo
+${PYSITELIB}/agate/aggregations/all.py
+${PYSITELIB}/agate/aggregations/all.pyc
+${PYSITELIB}/agate/aggregations/all.pyo
+${PYSITELIB}/agate/aggregations/any.py
+${PYSITELIB}/agate/aggregations/any.pyc
+${PYSITELIB}/agate/aggregations/any.pyo
+${PYSITELIB}/agate/aggregations/base.py
+${PYSITELIB}/agate/aggregations/base.pyc
+${PYSITELIB}/agate/aggregations/base.pyo
+${PYSITELIB}/agate/aggregations/count.py
+${PYSITELIB}/agate/aggregations/count.pyc
+${PYSITELIB}/agate/aggregations/count.pyo
+${PYSITELIB}/agate/aggregations/deciles.py
+${PYSITELIB}/agate/aggregations/deciles.pyc
+${PYSITELIB}/agate/aggregations/deciles.pyo
+${PYSITELIB}/agate/aggregations/first.py
+${PYSITELIB}/agate/aggregations/first.pyc
+${PYSITELIB}/agate/aggregations/first.pyo
+${PYSITELIB}/agate/aggregations/has_nulls.py
+${PYSITELIB}/agate/aggregations/has_nulls.pyc
+${PYSITELIB}/agate/aggregations/has_nulls.pyo
+${PYSITELIB}/agate/aggregations/iqr.py
+${PYSITELIB}/agate/aggregations/iqr.pyc
+${PYSITELIB}/agate/aggregations/iqr.pyo
+${PYSITELIB}/agate/aggregations/mad.py
+${PYSITELIB}/agate/aggregations/mad.pyc
+${PYSITELIB}/agate/aggregations/mad.pyo
+${PYSITELIB}/agate/aggregations/max.py
+${PYSITELIB}/agate/aggregations/max.pyc
+${PYSITELIB}/agate/aggregations/max.pyo
+${PYSITELIB}/agate/aggregations/max_length.py
+${PYSITELIB}/agate/aggregations/max_length.pyc
+${PYSITELIB}/agate/aggregations/max_length.pyo
+${PYSITELIB}/agate/aggregations/max_precision.py
+${PYSITELIB}/agate/aggregations/max_precision.pyc
+${PYSITELIB}/agate/aggregations/max_precision.pyo
+${PYSITELIB}/agate/aggregations/mean.py
+${PYSITELIB}/agate/aggregations/mean.pyc
+${PYSITELIB}/agate/aggregations/mean.pyo
+${PYSITELIB}/agate/aggregations/median.py
+${PYSITELIB}/agate/aggregations/median.pyc
+${PYSITELIB}/agate/aggregations/median.pyo
+${PYSITELIB}/agate/aggregations/min.py
+${PYSITELIB}/agate/aggregations/min.pyc
+${PYSITELIB}/agate/aggregations/min.pyo
+${PYSITELIB}/agate/aggregations/mode.py
+${PYSITELIB}/agate/aggregations/mode.pyc
+${PYSITELIB}/agate/aggregations/mode.pyo
+${PYSITELIB}/agate/aggregations/percentiles.py
+${PYSITELIB}/agate/aggregations/percentiles.pyc
+${PYSITELIB}/agate/aggregations/percentiles.pyo
+${PYSITELIB}/agate/aggregations/quartiles.py
+${PYSITELIB}/agate/aggregations/quartiles.pyc
+${PYSITELIB}/agate/aggregations/quartiles.pyo
+${PYSITELIB}/agate/aggregations/quintiles.py
+${PYSITELIB}/agate/aggregations/quintiles.pyc
+${PYSITELIB}/agate/aggregations/quintiles.pyo
+${PYSITELIB}/agate/aggregations/stdev.py
+${PYSITELIB}/agate/aggregations/stdev.pyc
+${PYSITELIB}/agate/aggregations/stdev.pyo
+${PYSITELIB}/agate/aggregations/sum.py
+${PYSITELIB}/agate/aggregations/sum.pyc
+${PYSITELIB}/agate/aggregations/sum.pyo
+${PYSITELIB}/agate/aggregations/summary.py
+${PYSITELIB}/agate/aggregations/summary.pyc
+${PYSITELIB}/agate/aggregations/summary.pyo
+${PYSITELIB}/agate/aggregations/variance.py
+${PYSITELIB}/agate/aggregations/variance.pyc
+${PYSITELIB}/agate/aggregations/variance.pyo
+${PYSITELIB}/agate/columns.py
+${PYSITELIB}/agate/columns.pyc
+${PYSITELIB}/agate/columns.pyo
+${PYSITELIB}/agate/computations/__init__.py
+${PYSITELIB}/agate/computations/__init__.pyc
+${PYSITELIB}/agate/computations/__init__.pyo
+${PYSITELIB}/agate/computations/base.py
+${PYSITELIB}/agate/computations/base.pyc
+${PYSITELIB}/agate/computations/base.pyo
+${PYSITELIB}/agate/computations/change.py
+${PYSITELIB}/agate/computations/change.pyc
+${PYSITELIB}/agate/computations/change.pyo
+${PYSITELIB}/agate/computations/formula.py
+${PYSITELIB}/agate/computations/formula.pyc
+${PYSITELIB}/agate/computations/formula.pyo
+${PYSITELIB}/agate/computations/percent.py
+${PYSITELIB}/agate/computations/percent.pyc
+${PYSITELIB}/agate/computations/percent.pyo
+${PYSITELIB}/agate/computations/percent_change.py
+${PYSITELIB}/agate/computations/percent_change.pyc
+${PYSITELIB}/agate/computations/percent_change.pyo
+${PYSITELIB}/agate/computations/percentile_rank.py
+${PYSITELIB}/agate/computations/percentile_rank.pyc
+${PYSITELIB}/agate/computations/percentile_rank.pyo
+${PYSITELIB}/agate/computations/rank.py
+${PYSITELIB}/agate/computations/rank.pyc
+${PYSITELIB}/agate/computations/rank.pyo
+${PYSITELIB}/agate/computations/slug.py
+${PYSITELIB}/agate/computations/slug.pyc
+${PYSITELIB}/agate/computations/slug.pyo
+${PYSITELIB}/agate/config.py
+${PYSITELIB}/agate/config.pyc
+${PYSITELIB}/agate/config.pyo
+${PYSITELIB}/agate/csv_py3.py
+${PYSITELIB}/agate/csv_py3.pyc
+${PYSITELIB}/agate/csv_py3.pyo
+${PYSITELIB}/agate/data_types/__init__.py
+${PYSITELIB}/agate/data_types/__init__.pyc
+${PYSITELIB}/agate/data_types/__init__.pyo
+${PYSITELIB}/agate/data_types/base.py
+${PYSITELIB}/agate/data_types/base.pyc
+${PYSITELIB}/agate/data_types/base.pyo
+${PYSITELIB}/agate/data_types/boolean.py
+${PYSITELIB}/agate/data_types/boolean.pyc
+${PYSITELIB}/agate/data_types/boolean.pyo
+${PYSITELIB}/agate/data_types/date.py
+${PYSITELIB}/agate/data_types/date.pyc
+${PYSITELIB}/agate/data_types/date.pyo
+${PYSITELIB}/agate/data_types/date_time.py
+${PYSITELIB}/agate/data_types/date_time.pyc
+${PYSITELIB}/agate/data_types/date_time.pyo
+${PYSITELIB}/agate/data_types/number.py
+${PYSITELIB}/agate/data_types/number.pyc
+${PYSITELIB}/agate/data_types/number.pyo
+${PYSITELIB}/agate/data_types/text.py
+${PYSITELIB}/agate/data_types/text.pyc
+${PYSITELIB}/agate/data_types/text.pyo
+${PYSITELIB}/agate/data_types/time_delta.py
+${PYSITELIB}/agate/data_types/time_delta.pyc
+${PYSITELIB}/agate/data_types/time_delta.pyo
+${PYSITELIB}/agate/exceptions.py
+${PYSITELIB}/agate/exceptions.pyc
+${PYSITELIB}/agate/exceptions.pyo
+${PYSITELIB}/agate/fixed.py
+${PYSITELIB}/agate/fixed.pyc
+${PYSITELIB}/agate/fixed.pyo
+${PYSITELIB}/agate/mapped_sequence.py
+${PYSITELIB}/agate/mapped_sequence.pyc
+${PYSITELIB}/agate/mapped_sequence.pyo
+${PYSITELIB}/agate/rows.py
+${PYSITELIB}/agate/rows.pyc
+${PYSITELIB}/agate/rows.pyo
+${PYSITELIB}/agate/table/__init__.py
+${PYSITELIB}/agate/table/__init__.pyc
+${PYSITELIB}/agate/table/__init__.pyo
+${PYSITELIB}/agate/table/aggregate.py
+${PYSITELIB}/agate/table/aggregate.pyc
+${PYSITELIB}/agate/table/aggregate.pyo
+${PYSITELIB}/agate/table/bar_chart.py
+${PYSITELIB}/agate/table/bar_chart.pyc
+${PYSITELIB}/agate/table/bar_chart.pyo
+${PYSITELIB}/agate/table/bins.py
+${PYSITELIB}/agate/table/bins.pyc
+${PYSITELIB}/agate/table/bins.pyo
+${PYSITELIB}/agate/table/column_chart.py
+${PYSITELIB}/agate/table/column_chart.pyc
+${PYSITELIB}/agate/table/column_chart.pyo
+${PYSITELIB}/agate/table/compute.py
+${PYSITELIB}/agate/table/compute.pyc
+${PYSITELIB}/agate/table/compute.pyo
+${PYSITELIB}/agate/table/denormalize.py
+${PYSITELIB}/agate/table/denormalize.pyc
+${PYSITELIB}/agate/table/denormalize.pyo
+${PYSITELIB}/agate/table/distinct.py
+${PYSITELIB}/agate/table/distinct.pyc
+${PYSITELIB}/agate/table/distinct.pyo
+${PYSITELIB}/agate/table/exclude.py
+${PYSITELIB}/agate/table/exclude.pyc
+${PYSITELIB}/agate/table/exclude.pyo
+${PYSITELIB}/agate/table/find.py
+${PYSITELIB}/agate/table/find.pyc
+${PYSITELIB}/agate/table/find.pyo
+${PYSITELIB}/agate/table/from_csv.py
+${PYSITELIB}/agate/table/from_csv.pyc
+${PYSITELIB}/agate/table/from_csv.pyo
+${PYSITELIB}/agate/table/from_fixed.py
+${PYSITELIB}/agate/table/from_fixed.pyc
+${PYSITELIB}/agate/table/from_fixed.pyo
+${PYSITELIB}/agate/table/from_json.py
+${PYSITELIB}/agate/table/from_json.pyc
+${PYSITELIB}/agate/table/from_json.pyo
+${PYSITELIB}/agate/table/from_object.py
+${PYSITELIB}/agate/table/from_object.pyc
+${PYSITELIB}/agate/table/from_object.pyo
+${PYSITELIB}/agate/table/group_by.py
+${PYSITELIB}/agate/table/group_by.pyc
+${PYSITELIB}/agate/table/group_by.pyo
+${PYSITELIB}/agate/table/homogenize.py
+${PYSITELIB}/agate/table/homogenize.pyc
+${PYSITELIB}/agate/table/homogenize.pyo
+${PYSITELIB}/agate/table/join.py
+${PYSITELIB}/agate/table/join.pyc
+${PYSITELIB}/agate/table/join.pyo
+${PYSITELIB}/agate/table/limit.py
+${PYSITELIB}/agate/table/limit.pyc
+${PYSITELIB}/agate/table/limit.pyo
+${PYSITELIB}/agate/table/line_chart.py
+${PYSITELIB}/agate/table/line_chart.pyc
+${PYSITELIB}/agate/table/line_chart.pyo
+${PYSITELIB}/agate/table/merge.py
+${PYSITELIB}/agate/table/merge.pyc
+${PYSITELIB}/agate/table/merge.pyo
+${PYSITELIB}/agate/table/normalize.py
+${PYSITELIB}/agate/table/normalize.pyc
+${PYSITELIB}/agate/table/normalize.pyo
+${PYSITELIB}/agate/table/order_by.py
+${PYSITELIB}/agate/table/order_by.pyc
+${PYSITELIB}/agate/table/order_by.pyo
+${PYSITELIB}/agate/table/pivot.py
+${PYSITELIB}/agate/table/pivot.pyc
+${PYSITELIB}/agate/table/pivot.pyo
+${PYSITELIB}/agate/table/print_bars.py
+${PYSITELIB}/agate/table/print_bars.pyc
+${PYSITELIB}/agate/table/print_bars.pyo
+${PYSITELIB}/agate/table/print_html.py
+${PYSITELIB}/agate/table/print_html.pyc
+${PYSITELIB}/agate/table/print_html.pyo
+${PYSITELIB}/agate/table/print_structure.py
+${PYSITELIB}/agate/table/print_structure.pyc
+${PYSITELIB}/agate/table/print_structure.pyo
+${PYSITELIB}/agate/table/print_table.py
+${PYSITELIB}/agate/table/print_table.pyc
+${PYSITELIB}/agate/table/print_table.pyo
+${PYSITELIB}/agate/table/rename.py
+${PYSITELIB}/agate/table/rename.pyc
+${PYSITELIB}/agate/table/rename.pyo
+${PYSITELIB}/agate/table/scatterplot.py
+${PYSITELIB}/agate/table/scatterplot.pyc
+${PYSITELIB}/agate/table/scatterplot.pyo
+${PYSITELIB}/agate/table/select.py
+${PYSITELIB}/agate/table/select.pyc
+${PYSITELIB}/agate/table/select.pyo
+${PYSITELIB}/agate/table/to_csv.py
+${PYSITELIB}/agate/table/to_csv.pyc
+${PYSITELIB}/agate/table/to_csv.pyo
+${PYSITELIB}/agate/table/to_json.py
+${PYSITELIB}/agate/table/to_json.pyc
+${PYSITELIB}/agate/table/to_json.pyo
+${PYSITELIB}/agate/table/where.py
+${PYSITELIB}/agate/table/where.pyc
+${PYSITELIB}/agate/table/where.pyo
+${PYSITELIB}/agate/tableset/__init__.py
+${PYSITELIB}/agate/tableset/__init__.pyc
+${PYSITELIB}/agate/tableset/__init__.pyo
+${PYSITELIB}/agate/tableset/aggregate.py
+${PYSITELIB}/agate/tableset/aggregate.pyc
+${PYSITELIB}/agate/tableset/aggregate.pyo
+${PYSITELIB}/agate/tableset/bar_chart.py
+${PYSITELIB}/agate/tableset/bar_chart.pyc
+${PYSITELIB}/agate/tableset/bar_chart.pyo
+${PYSITELIB}/agate/tableset/column_chart.py
+${PYSITELIB}/agate/tableset/column_chart.pyc
+${PYSITELIB}/agate/tableset/column_chart.pyo
+${PYSITELIB}/agate/tableset/from_csv.py
+${PYSITELIB}/agate/tableset/from_csv.pyc
+${PYSITELIB}/agate/tableset/from_csv.pyo
+${PYSITELIB}/agate/tableset/from_json.py
+${PYSITELIB}/agate/tableset/from_json.pyc
+${PYSITELIB}/agate/tableset/from_json.pyo
+${PYSITELIB}/agate/tableset/having.py
+${PYSITELIB}/agate/tableset/having.pyc
+${PYSITELIB}/agate/tableset/having.pyo
+${PYSITELIB}/agate/tableset/line_chart.py
+${PYSITELIB}/agate/tableset/line_chart.pyc
+${PYSITELIB}/agate/tableset/line_chart.pyo
+${PYSITELIB}/agate/tableset/merge.py
+${PYSITELIB}/agate/tableset/merge.pyc
+${PYSITELIB}/agate/tableset/merge.pyo
+${PYSITELIB}/agate/tableset/print_structure.py
+${PYSITELIB}/agate/tableset/print_structure.pyc
+${PYSITELIB}/agate/tableset/print_structure.pyo
+${PYSITELIB}/agate/tableset/proxy_methods.py
+${PYSITELIB}/agate/tableset/proxy_methods.pyc
+${PYSITELIB}/agate/tableset/proxy_methods.pyo
+${PYSITELIB}/agate/tableset/scatterplot.py
+${PYSITELIB}/agate/tableset/scatterplot.pyc
+${PYSITELIB}/agate/tableset/scatterplot.pyo
+${PYSITELIB}/agate/tableset/to_csv.py
+${PYSITELIB}/agate/tableset/to_csv.pyc
+${PYSITELIB}/agate/tableset/to_csv.pyo
+${PYSITELIB}/agate/tableset/to_json.py
+${PYSITELIB}/agate/tableset/to_json.pyc
+${PYSITELIB}/agate/tableset/to_json.pyo
+${PYSITELIB}/agate/testcase.py
+${PYSITELIB}/agate/testcase.pyc
+${PYSITELIB}/agate/testcase.pyo
+${PYSITELIB}/agate/type_tester.py
+${PYSITELIB}/agate/type_tester.pyc
+${PYSITELIB}/agate/type_tester.pyo
+${PYSITELIB}/agate/utils.py
+${PYSITELIB}/agate/utils.pyc
+${PYSITELIB}/agate/utils.pyo
+${PYSITELIB}/agate/warns.py
+${PYSITELIB}/agate/warns.pyc
+${PYSITELIB}/agate/warns.pyo
Index: pkgsrc/devel/py-agate/distinfo
diff -u /dev/null pkgsrc/devel/py-agate/distinfo:1.1
--- /dev/null   Tue May 21 12:57:30 2024
+++ pkgsrc/devel/py-agate/distinfo      Tue May 21 12:57:30 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/05/21 12:57:30 cheusov Exp $
+
+BLAKE2s (agate-1.10.2.tar.gz) = 5d41c3c1b4c3bb2bca11f98dc9e10ae230e3b25f620ea260782836f83d9ebe66
+SHA512 (agate-1.10.2.tar.gz) = 87385515e3ffe88afdeaa1202368d69824501dc5816b40e1f475afd027bbd5229c70e7449485e0845f50203e6749f3a736d16f17752d1bdd040dc92cbcc2461a
+Size (agate-1.10.2.tar.gz) = 203542 bytes
+SHA1 (patch-tests_test__data__types.py) = 996104e2185919054ea0fe1307b08fc39cacdf16

Index: pkgsrc/devel/py-agate/patches/patch-tests_test__data__types.py
diff -u /dev/null pkgsrc/devel/py-agate/patches/patch-tests_test__data__types.py:1.1
--- /dev/null   Tue May 21 12:57:30 2024
+++ pkgsrc/devel/py-agate/patches/patch-tests_test__data__types.py      Tue May 21 12:57:30 2024
@@ -0,0 +1,43 @@
+$NetBSD: patch-tests_test__data__types.py,v 1.1 2024/05/21 12:57:30 cheusov Exp $
+
+Disable locale test for de_DE.UTF_8 because it fails on some systems, for
+example, on NetBSD-10.99.10, where short ids for months are "Jan." (not
+"Jan"), "Dez." (not "Dez") etc.
+
+--- tests/test_data_types.py.orig      2024-04-28 20:24:36.000000000 +0000
++++ tests/test_data_types.py
+@@ -259,20 +259,20 @@ class TestDate(unittest.TestCase):
+             None
+         ))
+ 
+-    def test_cast_format_locale(self):
+-        date_type = Date(date_format='%d-%b-%Y', locale='de_DE.UTF-8')
+-
+-        # March can be abbreviated to Mrz or Mär depending on the locale version,
+-        # so we use December in the first value to ensure the test passes everywhere
+-        values = ('01-Dez-1994', '17-Feb-2011', None, '05-Jan-1984', 'n/a')
+-        casted = tuple(date_type.cast(v) for v in values)
+-        self.assertSequenceEqual(casted, (
+-            datetime.date(1994, 12, 1),
+-            datetime.date(2011, 2, 17),
+-            None,
+-            datetime.date(1984, 1, 5),
+-            None
+-        ))
++#    def test_cast_format_locale(self):
++#        date_type = Date(date_format='%d-%b-%Y', locale='de_DE.UTF-8')
++#
++#        # March can be abbreviated to Mrz or Mär depending on the locale version,
++#        # so we use December in the first value to ensure the test passes everywhere
++#        values = ('01-Dez-1994', '17-Feb-2011', None, '05-Jan-1984', 'n/a')
++#        casted = tuple(date_type.cast(v) for v in values)
++#        self.assertSequenceEqual(casted, (
++#            datetime.date(1994, 12, 1),
++#            datetime.date(2011, 2, 17),
++#            None,
++#            datetime.date(1984, 1, 5),
++#            None
++#        ))
+ 
+     def test_cast_locale(self):
+         date_type = Date(locale='fr_FR')



Home | Main Index | Thread Index | Old Index