pkgsrc-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.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5bc3a24bca5a
branches:  trunk
changeset: 375356:5bc3a24bca5a
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Feb 09 09:17:23 2018 +0000

description:
py-dateparser: updated to 0.7.0

0.7.0:
Features added during Google Summer of Code 2017:
* Harvesting language data from Unicode CLDR database (https://github.com/unicode-cldr/cldr-json), which includes over 200 locales
See full currently supported locale list in README.
* Extracting dates from longer strings of text
Special thanks for their awesome contributions!

New features:
* Added (independently from CLDR) Georgian and Swedish

Improvements:
* Improved support of Chinese, Thai, French, Russian
* Removed ruamel.yaml from dependencies. This should reduce the number of installation issues and improve performance as the result of moving away from YAML as basic data storage format.
Note that YAML is still used as format for support language files.
* Improved performance through using pre-compiling frequent regexes and lazy loading of data
* Extended tests
* Updated nose_parameterized to its current package, parameterized

diffstat:

 time/py-dateparser/Makefile |   17 +-
 time/py-dateparser/PLIST    |  909 ++++++++++++++++++++++++++++++++++++++++++-
 time/py-dateparser/distinfo |   10 +-
 3 files changed, 883 insertions(+), 53 deletions(-)

diffs (truncated from 997 to 300 lines):

diff -r f08e6a63e3c7 -r 5bc3a24bca5a time/py-dateparser/Makefile
--- a/time/py-dateparser/Makefile       Fri Feb 09 09:15:28 2018 +0000
+++ b/time/py-dateparser/Makefile       Fri Feb 09 09:17:23 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2017/09/29 21:21:52 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2018/02/09 09:17:23 adam Exp $
 
-DISTNAME=      dateparser-0.6.0
+DISTNAME=      dateparser-0.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    python time
+CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/dateparser/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,13 +10,16 @@
 COMMENT=       Date parsing library designed to parse dates from HTML pages
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-ruamel-yaml>=0.10.12:../../devel/py-ruamel-yaml
 DEPENDS+=      ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
-DEPENDS+=      ${PYPKGPREFIX}-regex-[0-9]*:../../textproc/py-regex
 DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+=      ${PYPKGPREFIX}-regex-[0-9]*:../../textproc/py-regex
 DEPENDS+=      ${PYPKGPREFIX}-tzlocal-[0-9]*:../../time/py-tzlocal
-
-# XXX Test needs nose.parameterized
+# TEST_DEPENDS
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-parameterized-[0-9]*:../../devel/py-parameterized
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f08e6a63e3c7 -r 5bc3a24bca5a time/py-dateparser/PLIST
--- a/time/py-dateparser/PLIST  Fri Feb 09 09:15:28 2018 +0000
+++ b/time/py-dateparser/PLIST  Fri Feb 09 09:17:23 2018 +0000
@@ -1,38 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/09/29 21:21:52 joerg Exp $
-${PYSITELIB}/data/__init__.py
-${PYSITELIB}/data/__init__.pyc
-${PYSITELIB}/data/__init__.pyo
-${PYSITELIB}/data/languagefiles/ar.yaml
-${PYSITELIB}/data/languagefiles/be.yaml
-${PYSITELIB}/data/languagefiles/bg.yaml
-${PYSITELIB}/data/languagefiles/bn.yaml
-${PYSITELIB}/data/languagefiles/cs.yaml
-${PYSITELIB}/data/languagefiles/da.yaml
-${PYSITELIB}/data/languagefiles/de.yaml
-${PYSITELIB}/data/languagefiles/en.yaml
-${PYSITELIB}/data/languagefiles/es.yaml
-${PYSITELIB}/data/languagefiles/fa.yaml
-${PYSITELIB}/data/languagefiles/fi.yaml
-${PYSITELIB}/data/languagefiles/fr.yaml
-${PYSITELIB}/data/languagefiles/he.yaml
-${PYSITELIB}/data/languagefiles/hi.yaml
-${PYSITELIB}/data/languagefiles/hu.yaml
-${PYSITELIB}/data/languagefiles/id.yaml
-${PYSITELIB}/data/languagefiles/it.yaml
-${PYSITELIB}/data/languagefiles/ja.yaml
-${PYSITELIB}/data/languagefiles/nl.yaml
-${PYSITELIB}/data/languagefiles/pl.yaml
-${PYSITELIB}/data/languagefiles/pt.yaml
-${PYSITELIB}/data/languagefiles/ro.yaml
-${PYSITELIB}/data/languagefiles/ru.yaml
-${PYSITELIB}/data/languagefiles/th.yaml
-${PYSITELIB}/data/languagefiles/tl.yaml
-${PYSITELIB}/data/languagefiles/tr.yaml
-${PYSITELIB}/data/languagefiles/uk.yaml
-${PYSITELIB}/data/languagefiles/vi.yaml
-${PYSITELIB}/data/languagefiles/zh.yaml
-${PYSITELIB}/data/languages.yaml
-${PYSITELIB}/data/settings.yaml
+@comment $NetBSD: PLIST,v 1.2 2018/02/09 09:17:23 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -60,6 +26,852 @@
 ${PYSITELIB}/dateparser/conf.py
 ${PYSITELIB}/dateparser/conf.pyc
 ${PYSITELIB}/dateparser/conf.pyo
+${PYSITELIB}/dateparser/data/__init__.py
+${PYSITELIB}/dateparser/data/__init__.pyc
+${PYSITELIB}/dateparser/data/__init__.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/__init__.py
+${PYSITELIB}/dateparser/data/date_translation_data/__init__.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/__init__.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/af.py
+${PYSITELIB}/dateparser/data/date_translation_data/af.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/af.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/agq.py
+${PYSITELIB}/dateparser/data/date_translation_data/agq.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/agq.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/ak.py
+${PYSITELIB}/dateparser/data/date_translation_data/ak.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/ak.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/am.py
+${PYSITELIB}/dateparser/data/date_translation_data/am.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/am.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/ar.py
+${PYSITELIB}/dateparser/data/date_translation_data/ar.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/ar.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/as.py
+${PYSITELIB}/dateparser/data/date_translation_data/as.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/as.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/asa.py
+${PYSITELIB}/dateparser/data/date_translation_data/asa.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/asa.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/ast.py
+${PYSITELIB}/dateparser/data/date_translation_data/ast.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/ast.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/az-Cyrl.py
+${PYSITELIB}/dateparser/data/date_translation_data/az-Cyrl.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/az-Cyrl.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/az-Latn.py
+${PYSITELIB}/dateparser/data/date_translation_data/az-Latn.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/az-Latn.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/az.py
+${PYSITELIB}/dateparser/data/date_translation_data/az.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/az.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/bas.py
+${PYSITELIB}/dateparser/data/date_translation_data/bas.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/bas.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/be.py
+${PYSITELIB}/dateparser/data/date_translation_data/be.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/be.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/bem.py
+${PYSITELIB}/dateparser/data/date_translation_data/bem.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/bem.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/bez.py
+${PYSITELIB}/dateparser/data/date_translation_data/bez.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/bez.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/bg.py
+${PYSITELIB}/dateparser/data/date_translation_data/bg.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/bg.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/bm.py
+${PYSITELIB}/dateparser/data/date_translation_data/bm.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/bm.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/bn.py
+${PYSITELIB}/dateparser/data/date_translation_data/bn.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/bn.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/bo.py
+${PYSITELIB}/dateparser/data/date_translation_data/bo.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/bo.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/br.py
+${PYSITELIB}/dateparser/data/date_translation_data/br.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/br.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/brx.py
+${PYSITELIB}/dateparser/data/date_translation_data/brx.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/brx.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/bs-Cyrl.py
+${PYSITELIB}/dateparser/data/date_translation_data/bs-Cyrl.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/bs-Cyrl.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/bs-Latn.py
+${PYSITELIB}/dateparser/data/date_translation_data/bs-Latn.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/bs-Latn.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/bs.py
+${PYSITELIB}/dateparser/data/date_translation_data/bs.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/bs.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/ca.py
+${PYSITELIB}/dateparser/data/date_translation_data/ca.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/ca.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/ce.py
+${PYSITELIB}/dateparser/data/date_translation_data/ce.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/ce.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/cgg.py
+${PYSITELIB}/dateparser/data/date_translation_data/cgg.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/cgg.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/chr.py
+${PYSITELIB}/dateparser/data/date_translation_data/chr.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/chr.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/ckb.py
+${PYSITELIB}/dateparser/data/date_translation_data/ckb.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/ckb.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/cs.py
+${PYSITELIB}/dateparser/data/date_translation_data/cs.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/cs.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/cy.py
+${PYSITELIB}/dateparser/data/date_translation_data/cy.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/cy.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/da.py
+${PYSITELIB}/dateparser/data/date_translation_data/da.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/da.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/dav.py
+${PYSITELIB}/dateparser/data/date_translation_data/dav.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/dav.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/de.py
+${PYSITELIB}/dateparser/data/date_translation_data/de.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/de.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/dje.py
+${PYSITELIB}/dateparser/data/date_translation_data/dje.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/dje.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/dsb.py
+${PYSITELIB}/dateparser/data/date_translation_data/dsb.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/dsb.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/dua.py
+${PYSITELIB}/dateparser/data/date_translation_data/dua.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/dua.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/dyo.py
+${PYSITELIB}/dateparser/data/date_translation_data/dyo.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/dyo.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/dz.py
+${PYSITELIB}/dateparser/data/date_translation_data/dz.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/dz.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/ebu.py
+${PYSITELIB}/dateparser/data/date_translation_data/ebu.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/ebu.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/ee.py
+${PYSITELIB}/dateparser/data/date_translation_data/ee.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/ee.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/el.py
+${PYSITELIB}/dateparser/data/date_translation_data/el.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/el.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/en.py
+${PYSITELIB}/dateparser/data/date_translation_data/en.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/en.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/eo.py
+${PYSITELIB}/dateparser/data/date_translation_data/eo.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/eo.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/es.py
+${PYSITELIB}/dateparser/data/date_translation_data/es.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/es.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/et.py
+${PYSITELIB}/dateparser/data/date_translation_data/et.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/et.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/eu.py
+${PYSITELIB}/dateparser/data/date_translation_data/eu.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/eu.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/ewo.py
+${PYSITELIB}/dateparser/data/date_translation_data/ewo.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/ewo.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/fa.py
+${PYSITELIB}/dateparser/data/date_translation_data/fa.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/fa.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/ff.py
+${PYSITELIB}/dateparser/data/date_translation_data/ff.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/ff.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/fi.py
+${PYSITELIB}/dateparser/data/date_translation_data/fi.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/fi.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/fil.py
+${PYSITELIB}/dateparser/data/date_translation_data/fil.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/fil.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/fo.py
+${PYSITELIB}/dateparser/data/date_translation_data/fo.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/fo.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/fr.py
+${PYSITELIB}/dateparser/data/date_translation_data/fr.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/fr.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/fur.py
+${PYSITELIB}/dateparser/data/date_translation_data/fur.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/fur.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/fy.py
+${PYSITELIB}/dateparser/data/date_translation_data/fy.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/fy.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/ga.py
+${PYSITELIB}/dateparser/data/date_translation_data/ga.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/ga.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/gd.py
+${PYSITELIB}/dateparser/data/date_translation_data/gd.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/gd.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/gl.py
+${PYSITELIB}/dateparser/data/date_translation_data/gl.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/gl.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/gsw.py
+${PYSITELIB}/dateparser/data/date_translation_data/gsw.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/gsw.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/gu.py
+${PYSITELIB}/dateparser/data/date_translation_data/gu.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/gu.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/guz.py
+${PYSITELIB}/dateparser/data/date_translation_data/guz.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/guz.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/gv.py
+${PYSITELIB}/dateparser/data/date_translation_data/gv.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/gv.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/ha.py
+${PYSITELIB}/dateparser/data/date_translation_data/ha.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/ha.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/haw.py
+${PYSITELIB}/dateparser/data/date_translation_data/haw.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/haw.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/he.py
+${PYSITELIB}/dateparser/data/date_translation_data/he.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/he.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/hi.py
+${PYSITELIB}/dateparser/data/date_translation_data/hi.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/hi.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/hr.py
+${PYSITELIB}/dateparser/data/date_translation_data/hr.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/hr.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/hsb.py
+${PYSITELIB}/dateparser/data/date_translation_data/hsb.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/hsb.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/hu.py
+${PYSITELIB}/dateparser/data/date_translation_data/hu.pyc
+${PYSITELIB}/dateparser/data/date_translation_data/hu.pyo
+${PYSITELIB}/dateparser/data/date_translation_data/hy.py



Home | Main Index | Thread Index | Old Index