head 1.14; access; symbols pkgsrc-2023Q4:1.14.0.16 pkgsrc-2023Q4-base:1.14 pkgsrc-2023Q3:1.14.0.14 pkgsrc-2023Q3-base:1.14 pkgsrc-2023Q2:1.14.0.12 pkgsrc-2023Q2-base:1.14 pkgsrc-2023Q1:1.14.0.10 pkgsrc-2023Q1-base:1.14 pkgsrc-2022Q4:1.14.0.8 pkgsrc-2022Q4-base:1.14 pkgsrc-2022Q3:1.14.0.6 pkgsrc-2022Q3-base:1.14 pkgsrc-2022Q2:1.14.0.4 pkgsrc-2022Q2-base:1.14 pkgsrc-2022Q1:1.14.0.2 pkgsrc-2022Q1-base:1.14 pkgsrc-2021Q4:1.13.0.14 pkgsrc-2021Q4-base:1.13 pkgsrc-2021Q3:1.13.0.12 pkgsrc-2021Q3-base:1.13 pkgsrc-2021Q2:1.13.0.10 pkgsrc-2021Q2-base:1.13 pkgsrc-2021Q1:1.13.0.8 pkgsrc-2021Q1-base:1.13 pkgsrc-2020Q4:1.13.0.6 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.13.0.4 pkgsrc-2020Q3-base:1.13 pkgsrc-2020Q2:1.13.0.2 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.12.0.2 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.12.0.4 pkgsrc-2019Q4-base:1.12 pkgsrc-2019Q3:1.11.0.22 pkgsrc-2019Q3-base:1.11 pkgsrc-2019Q2:1.11.0.20 pkgsrc-2019Q2-base:1.11 pkgsrc-2019Q1:1.11.0.18 pkgsrc-2019Q1-base:1.11 pkgsrc-2018Q4:1.11.0.16 pkgsrc-2018Q4-base:1.11 pkgsrc-2018Q3:1.11.0.14 pkgsrc-2018Q3-base:1.11 pkgsrc-2018Q2:1.11.0.12 pkgsrc-2018Q2-base:1.11 pkgsrc-2018Q1:1.11.0.10 pkgsrc-2018Q1-base:1.11 pkgsrc-2017Q4:1.11.0.8 pkgsrc-2017Q4-base:1.11 pkgsrc-2017Q3:1.11.0.6 pkgsrc-2017Q3-base:1.11 pkgsrc-2017Q2:1.11.0.2 pkgsrc-2017Q2-base:1.11 pkgsrc-2017Q1:1.10.0.2 pkgsrc-2017Q1-base:1.10 pkgsrc-2016Q4:1.7.0.8 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.6 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.4 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.2 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.5.0.16 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.14 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.12 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.10 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.8 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.6 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.4 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.2 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.4.0.10 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.8 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.6 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.4 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.3.0.18 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.16 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.14 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.12 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.10 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.8 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.6 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.4 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.2 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.2.0.10 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.8 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.6 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.4 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.2 pkgsrc-2009Q2-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.14 date 2022.01.04.20.55.12; author wiz; state Exp; branches; next 1.13; commitid CYyhdK9qtoffkmnD; 1.13 date 2020.06.01.05.14.49; author adam; state Exp; branches; next 1.12; commitid SHYZHFAjmzQyQtaC; 1.12 date 2019.11.25.06.39.49; author adam; state Exp; branches; next 1.11; commitid lyO9yFgSBaBgocMB; 1.11 date 2017.05.16.09.27.52; author adam; state Exp; branches; next 1.10; commitid mpPqPm9iWaaCZARz; 1.10 date 2017.03.13.10.17.36; author wiz; state Exp; branches; next 1.9; commitid E9f6mPUoSygbknJz; 1.9 date 2017.02.15.00.53.26; author joerg; state Exp; branches; next 1.8; commitid srHyhCJWb0pu2ZFz; 1.8 date 2017.01.24.13.18.04; author fhajny; state Exp; branches; next 1.7; commitid gSTObkPvShOORdDz; 1.7 date 2016.04.05.14.07.45; author wiz; state Exp; branches; next 1.6; commitid e7vnXQEpBHIMAr1z; 1.6 date 2016.04.05.10.31.38; author fhajny; state Exp; branches; next 1.5; commitid hwBzyt3a2Ccsoq1z; 1.5 date 2014.01.19.19.52.44; author wiz; state Exp; branches; next 1.4; commitid 8ShzlQpowp1krLlx; 1.4 date 2012.10.08.13.04.28; author asau; state Exp; branches; next 1.3; 1.3 date 2010.09.04.18.45.22; author tron; state Exp; branches; next 1.2; 1.2 date 2009.05.31.17.02.24; author tron; state Exp; branches; next 1.1; 1.1 date 2009.05.31.16.51.37; author tron; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2009.05.31.16.51.37; author tron; state Exp; branches; next ; desc @@ 1.14 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @# $NetBSD: Makefile,v 1.13 2020/06/01 05:14:49 adam Exp $ DISTNAME= parsedatetime-2.6 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGREVISION= 1 CATEGORIES= time python MASTER_SITES= ${MASTER_SITE_PYPI:=p/parsedatetime/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/bear/parsedatetime COMMENT= Python module for parsing human-readable date/time text LICENSE= apache-2.0 USE_LANGUAGES= # none .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.13 log @py-parsedatetime: updated to 2.6 v2.6 release Polished README.rst fix pyicu import to suppress warnings Fixed missing comma in seconds strings Updated Pipfile and Makefile to: - update and move packages to the "dev" section - use Python 3.7 for pipenv - install tox-pipenv plugin to try and fix Tox (currently doesn't) - simplify tox.ini to try and fix Tox (didn't) - move ci makefile target to the circle config @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2019/11/25 06:39:49 adam Exp $ d5 1 @ 1.12 log @py-parsedatetime: updated to 2.5 v2.5: Fix to sanitize abbreviated months from icu typo in RU locale in abbreviation for January Fix lint errors for flake8 v3.5.0 Add a constant for start hour Add 'secs' and 'mins' into base units Remove unused dependency on future @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2017/05/16 09:27:52 adam Exp $ d3 1 a3 1 DISTNAME= parsedatetime-2.5 @ 1.11 log @Changes 2.4: Issue 219 - remove 'setup_requires' from setup.py @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2017/03/13 10:17:36 wiz Exp $ d3 1 a3 1 DISTNAME= parsedatetime-2.4 d13 1 a13 2 DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner @ 1.10 log @Updated py-parsedatetime to 2.3. Fix for Issue #215 (test failure) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2017/02/15 00:53:26 joerg Exp $ d3 1 a3 1 DISTNAME= parsedatetime-2.3 d6 1 a6 1 MASTER_SITES= ${MASTER_SITE_GITHUB:=bear/} a12 3 GITHUB_PROJECT= parsedatetime GITHUB_TAG= v${PKGVERSION_NOREV} @ 1.9 log @Add missing py-test-runner dependency. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2017/01/24 13:18:04 fhajny Exp $ d3 1 a3 1 DISTNAME= parsedatetime-2.2 @ 1.8 log @Update time/py-parsedatetime to 2.2. - Added French locale support - Added Python 2.6 support - Minor fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2016/04/05 14:07:45 wiz Exp $ d17 1 @ 1.7 log @Fix build. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2016/04/05 10:31:38 fhajny Exp $ d3 1 a3 1 DISTNAME= parsedatetime-2.1 d16 2 @ 1.6 log @Update time/py-parsedatetime to 2.1 (in-freeze, OK by wiz). v2.1 - Issue #156 parsedatetime 2.0 doesn't work on py26 v2.0 - Issue #155 Relative times containing years fail when computed from a leap day - Issue #145 cal.parse('2015-11-18') returns November 19th 2015 - Issue #143 What is the second value returned by `parse`? - Issue #141 Bad test case in TestComplexDateTimes - Issue #123 update supporting files for v2.0 release - Issue #124 Put locales into config-files (yaml) - Issue #125 Remove extra files - Issue #137 Year is parsed wrongly if the date is of format MMM DD, YYxx xx:SS bug - Issue #136 Why I see 2016 instead of 2015? - Issue #133 Bug: "2015-01-01" is parsed as the current date. - Issue #126 "Unresolved attribute reference 'parse' for class 'object'... " in Pycharm IDE. bug - Issue #120 the pdt_locales/en_AU.py file uses en_A for the localID instead of en_AU - Issue #114 Dates in the format 'YYYY-MM-DD HH:MM' give the incorrect month and day - Issue #112 Document getting a time from parsedatetime into a standard Python structure - Issue #110 AttributeError when running in the context of an HTTP request - Issue #109 YearParseStyle is ignored for dates in MM/DD style - Issue #107 yyyy/mm/dd date format - Issue #105 "this week" is not parsed - Issue #103 get UTC times from parseDT - trouble with at 9:30 clock times being interpreted directly in UTC - Issue #100 Fractional deltas result in incoherent results. - PR #118 ADD: improve russian locale - PR #117 ADD: Russian Locale - PR #116 Fix spelling of "separator". - PR #115 Update README.rst - PR #113 Add datetime example to readme. - PR #111 Allowed real number appear in text like "5.5 days ago" v1.5 - Issue #99 Which year is implied when given just a month and day? Next and last? question - Issue #96 Word boundary issues for specials (on, at, in) in nlp - Issue #94 inconsistent application of sourceTime in Calendar.parseDT - Issue #87 nlp() doesn't recognize some "next ..." expressions - Issue #84 Afternoon? bug - Issue #82 'last week' and 'next week' are broken - Issue #81 parse returns default time of 0900 with dates like 'next friday' despite passed struct_time bug - Issue #78 Link for Travis in README is wrong - Issue #72 Enable travis - Issue #71 Calendar() class can not be initialized 1.4 (it's fine) - Issue #66 Unexpected struct_time flag with Calendar.parse on HTML string - Issue #65 NLP false positives - Issue #63 Supporting multiple shortweekday abbreviations - Issue #61 Short weekday abbreviations bug - Issue #56 Parse words to numbers (thirteen => 13) - Issue #54 testMonths fails - commit 107c7e4655 fix for issue 95 - parsing 'next june 15' - commit 2c0c8ec778 Fixed faulty test, "730am" parses as "73:0 am" which is a bug for a later day. - commit 6f244e891d Fix "ones" parsing as "1s." Require a word boundary between spelled numbers and units. - commit 035818edef Fix "1 day ago" parsing like "1d 1y ago" where "a" within the word "day" is interpreted as 1. - commit 45002e6eec Fixes "next week" and similar modifier + unit pairs in nlp() - commit 47d2e1d527 Fixed "last week" v1.4 - Updated setup.py for wheel compatibility - renamed README.txt to README.rst - renamed MANIFEST to MANIFEST.in - cleaned up a lot of the doc and notes - Commit 3fc165e701 mafagafo Now it works for Python 3.4.1 - Commit d5883801e7 borgstrom Restore Python 2.6 compatibility 1.3 - Issue #45 make a new release to really fix backwards compatibility - Issue #43 Please tag version 1.3 - Commit 29c5c8961d devainandor fixed Python 3 compatibility in pdtLocale_icu - Commit d7304f18f7 inean Fix support for 'now' when no modifiers are present - Commit 26bfc91c28 sashaacker Added parseDT method. - Commit 848deb47e2 rmecham Added support for dotted meridians. - Commit c821e08ce2 ccho-sevenrooms corrected misspelling of 'thirteen' - Biggest change is the addition of the nlp() function by Geoffrey Floyd: nlp() function that utilizes parse() after making judgements about what datetime information belongs together. It makes logical groupings based on proximity and returns a parsed datetime for each matched grouping of datetime text, along with location info within the given inputString. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2014/01/19 19:52:44 wiz Exp $ d16 1 a16 1 .include "../../lang/python/distutils.mk" @ 1.5 log @Update to 1.1.2: 03 Mar 2013 - bear bumped version to 1.1.1 Ugh - debug log caused an error during formatting Issue 10 https://github.com/bear/parsedatetime/issues/10 14 Nov 2012 - bear Added test for "last friday" Updated MANIFEST to reflect renamed README file Bumped version to 1.1 15 Mar 2011 - bear Updated 1.0.0 code to work with 2.6+ (need to try 2.5) and also updated docs and other supporting code 07 Sep 2009 - bear Created branches/python25 from current trunk to save the current code Converted trunk to Python 3 and also refactored how the module is structured so that it no longer requires import parsedatetime.parsedatetime Bumped version to 1.0.0 to reflect the major refactoring @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2012/10/08 13:04:28 asau Exp $ d3 2 a4 2 DISTNAME= v1.1.2 PKGNAME= ${PYPKGPREFIX}-parsedatetime-${DISTNAME:S/v//} d6 1 a6 1 MASTER_SITES= https://github.com/bear/parsedatetime/archive/ d13 2 a14 3 DIST_SUBDIR= py-parsedatetime WRKSRC= ${WRKDIR}/parsedatetime-${DISTNAME:S/v//} EGG_NAME= parsedatetime-${DISTNAME:S/v//} @ 1.4 log @Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2010/09/04 18:45:22 tron Exp $ d3 2 a4 2 DISTNAME= parsedatetime-0.8.7 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//} d6 1 a6 1 MASTER_SITES= ${HOMEPAGE} d9 1 a9 1 HOMEPAGE= http://code-bear.com/code/parsedatetime/ d13 3 a15 1 .include "../../mk/bsd.prefs.mk" d17 1 a17 4 post-extract: ${FIND} ${WRKSRC} -name "._*" -type f -print | ${XARGS} ${RM} -f .include "../../lang/python/egg.mk" @ 1.3 log @Remove me as maintainer. This module isn't very useful after all. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2009/05/31 17:02:24 tron Exp $ a12 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.2 log @Remove Mac OS X resource files and extracting the sources and don't list them in the package list. This avoids package list problems under Mac OS X and saves disk space on other platforms. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2009/05/31 16:51:37 tron Exp $ d8 1 a8 1 MAINTAINER= tron@@NetBSD.org @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d15 5 @ 1.1.1.1 log @Import new "py-parsedatetime" package: A collection of routines to input, parse and manipulate date and times. The text can either be 'normal' date values or it can be human readable. @ text @@