Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/py-dateparser py-dateparser: updated to 0.7.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6f105d28134
branches:  trunk
changeset: 434647:a6f105d28134
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Jun 20 07:18:42 2020 +0000

description:
py-dateparser: updated to 0.7.6

0.7.6:
Improvements:
* Rename ``scripts`` to ``dateparser_scripts`` to avoid name collisions with modules from other packages or projects


0.7.5:
New features:
* Add Python 3.8 support
* Implement a ``REQUIRE_PARTS`` setting
* Add support for subscript and superscript numbers
* Extended French support
* Extended German support

Improvements:
* Migrate test suite to Pytest
* Add test to check the `yaml` and `json` files content
* Add flake8 pipeline with pytest-flake8
* Add partial support for 8-digit dates without separators
* Fix possible ``OverflowError`` errors and explicitly avoid to raise ``ValueError`` when parsing relative dates
* Fix double-digit GMT and UTC parsing
* Fix bug when using ``DATE_ORDER``
* Fix bug when parsing relative time with timezone
* Fix milliseconds parsing
* Fix wrong values to be interpreted as ``'future'`` in ``PREFER_DATES_FROM``
* Other small improvements

diffstat:

 time/py-dateparser/Makefile |   4 ++--
 time/py-dateparser/PLIST    |  20 +++++++++++++++++++-
 time/py-dateparser/distinfo |  10 +++++-----
 3 files changed, 26 insertions(+), 8 deletions(-)

diffs (58 lines):

diff -r f06a8d70bb7d -r a6f105d28134 time/py-dateparser/Makefile
--- a/time/py-dateparser/Makefile       Sat Jun 20 07:16:06 2020 +0000
+++ b/time/py-dateparser/Makefile       Sat Jun 20 07:18:42 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2020/03/07 12:22:43 adam Exp $
+# $NetBSD: Makefile,v 1.6 2020/06/20 07:18:42 adam Exp $
 
-DISTNAME=      dateparser-0.7.4
+DISTNAME=      dateparser-0.7.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/dateparser/}
diff -r f06a8d70bb7d -r a6f105d28134 time/py-dateparser/PLIST
--- a/time/py-dateparser/PLIST  Sat Jun 20 07:16:06 2020 +0000
+++ b/time/py-dateparser/PLIST  Sat Jun 20 07:18:42 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/02/09 09:17:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/06/20 07:18:42 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -929,3 +929,21 @@
 ${PYSITELIB}/dateparser_data/settings.py
 ${PYSITELIB}/dateparser_data/settings.pyc
 ${PYSITELIB}/dateparser_data/settings.pyo
+${PYSITELIB}/dateparser_scripts/__init__.py
+${PYSITELIB}/dateparser_scripts/__init__.pyc
+${PYSITELIB}/dateparser_scripts/__init__.pyo
+${PYSITELIB}/dateparser_scripts/get_cldr_data.py
+${PYSITELIB}/dateparser_scripts/get_cldr_data.pyc
+${PYSITELIB}/dateparser_scripts/get_cldr_data.pyo
+${PYSITELIB}/dateparser_scripts/get_cldr_numeral_data.py
+${PYSITELIB}/dateparser_scripts/get_cldr_numeral_data.pyc
+${PYSITELIB}/dateparser_scripts/get_cldr_numeral_data.pyo
+${PYSITELIB}/dateparser_scripts/order_languages.py
+${PYSITELIB}/dateparser_scripts/order_languages.pyc
+${PYSITELIB}/dateparser_scripts/order_languages.pyo
+${PYSITELIB}/dateparser_scripts/utils.py
+${PYSITELIB}/dateparser_scripts/utils.pyc
+${PYSITELIB}/dateparser_scripts/utils.pyo
+${PYSITELIB}/dateparser_scripts/write_complete_data.py
+${PYSITELIB}/dateparser_scripts/write_complete_data.pyc
+${PYSITELIB}/dateparser_scripts/write_complete_data.pyo
diff -r f06a8d70bb7d -r a6f105d28134 time/py-dateparser/distinfo
--- a/time/py-dateparser/distinfo       Sat Jun 20 07:16:06 2020 +0000
+++ b/time/py-dateparser/distinfo       Sat Jun 20 07:18:42 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2020/03/07 12:22:43 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/06/20 07:18:42 adam Exp $
 
-SHA1 (dateparser-0.7.4.tar.gz) = 35ae4c28d50cbcc27c77af3eb18f1a8a01a11654
-RMD160 (dateparser-0.7.4.tar.gz) = d34d566ec37279c55fa3ef9dfd8b763feaf1f729
-SHA512 (dateparser-0.7.4.tar.gz) = 3666604878c55eeffdbd326579eb3c0eb68b65422147d75366b686f332ac853f8042af7f4a7ed7c9ae3fe35b5a991691367d600ddaeea1b991f5dccfc509e79a
-Size (dateparser-0.7.4.tar.gz) = 312033 bytes
+SHA1 (dateparser-0.7.6.tar.gz) = 45f449a03310d1f4347e52f8c6a49efbc2bdd2d7
+RMD160 (dateparser-0.7.6.tar.gz) = 403517a61c37a0c6fa68d6338f1e91e5822accc4
+SHA512 (dateparser-0.7.6.tar.gz) = 802990426f6d6be69ebb8becfb875f5d90a42db8ca0e6d6c89eeb52da431f479dd81d8e9094d0d91c45d5097c18e16eddbd9e16d77b2a0319490574435d1b81a
+Size (dateparser-0.7.6.tar.gz) = 320578 bytes



Home | Main Index | Thread Index | Old Index