summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorfhajny <fhajny>2016-04-05 10:31:38 +0000
committerfhajny <fhajny>2016-04-05 10:31:38 +0000
commiteff109cd7743842075b36b65c3d03d19a77426cf (patch)
tree50d13071f38e45fb0718a7bdb5d4f95d1a59cabc /time
parenta53061e480efed41f43cd50a610d65bc26e97dee (diff)
downloadpkgsrc-eff109cd7743842075b36b65c3d03d19a77426cf.tar.gz
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 <a href> 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.
Diffstat (limited to 'time')
-rw-r--r--time/py-parsedatetime/Makefile13
-rw-r--r--time/py-parsedatetime/PLIST46
-rw-r--r--time/py-parsedatetime/distinfo9
3 files changed, 52 insertions, 16 deletions
diff --git a/time/py-parsedatetime/Makefile b/time/py-parsedatetime/Makefile
index 9e1cb516e19..79ed1edf165 100644
--- a/time/py-parsedatetime/Makefile
+++ b/time/py-parsedatetime/Makefile
@@ -1,18 +1,17 @@
-# $NetBSD: Makefile,v 1.5 2014/01/19 19:52:44 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2016/04/05 10:31:38 fhajny Exp $
-DISTNAME= v1.1.2
-PKGNAME= ${PYPKGPREFIX}-parsedatetime-${DISTNAME:S/v//}
+DISTNAME= parsedatetime-2.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= time python
-MASTER_SITES= https://github.com/bear/parsedatetime/archive/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=bear/}
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
-DIST_SUBDIR= py-parsedatetime
-WRKSRC= ${WRKDIR}/parsedatetime-${DISTNAME:S/v//}
-EGG_NAME= parsedatetime-${DISTNAME:S/v//}
+GITHUB_PROJECT= parsedatetime
+GITHUB_TAG= v${PKGVERSION_NOREV}
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/time/py-parsedatetime/PLIST b/time/py-parsedatetime/PLIST
index 2de33a2db3a..3c16f450a97 100644
--- a/time/py-parsedatetime/PLIST
+++ b/time/py-parsedatetime/PLIST
@@ -1,11 +1,47 @@
-@comment $NetBSD: PLIST,v 1.4 2014/01/19 19:52:44 wiz Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.5 2016/04/05 10:31:38 fhajny Exp $
+${PYSITELIB}/${EGG_FILE}/PKG-INFO
+${PYSITELIB}/${EGG_FILE}/SOURCES.txt
+${PYSITELIB}/${EGG_FILE}/dependency_links.txt
+${PYSITELIB}/${EGG_FILE}/top_level.txt
${PYSITELIB}/parsedatetime/__init__.py
${PYSITELIB}/parsedatetime/__init__.pyc
${PYSITELIB}/parsedatetime/__init__.pyo
+${PYSITELIB}/parsedatetime/context.py
+${PYSITELIB}/parsedatetime/context.pyc
+${PYSITELIB}/parsedatetime/context.pyo
${PYSITELIB}/parsedatetime/parsedatetime.py
${PYSITELIB}/parsedatetime/parsedatetime.pyc
${PYSITELIB}/parsedatetime/parsedatetime.pyo
-${PYSITELIB}/parsedatetime/pdt_locales.py
-${PYSITELIB}/parsedatetime/pdt_locales.pyc
-${PYSITELIB}/parsedatetime/pdt_locales.pyo
+${PYSITELIB}/parsedatetime/pdt_locales/__init__.py
+${PYSITELIB}/parsedatetime/pdt_locales/__init__.pyc
+${PYSITELIB}/parsedatetime/pdt_locales/__init__.pyo
+${PYSITELIB}/parsedatetime/pdt_locales/base.py
+${PYSITELIB}/parsedatetime/pdt_locales/base.pyc
+${PYSITELIB}/parsedatetime/pdt_locales/base.pyo
+${PYSITELIB}/parsedatetime/pdt_locales/de_DE.py
+${PYSITELIB}/parsedatetime/pdt_locales/de_DE.pyc
+${PYSITELIB}/parsedatetime/pdt_locales/de_DE.pyo
+${PYSITELIB}/parsedatetime/pdt_locales/en_AU.py
+${PYSITELIB}/parsedatetime/pdt_locales/en_AU.pyc
+${PYSITELIB}/parsedatetime/pdt_locales/en_AU.pyo
+${PYSITELIB}/parsedatetime/pdt_locales/en_US.py
+${PYSITELIB}/parsedatetime/pdt_locales/en_US.pyc
+${PYSITELIB}/parsedatetime/pdt_locales/en_US.pyo
+${PYSITELIB}/parsedatetime/pdt_locales/es.py
+${PYSITELIB}/parsedatetime/pdt_locales/es.pyc
+${PYSITELIB}/parsedatetime/pdt_locales/es.pyo
+${PYSITELIB}/parsedatetime/pdt_locales/icu.py
+${PYSITELIB}/parsedatetime/pdt_locales/icu.pyc
+${PYSITELIB}/parsedatetime/pdt_locales/icu.pyo
+${PYSITELIB}/parsedatetime/pdt_locales/nl_NL.py
+${PYSITELIB}/parsedatetime/pdt_locales/nl_NL.pyc
+${PYSITELIB}/parsedatetime/pdt_locales/nl_NL.pyo
+${PYSITELIB}/parsedatetime/pdt_locales/pt_BR.py
+${PYSITELIB}/parsedatetime/pdt_locales/pt_BR.pyc
+${PYSITELIB}/parsedatetime/pdt_locales/pt_BR.pyo
+${PYSITELIB}/parsedatetime/pdt_locales/ru_RU.py
+${PYSITELIB}/parsedatetime/pdt_locales/ru_RU.pyc
+${PYSITELIB}/parsedatetime/pdt_locales/ru_RU.pyo
+${PYSITELIB}/parsedatetime/warns.py
+${PYSITELIB}/parsedatetime/warns.pyc
+${PYSITELIB}/parsedatetime/warns.pyo
diff --git a/time/py-parsedatetime/distinfo b/time/py-parsedatetime/distinfo
index 3a004d347e0..c75b3ebc788 100644
--- a/time/py-parsedatetime/distinfo
+++ b/time/py-parsedatetime/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2014/01/19 19:52:44 wiz Exp $
+$NetBSD: distinfo,v 1.3 2016/04/05 10:31:38 fhajny Exp $
-SHA1 (py-parsedatetime/v1.1.2.tar.gz) = a931e3afc0f720e1c9c7eacd34a0a29a0a2dedab
-RMD160 (py-parsedatetime/v1.1.2.tar.gz) = 96cee10056358423b9a6fc21ac3a347cf5b66fe6
-Size (py-parsedatetime/v1.1.2.tar.gz) = 48868 bytes
+SHA1 (parsedatetime-2.1.tar.gz) = b6af40bd8dbef67b0cf6ccc4122e7647f20980b0
+RMD160 (parsedatetime-2.1.tar.gz) = 78bacb7b75c24f072d11e4a464547b0155620736
+SHA512 (parsedatetime-2.1.tar.gz) = c3447c899aa56319e09b21c117ad4036e23727346d15d8d5fc60f89d439984f032950a9c6534f763c8dd09c74f078ddfaee1c77880dab4a4845393f5145db9a1
+Size (parsedatetime-2.1.tar.gz) = 61170 bytes