pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/py-maya py-maya: updated to 0.6.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0345db225440
branches:  trunk
changeset: 425339:0345db225440
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Mar 21 12:56:46 2020 +0000

description:
py-maya: updated to 0.6.1

v0.6.1
Fixed
Intervals don't produce an infinite generator

v0.5.0
Added
Localization for MayaDT.slang_time() and MayaDT.slang_date()

v0.4.3
Fixed
Fix RFC3339 representation.

v0.4.2
Added
Support local_datetime() method on MayaDT object to get it as datetime.datetime with local timezone.

v0.4.1
Fixed
Limited support pendulum versions to >= 1.0 and <= 1.5.1.

v0.4.0
Added
ISO 8601 format support for MayaInterval
Parsing snap modifiers
Allow specifying if datetime is from the past, current period or future when parsing with maya.when()

Fixed
Fix timezone problem when converting time from struct
Fix subtracting MayaDT objects

diffstat:

 time/py-maya/Makefile               |  12 +++++++-----
 time/py-maya/distinfo               |  11 +++++------
 time/py-maya/patches/patch-setup.py |  23 -----------------------
 3 files changed, 12 insertions(+), 34 deletions(-)

diffs (75 lines):

diff -r 42851576da8a -r 0345db225440 time/py-maya/Makefile
--- a/time/py-maya/Makefile     Sat Mar 21 12:54:50 2020 +0000
+++ b/time/py-maya/Makefile     Sat Mar 21 12:56:46 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2017/10/28 08:54:11 adam Exp $
+# $NetBSD: Makefile,v 1.3 2020/03/21 12:56:46 adam Exp $
 
-DISTNAME=      maya-0.3.3
+DISTNAME=      maya-0.6.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/maya/}
@@ -10,14 +10,16 @@
 COMMENT=       Human-friendly date and time handling
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-dateparser-[0-9]*:../../time/py-dateparser
+DEPENDS+=      ${PYPKGPREFIX}-dateparser>=0.7.0:../../time/py-dateparser
 DEPENDS+=      ${PYPKGPREFIX}-humanize-[0-9]*:../../textproc/py-humanize
-DEPENDS+=      ${PYPKGPREFIX}-pendulum-[0-9]*:../../time/py-pendulum
+DEPENDS+=      ${PYPKGPREFIX}-pendulum>=2.0.2:../../time/py-pendulum
 DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
-DEPENDS+=      ${PYPKGPREFIX}-ruamel-yaml>=0.10.12:../../devel/py-ruamel-yaml
+DEPENDS+=      ${PYPKGPREFIX}-snaptime-[0-9]*:../../time/py-snaptime
 DEPENDS+=      ${PYPKGPREFIX}-tzlocal-[0-9]*:../../time/py-tzlocal
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-humanize
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 42851576da8a -r 0345db225440 time/py-maya/distinfo
--- a/time/py-maya/distinfo     Sat Mar 21 12:54:50 2020 +0000
+++ b/time/py-maya/distinfo     Sat Mar 21 12:56:46 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.3 2017/10/31 09:22:21 jperkin Exp $
+$NetBSD: distinfo,v 1.4 2020/03/21 12:56:46 adam Exp $
 
-SHA1 (maya-0.3.3.tar.gz) = 057ef0cdd2f5ea4d11dd6eeb59873169da9ff2d3
-RMD160 (maya-0.3.3.tar.gz) = 00c619fd835e660ea45ef405b7c93a4da3bb8c32
-SHA512 (maya-0.3.3.tar.gz) = b9cd1836607f482aaa8e3d1a7f22f0848602386959d8e3e0b040dd0a7b6e0cb13885085f333a1f064ead1b81a554467b05cd6bd65b9d53a08ff6c7d884f45806
-Size (maya-0.3.3.tar.gz) = 9781 bytes
-SHA1 (patch-setup.py) = c942fcc6a361eda8029b4d08fc08962adc97526e
+SHA1 (maya-0.6.1.tar.gz) = 414ae4626970699a1708766f30fb932dc1ac1e65
+RMD160 (maya-0.6.1.tar.gz) = f9f46ac004756a2f98b31cbeec758b4472f4c31c
+SHA512 (maya-0.6.1.tar.gz) = 11d721de6d63cfed3980fc3fdd0c857d981f5286ee4cdb02cd464e69684f4461fae9d23e1b957855071d6408ef0fbb4f55c39914750c939af77a2b38a30cbfee
+Size (maya-0.6.1.tar.gz) = 14387 bytes
diff -r 42851576da8a -r 0345db225440 time/py-maya/patches/patch-setup.py
--- a/time/py-maya/patches/patch-setup.py       Sat Mar 21 12:54:50 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2017/10/31 09:22:22 jperkin Exp $
-
-Fix python27.
-
---- setup.py.orig      2017-07-27 20:19:27.000000000 +0000
-+++ setup.py
-@@ -1,6 +1,7 @@
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- 
-+import io
- import os
- import sys
- import codecs
-@@ -39,7 +40,7 @@ packages = [
- 
- # About dict to store version and package info
- about = dict()
--with open(os.path.join(here, 'maya', '__version__.py'), 'r', encoding='utf-8') as f:
-+with io.open(os.path.join(here, 'maya', '__version__.py'), mode='r', encoding='utf-8') as f:
-     exec(f.read(), about)
- 
- setup(



Home | Main Index | Thread Index | Old Index