Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2019 23:12:14 +0000 (UTC)
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496693 - in head/devel: . py-dateparser
Message-ID:  <201903232312.x2NNCEcQ094083@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: grembo
Date: Sat Mar 23 23:12:14 2019
New Revision: 496693
URL: https://svnweb.freebsd.org/changeset/ports/496693

Log:
  Add dateparser, which provides python modules to easily parse localized
  dates in almost any string formats commonly found on web pages.
  
  PR:		236684

Added:
  head/devel/py-dateparser/
  head/devel/py-dateparser/Makefile   (contents, props changed)
  head/devel/py-dateparser/distinfo   (contents, props changed)
  head/devel/py-dateparser/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Mar 23 23:08:49 2019	(r496692)
+++ head/devel/Makefile	Sat Mar 23 23:12:14 2019	(r496693)
@@ -4520,6 +4520,7 @@
     SUBDIR += py-darcsver
     SUBDIR += py-darts.util.lru
     SUBDIR += py-datatest
+    SUBDIR += py-dateparser
     SUBDIR += py-dateutil
     SUBDIR += py-dateutils
     SUBDIR += py-datrie

Added: head/devel/py-dateparser/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-dateparser/Makefile	Sat Mar 23 23:12:14 2019	(r496693)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	dateparser
+PORTVERSION=	0.7.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	grembo@FreeBSD.org
+COMMENT=	Provides modules to easily parse localized dates
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dateutil>=2.0:devel/py-dateutil@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}regex>0:textproc/py-regex@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tzlocal>=1.2:devel/py-tzlocal@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-dateparser/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-dateparser/distinfo	Sat Mar 23 23:12:14 2019	(r496693)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1553006470
+SHA256 (dateparser-0.7.1.tar.gz) = 42d51be54e74a8e80a4d76d1fa6e4edd997098fce24ad2d94a2eab5ef247193e
+SIZE (dateparser-0.7.1.tar.gz) = 309095

Added: head/devel/py-dateparser/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-dateparser/pkg-descr	Sat Mar 23 23:12:14 2019	(r496693)
@@ -0,0 +1,4 @@
+dateparser provides modules to easily parse localized dates in almost
+any string formats commonly found on web pages.
+
+WWW: https://github.com/scrapinghub/dateparser



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903232312.x2NNCEcQ094083>