pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/py-pendulum



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Sep 29 21:18:49 UTC 2017

Added Files:
        pkgsrc/time/py-pendulum: DESCR Makefile PLIST distinfo

Log Message:
Add py-pendulum-1.2.5:

Native datetime instances are enough for basic cases but when you face
more complex use-cases they often show limitations and are not so
intuitive to work with. Pendulum provides a cleaner and more easy to use
API while still relying on the standard library. So it’s still datetime
but better.

Unlike other datetime libraries for Python, Pendulum is a drop-in
replacement for the standard datetime class (it inherits from it), so,
basically, you can replace all your datetime instances by Pendulum
instances in you code (exceptions exist for libraries that check the type
of the objects by using the type function like sqlite3 or PyMySQL for
instance).

It also removes the notion of naive datetimes: each Pendulum instance is
timezone-aware and by default in UTC for ease of use.

Pendulum also improves the standard timedelta class by providing more
intuitive methods and properties.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/time/py-pendulum/DESCR \
    pkgsrc/time/py-pendulum/Makefile pkgsrc/time/py-pendulum/PLIST \
    pkgsrc/time/py-pendulum/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/time/py-pendulum/DESCR
diff -u /dev/null pkgsrc/time/py-pendulum/DESCR:1.1
--- /dev/null   Fri Sep 29 21:18:49 2017
+++ pkgsrc/time/py-pendulum/DESCR       Fri Sep 29 21:18:49 2017
@@ -0,0 +1,18 @@
+Native datetime instances are enough for basic cases but when you face
+more complex use-cases they often show limitations and are not so
+intuitive to work with. Pendulum provides a cleaner and more easy to use
+API while still relying on the standard library. So it’s still datetime
+but better.
+
+Unlike other datetime libraries for Python, Pendulum is a drop-in
+replacement for the standard datetime class (it inherits from it), so,
+basically, you can replace all your datetime instances by Pendulum
+instances in you code (exceptions exist for libraries that check the type
+of the objects by using the type function like sqlite3 or PyMySQL for
+instance).
+
+It also removes the notion of naive datetimes: each Pendulum instance is
+timezone-aware and by default in UTC for ease of use.
+
+Pendulum also improves the standard timedelta class by providing more
+intuitive methods and properties.
Index: pkgsrc/time/py-pendulum/Makefile
diff -u /dev/null pkgsrc/time/py-pendulum/Makefile:1.1
--- /dev/null   Fri Sep 29 21:18:49 2017
+++ pkgsrc/time/py-pendulum/Makefile    Fri Sep 29 21:18:49 2017
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/09/29 21:18:49 joerg Exp $
+
+DISTNAME=      pendulum-1.2.5
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    python time
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pendulum/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/sdispater/pendulum
+COMMENT=       Human-friendly date and time handling
+LICENSE=       mit
+
+DEPENDS+=              ${PYPKGPREFIX}-tzdata-[0-9]*:../../time/py-tzdata
+DEPENDS+=              ${PYPKGPREFIX}-tzlocal-[0-9]*:../../time/py-tzlocal
+DEPENDS+=              ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/time/py-pendulum/PLIST
diff -u /dev/null pkgsrc/time/py-pendulum/PLIST:1.1
--- /dev/null   Fri Sep 29 21:18:49 2017
+++ pkgsrc/time/py-pendulum/PLIST       Fri Sep 29 21:18:49 2017
@@ -0,0 +1,270 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/29 21:18:49 joerg Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/pbr.json
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pendulum/__init__.py
+${PYSITELIB}/pendulum/__init__.pyc
+${PYSITELIB}/pendulum/__init__.pyo
+${PYSITELIB}/pendulum/_compat.py
+${PYSITELIB}/pendulum/_compat.pyc
+${PYSITELIB}/pendulum/_compat.pyo
+${PYSITELIB}/pendulum/_extensions/__init__.py
+${PYSITELIB}/pendulum/_extensions/__init__.pyc
+${PYSITELIB}/pendulum/_extensions/__init__.pyo
+${PYSITELIB}/pendulum/_extensions/_helpers.c
+${PYSITELIB}/pendulum/_extensions/_helpers.so
+${PYSITELIB}/pendulum/_extensions/helpers.py
+${PYSITELIB}/pendulum/_extensions/helpers.pyc
+${PYSITELIB}/pendulum/_extensions/helpers.pyo
+${PYSITELIB}/pendulum/_global.py
+${PYSITELIB}/pendulum/_global.pyc
+${PYSITELIB}/pendulum/_global.pyo
+${PYSITELIB}/pendulum/constants.py
+${PYSITELIB}/pendulum/constants.pyc
+${PYSITELIB}/pendulum/constants.pyo
+${PYSITELIB}/pendulum/date.py
+${PYSITELIB}/pendulum/date.pyc
+${PYSITELIB}/pendulum/date.pyo
+${PYSITELIB}/pendulum/exceptions.py
+${PYSITELIB}/pendulum/exceptions.pyc
+${PYSITELIB}/pendulum/exceptions.pyo
+${PYSITELIB}/pendulum/formatting/__init__.py
+${PYSITELIB}/pendulum/formatting/__init__.pyc
+${PYSITELIB}/pendulum/formatting/__init__.pyo
+${PYSITELIB}/pendulum/formatting/alternative_formatter.py
+${PYSITELIB}/pendulum/formatting/alternative_formatter.pyc
+${PYSITELIB}/pendulum/formatting/alternative_formatter.pyo
+${PYSITELIB}/pendulum/formatting/classic_formatter.py
+${PYSITELIB}/pendulum/formatting/classic_formatter.pyc
+${PYSITELIB}/pendulum/formatting/classic_formatter.pyo
+${PYSITELIB}/pendulum/formatting/difference_formatter.py
+${PYSITELIB}/pendulum/formatting/difference_formatter.pyc
+${PYSITELIB}/pendulum/formatting/difference_formatter.pyo
+${PYSITELIB}/pendulum/formatting/formatter.py
+${PYSITELIB}/pendulum/formatting/formatter.pyc
+${PYSITELIB}/pendulum/formatting/formatter.pyo
+${PYSITELIB}/pendulum/helpers.py
+${PYSITELIB}/pendulum/helpers.pyc
+${PYSITELIB}/pendulum/helpers.pyo
+${PYSITELIB}/pendulum/interval.py
+${PYSITELIB}/pendulum/interval.pyc
+${PYSITELIB}/pendulum/interval.pyo
+${PYSITELIB}/pendulum/lang/__init__.py
+${PYSITELIB}/pendulum/lang/__init__.pyc
+${PYSITELIB}/pendulum/lang/__init__.pyo
+${PYSITELIB}/pendulum/lang/af.py
+${PYSITELIB}/pendulum/lang/af.pyc
+${PYSITELIB}/pendulum/lang/af.pyo
+${PYSITELIB}/pendulum/lang/ar.py
+${PYSITELIB}/pendulum/lang/ar.pyc
+${PYSITELIB}/pendulum/lang/ar.pyo
+${PYSITELIB}/pendulum/lang/az.py
+${PYSITELIB}/pendulum/lang/az.pyc
+${PYSITELIB}/pendulum/lang/az.pyo
+${PYSITELIB}/pendulum/lang/bg.py
+${PYSITELIB}/pendulum/lang/bg.pyc
+${PYSITELIB}/pendulum/lang/bg.pyo
+${PYSITELIB}/pendulum/lang/bn.py
+${PYSITELIB}/pendulum/lang/bn.pyc
+${PYSITELIB}/pendulum/lang/bn.pyo
+${PYSITELIB}/pendulum/lang/ca.py
+${PYSITELIB}/pendulum/lang/ca.pyc
+${PYSITELIB}/pendulum/lang/ca.pyo
+${PYSITELIB}/pendulum/lang/cs.py
+${PYSITELIB}/pendulum/lang/cs.pyc
+${PYSITELIB}/pendulum/lang/cs.pyo
+${PYSITELIB}/pendulum/lang/da.py
+${PYSITELIB}/pendulum/lang/da.pyc
+${PYSITELIB}/pendulum/lang/da.pyo
+${PYSITELIB}/pendulum/lang/de.py
+${PYSITELIB}/pendulum/lang/de.pyc
+${PYSITELIB}/pendulum/lang/de.pyo
+${PYSITELIB}/pendulum/lang/el.py
+${PYSITELIB}/pendulum/lang/el.pyc
+${PYSITELIB}/pendulum/lang/el.pyo
+${PYSITELIB}/pendulum/lang/en.py
+${PYSITELIB}/pendulum/lang/en.pyc
+${PYSITELIB}/pendulum/lang/en.pyo
+${PYSITELIB}/pendulum/lang/eo.py
+${PYSITELIB}/pendulum/lang/eo.pyc
+${PYSITELIB}/pendulum/lang/eo.pyo
+${PYSITELIB}/pendulum/lang/es.py
+${PYSITELIB}/pendulum/lang/es.pyc
+${PYSITELIB}/pendulum/lang/es.pyo
+${PYSITELIB}/pendulum/lang/et.py
+${PYSITELIB}/pendulum/lang/et.pyc
+${PYSITELIB}/pendulum/lang/et.pyo
+${PYSITELIB}/pendulum/lang/eu.py
+${PYSITELIB}/pendulum/lang/eu.pyc
+${PYSITELIB}/pendulum/lang/eu.pyo
+${PYSITELIB}/pendulum/lang/fa.py
+${PYSITELIB}/pendulum/lang/fa.pyc
+${PYSITELIB}/pendulum/lang/fa.pyo
+${PYSITELIB}/pendulum/lang/fi.py
+${PYSITELIB}/pendulum/lang/fi.pyc
+${PYSITELIB}/pendulum/lang/fi.pyo
+${PYSITELIB}/pendulum/lang/fo.py
+${PYSITELIB}/pendulum/lang/fo.pyc
+${PYSITELIB}/pendulum/lang/fo.pyo
+${PYSITELIB}/pendulum/lang/fr.py
+${PYSITELIB}/pendulum/lang/fr.pyc
+${PYSITELIB}/pendulum/lang/fr.pyo
+${PYSITELIB}/pendulum/lang/gl.py
+${PYSITELIB}/pendulum/lang/gl.pyc
+${PYSITELIB}/pendulum/lang/gl.pyo
+${PYSITELIB}/pendulum/lang/he.py
+${PYSITELIB}/pendulum/lang/he.pyc
+${PYSITELIB}/pendulum/lang/he.pyo
+${PYSITELIB}/pendulum/lang/hr.py
+${PYSITELIB}/pendulum/lang/hr.pyc
+${PYSITELIB}/pendulum/lang/hr.pyo
+${PYSITELIB}/pendulum/lang/hu.py
+${PYSITELIB}/pendulum/lang/hu.pyc
+${PYSITELIB}/pendulum/lang/hu.pyo
+${PYSITELIB}/pendulum/lang/hy.py
+${PYSITELIB}/pendulum/lang/hy.pyc
+${PYSITELIB}/pendulum/lang/hy.pyo
+${PYSITELIB}/pendulum/lang/id.py
+${PYSITELIB}/pendulum/lang/id.pyc
+${PYSITELIB}/pendulum/lang/id.pyo
+${PYSITELIB}/pendulum/lang/it.py
+${PYSITELIB}/pendulum/lang/it.pyc
+${PYSITELIB}/pendulum/lang/it.pyo
+${PYSITELIB}/pendulum/lang/ja.py
+${PYSITELIB}/pendulum/lang/ja.pyc
+${PYSITELIB}/pendulum/lang/ja.pyo
+${PYSITELIB}/pendulum/lang/ka.py
+${PYSITELIB}/pendulum/lang/ka.pyc
+${PYSITELIB}/pendulum/lang/ka.pyo
+${PYSITELIB}/pendulum/lang/ko.py
+${PYSITELIB}/pendulum/lang/ko.pyc
+${PYSITELIB}/pendulum/lang/ko.pyo
+${PYSITELIB}/pendulum/lang/lt.py
+${PYSITELIB}/pendulum/lang/lt.pyc
+${PYSITELIB}/pendulum/lang/lt.pyo
+${PYSITELIB}/pendulum/lang/lv.py
+${PYSITELIB}/pendulum/lang/lv.pyc
+${PYSITELIB}/pendulum/lang/lv.pyo
+${PYSITELIB}/pendulum/lang/mk.py
+${PYSITELIB}/pendulum/lang/mk.pyc
+${PYSITELIB}/pendulum/lang/mk.pyo
+${PYSITELIB}/pendulum/lang/ms.py
+${PYSITELIB}/pendulum/lang/ms.pyc
+${PYSITELIB}/pendulum/lang/ms.pyo
+${PYSITELIB}/pendulum/lang/nl.py
+${PYSITELIB}/pendulum/lang/nl.pyc
+${PYSITELIB}/pendulum/lang/nl.pyo
+${PYSITELIB}/pendulum/lang/nn.py
+${PYSITELIB}/pendulum/lang/nn.pyc
+${PYSITELIB}/pendulum/lang/nn.pyo
+${PYSITELIB}/pendulum/lang/pl.py
+${PYSITELIB}/pendulum/lang/pl.pyc
+${PYSITELIB}/pendulum/lang/pl.pyo
+${PYSITELIB}/pendulum/lang/pt_br.py
+${PYSITELIB}/pendulum/lang/pt_br.pyc
+${PYSITELIB}/pendulum/lang/pt_br.pyo
+${PYSITELIB}/pendulum/lang/ro.py
+${PYSITELIB}/pendulum/lang/ro.pyc
+${PYSITELIB}/pendulum/lang/ro.pyo
+${PYSITELIB}/pendulum/lang/ru.py
+${PYSITELIB}/pendulum/lang/ru.pyc
+${PYSITELIB}/pendulum/lang/ru.pyo
+${PYSITELIB}/pendulum/lang/sk.py
+${PYSITELIB}/pendulum/lang/sk.pyc
+${PYSITELIB}/pendulum/lang/sk.pyo
+${PYSITELIB}/pendulum/lang/sl.py
+${PYSITELIB}/pendulum/lang/sl.pyc
+${PYSITELIB}/pendulum/lang/sl.pyo
+${PYSITELIB}/pendulum/lang/sq.py
+${PYSITELIB}/pendulum/lang/sq.pyc
+${PYSITELIB}/pendulum/lang/sq.pyo
+${PYSITELIB}/pendulum/lang/sr.py
+${PYSITELIB}/pendulum/lang/sr.pyc
+${PYSITELIB}/pendulum/lang/sr.pyo
+${PYSITELIB}/pendulum/lang/sv.py
+${PYSITELIB}/pendulum/lang/sv.pyc
+${PYSITELIB}/pendulum/lang/sv.pyo
+${PYSITELIB}/pendulum/lang/th.py
+${PYSITELIB}/pendulum/lang/th.pyc
+${PYSITELIB}/pendulum/lang/th.pyo
+${PYSITELIB}/pendulum/lang/tr.py
+${PYSITELIB}/pendulum/lang/tr.pyc
+${PYSITELIB}/pendulum/lang/tr.pyo
+${PYSITELIB}/pendulum/lang/uk.py
+${PYSITELIB}/pendulum/lang/uk.pyc
+${PYSITELIB}/pendulum/lang/uk.pyo
+${PYSITELIB}/pendulum/lang/uz.py
+${PYSITELIB}/pendulum/lang/uz.pyc
+${PYSITELIB}/pendulum/lang/uz.pyo
+${PYSITELIB}/pendulum/lang/vi.py
+${PYSITELIB}/pendulum/lang/vi.pyc
+${PYSITELIB}/pendulum/lang/vi.pyo
+${PYSITELIB}/pendulum/lang/zh.py
+${PYSITELIB}/pendulum/lang/zh.pyc
+${PYSITELIB}/pendulum/lang/zh.pyo
+${PYSITELIB}/pendulum/lang/zh_tw.py
+${PYSITELIB}/pendulum/lang/zh_tw.pyc
+${PYSITELIB}/pendulum/lang/zh_tw.pyo
+${PYSITELIB}/pendulum/mixins/__init__.py
+${PYSITELIB}/pendulum/mixins/__init__.pyc
+${PYSITELIB}/pendulum/mixins/__init__.pyo
+${PYSITELIB}/pendulum/mixins/default.py
+${PYSITELIB}/pendulum/mixins/default.pyc
+${PYSITELIB}/pendulum/mixins/default.pyo
+${PYSITELIB}/pendulum/mixins/interval.py
+${PYSITELIB}/pendulum/mixins/interval.pyc
+${PYSITELIB}/pendulum/mixins/interval.pyo
+${PYSITELIB}/pendulum/parser.py
+${PYSITELIB}/pendulum/parser.pyc
+${PYSITELIB}/pendulum/parser.pyo
+${PYSITELIB}/pendulum/parsing/__init__.py
+${PYSITELIB}/pendulum/parsing/__init__.pyc
+${PYSITELIB}/pendulum/parsing/__init__.pyo
+${PYSITELIB}/pendulum/parsing/exceptions/__init__.py
+${PYSITELIB}/pendulum/parsing/exceptions/__init__.pyc
+${PYSITELIB}/pendulum/parsing/exceptions/__init__.pyo
+${PYSITELIB}/pendulum/parsing/parser.py
+${PYSITELIB}/pendulum/parsing/parser.pyc
+${PYSITELIB}/pendulum/parsing/parser.pyo
+${PYSITELIB}/pendulum/pendulum.py
+${PYSITELIB}/pendulum/pendulum.pyc
+${PYSITELIB}/pendulum/pendulum.pyo
+${PYSITELIB}/pendulum/period.py
+${PYSITELIB}/pendulum/period.pyc
+${PYSITELIB}/pendulum/period.pyo
+${PYSITELIB}/pendulum/time.py
+${PYSITELIB}/pendulum/time.pyc
+${PYSITELIB}/pendulum/time.pyo
+${PYSITELIB}/pendulum/translator.py
+${PYSITELIB}/pendulum/translator.pyc
+${PYSITELIB}/pendulum/translator.pyo
+${PYSITELIB}/pendulum/tz/__init__.py
+${PYSITELIB}/pendulum/tz/__init__.pyc
+${PYSITELIB}/pendulum/tz/__init__.pyo
+${PYSITELIB}/pendulum/tz/exceptions.py
+${PYSITELIB}/pendulum/tz/exceptions.pyc
+${PYSITELIB}/pendulum/tz/exceptions.pyo
+${PYSITELIB}/pendulum/tz/loader.py
+${PYSITELIB}/pendulum/tz/loader.pyc
+${PYSITELIB}/pendulum/tz/loader.pyo
+${PYSITELIB}/pendulum/tz/local_timezone.py
+${PYSITELIB}/pendulum/tz/local_timezone.pyc
+${PYSITELIB}/pendulum/tz/local_timezone.pyo
+${PYSITELIB}/pendulum/tz/timezone.py
+${PYSITELIB}/pendulum/tz/timezone.pyc
+${PYSITELIB}/pendulum/tz/timezone.pyo
+${PYSITELIB}/pendulum/tz/timezone_info.py
+${PYSITELIB}/pendulum/tz/timezone_info.pyc
+${PYSITELIB}/pendulum/tz/timezone_info.pyo
+${PYSITELIB}/pendulum/tz/transition.py
+${PYSITELIB}/pendulum/tz/transition.pyc
+${PYSITELIB}/pendulum/tz/transition.pyo
+${PYSITELIB}/pendulum/tz/transition_type.py
+${PYSITELIB}/pendulum/tz/transition_type.pyc
+${PYSITELIB}/pendulum/tz/transition_type.pyo
+${PYSITELIB}/pendulum/version.py
+${PYSITELIB}/pendulum/version.pyc
+${PYSITELIB}/pendulum/version.pyo
Index: pkgsrc/time/py-pendulum/distinfo
diff -u /dev/null pkgsrc/time/py-pendulum/distinfo:1.1
--- /dev/null   Fri Sep 29 21:18:49 2017
+++ pkgsrc/time/py-pendulum/distinfo    Fri Sep 29 21:18:49 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/09/29 21:18:49 joerg Exp $
+
+SHA1 (pendulum-1.2.5.tar.gz) = 0646251d5e9655170ad2572ef0b5da1a354dee84
+RMD160 (pendulum-1.2.5.tar.gz) = 7aa68905038ed352b97473286d8540958cb22a2c
+SHA512 (pendulum-1.2.5.tar.gz) = eb0b3434a895d4543e86425ec3b8595821f9835fd520140074659f5d0b3083f797b5d339dd8e0b12d10b3cffb12f3a94b992d3927f53456adcbed3e386adf210
+Size (pendulum-1.2.5.tar.gz) = 69938 bytes



Home | Main Index | Thread Index | Old Index