pkgsrc/time/py-dateparser/Makefile
adam 80f756fcef 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
2020-06-20 07:18:42 +00:00

26 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2020/06/20 07:18:42 adam Exp $
DISTNAME= dateparser-0.7.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= time python
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}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-regex>2019.02.19:../../textproc/py-regex
DEPENDS+= ${PYPKGPREFIX}-tzlocal-[0-9]*:../../time/py-tzlocal
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
TEST_DEPENDS+= ${PYPKGPREFIX}-parameterized-[0-9]*:../../devel/py-parameterized
TEST_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"