summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-09-29 21:21:52 +0000
committerjoerg <joerg@pkgsrc.org>2017-09-29 21:21:52 +0000
commit7de434c8c14c562be5b1004c7dc69958dbdd9d9e (patch)
tree31e72201f9d7495c4ec8acd9f2ba6e0db9cacb67 /time
parent3acd425b81265f88b0d810f9c7b1dad04ec883b6 (diff)
downloadpkgsrc-7de434c8c14c562be5b1004c7dc69958dbdd9d9e.tar.gz
Add py-dateparser-0.6.0:
dateparser provides modules to easily parse localized dates in almost any string formats commonly found on web pages.
Diffstat (limited to 'time')
-rw-r--r--time/py-dateparser/DESCR2
-rw-r--r--time/py-dateparser/Makefile22
-rw-r--r--time/py-dateparser/PLIST104
-rw-r--r--time/py-dateparser/distinfo6
4 files changed, 134 insertions, 0 deletions
diff --git a/time/py-dateparser/DESCR b/time/py-dateparser/DESCR
new file mode 100644
index 00000000000..91ce2d137db
--- /dev/null
+++ b/time/py-dateparser/DESCR
@@ -0,0 +1,2 @@
+dateparser provides modules to easily parse localized dates in almost any
+string formats commonly found on web pages.
diff --git a/time/py-dateparser/Makefile b/time/py-dateparser/Makefile
new file mode 100644
index 00000000000..cd0132bbba5
--- /dev/null
+++ b/time/py-dateparser/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2017/09/29 21:21:52 joerg Exp $
+
+DISTNAME= dateparser-0.6.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= python time
+MASTER_SITES= ${MASTER_SITE_PYPI:=d/dateparser/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/scrapinghub/dateparser
+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}-tzlocal-[0-9]*:../../time/py-tzlocal
+
+# XXX Test needs nose.parameterized
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/py-dateparser/PLIST b/time/py-dateparser/PLIST
new file mode 100644
index 00000000000..794f5225a40
--- /dev/null
+++ b/time/py-dateparser/PLIST
@@ -0,0 +1,104 @@
+@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
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/dateparser/__init__.py
+${PYSITELIB}/dateparser/__init__.pyc
+${PYSITELIB}/dateparser/__init__.pyo
+${PYSITELIB}/dateparser/calendars/__init__.py
+${PYSITELIB}/dateparser/calendars/__init__.pyc
+${PYSITELIB}/dateparser/calendars/__init__.pyo
+${PYSITELIB}/dateparser/calendars/hijri.py
+${PYSITELIB}/dateparser/calendars/hijri.pyc
+${PYSITELIB}/dateparser/calendars/hijri.pyo
+${PYSITELIB}/dateparser/calendars/hijri_parser.py
+${PYSITELIB}/dateparser/calendars/hijri_parser.pyc
+${PYSITELIB}/dateparser/calendars/hijri_parser.pyo
+${PYSITELIB}/dateparser/calendars/jalali.py
+${PYSITELIB}/dateparser/calendars/jalali.pyc
+${PYSITELIB}/dateparser/calendars/jalali.pyo
+${PYSITELIB}/dateparser/calendars/jalali_parser.py
+${PYSITELIB}/dateparser/calendars/jalali_parser.pyc
+${PYSITELIB}/dateparser/calendars/jalali_parser.pyo
+${PYSITELIB}/dateparser/conf.py
+${PYSITELIB}/dateparser/conf.pyc
+${PYSITELIB}/dateparser/conf.pyo
+${PYSITELIB}/dateparser/date.py
+${PYSITELIB}/dateparser/date.pyc
+${PYSITELIB}/dateparser/date.pyo
+${PYSITELIB}/dateparser/date_parser.py
+${PYSITELIB}/dateparser/date_parser.pyc
+${PYSITELIB}/dateparser/date_parser.pyo
+${PYSITELIB}/dateparser/freshness_date_parser.py
+${PYSITELIB}/dateparser/freshness_date_parser.pyc
+${PYSITELIB}/dateparser/freshness_date_parser.pyo
+${PYSITELIB}/dateparser/languages/__init__.py
+${PYSITELIB}/dateparser/languages/__init__.pyc
+${PYSITELIB}/dateparser/languages/__init__.pyo
+${PYSITELIB}/dateparser/languages/detection.py
+${PYSITELIB}/dateparser/languages/detection.pyc
+${PYSITELIB}/dateparser/languages/detection.pyo
+${PYSITELIB}/dateparser/languages/dictionary.py
+${PYSITELIB}/dateparser/languages/dictionary.pyc
+${PYSITELIB}/dateparser/languages/dictionary.pyo
+${PYSITELIB}/dateparser/languages/language.py
+${PYSITELIB}/dateparser/languages/language.pyc
+${PYSITELIB}/dateparser/languages/language.pyo
+${PYSITELIB}/dateparser/languages/loader.py
+${PYSITELIB}/dateparser/languages/loader.pyc
+${PYSITELIB}/dateparser/languages/loader.pyo
+${PYSITELIB}/dateparser/languages/validation.py
+${PYSITELIB}/dateparser/languages/validation.pyc
+${PYSITELIB}/dateparser/languages/validation.pyo
+${PYSITELIB}/dateparser/parser.py
+${PYSITELIB}/dateparser/parser.pyc
+${PYSITELIB}/dateparser/parser.pyo
+${PYSITELIB}/dateparser/timezone_parser.py
+${PYSITELIB}/dateparser/timezone_parser.pyc
+${PYSITELIB}/dateparser/timezone_parser.pyo
+${PYSITELIB}/dateparser/timezones.py
+${PYSITELIB}/dateparser/timezones.pyc
+${PYSITELIB}/dateparser/timezones.pyo
+${PYSITELIB}/dateparser/utils/__init__.py
+${PYSITELIB}/dateparser/utils/__init__.pyc
+${PYSITELIB}/dateparser/utils/__init__.pyo
+${PYSITELIB}/dateparser/utils/strptime.py
+${PYSITELIB}/dateparser/utils/strptime.pyc
+${PYSITELIB}/dateparser/utils/strptime.pyo
diff --git a/time/py-dateparser/distinfo b/time/py-dateparser/distinfo
new file mode 100644
index 00000000000..63366858c8b
--- /dev/null
+++ b/time/py-dateparser/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/09/29 21:21:52 joerg Exp $
+
+SHA1 (dateparser-0.6.0.tar.gz) = b667cd1e1185325829b22200e76891e78c0914d5
+RMD160 (dateparser-0.6.0.tar.gz) = 284ba1f95884c46d8aa2dc69d5251dc5cb7a0f82
+SHA512 (dateparser-0.6.0.tar.gz) = 3347ab8c6e961f52d06ce5f1eba8d613ca3bacf011043168a9523f9ee977834c87a497e2a28f43f592999bffdb95240935c259ddde73af373d8428eb441983d0
+Size (dateparser-0.6.0.tar.gz) = 101754 bytes