head	1.18;
access;
symbols
	pkgsrc-2023Q2:1.17.0.2
	pkgsrc-2023Q2-base:1.17
	pkgsrc-2023Q1:1.16.0.10
	pkgsrc-2023Q1-base:1.16
	pkgsrc-2022Q4:1.16.0.8
	pkgsrc-2022Q4-base:1.16
	pkgsrc-2022Q3:1.16.0.6
	pkgsrc-2022Q3-base:1.16
	pkgsrc-2022Q2:1.16.0.4
	pkgsrc-2022Q2-base:1.16
	pkgsrc-2022Q1:1.16.0.2
	pkgsrc-2022Q1-base:1.16
	pkgsrc-2021Q4:1.15.0.16
	pkgsrc-2021Q4-base:1.15
	pkgsrc-2021Q3:1.15.0.14
	pkgsrc-2021Q3-base:1.15
	pkgsrc-2021Q2:1.15.0.12
	pkgsrc-2021Q2-base:1.15
	pkgsrc-2021Q1:1.15.0.10
	pkgsrc-2021Q1-base:1.15
	pkgsrc-2020Q4:1.15.0.8
	pkgsrc-2020Q4-base:1.15
	pkgsrc-2020Q3:1.15.0.6
	pkgsrc-2020Q3-base:1.15
	pkgsrc-2020Q2:1.15.0.4
	pkgsrc-2020Q2-base:1.15
	pkgsrc-2020Q1:1.15.0.2
	pkgsrc-2020Q1-base:1.15
	pkgsrc-2019Q4:1.14.0.6
	pkgsrc-2019Q4-base:1.14
	pkgsrc-2019Q3:1.14.0.2
	pkgsrc-2019Q3-base:1.14
	pkgsrc-2019Q2:1.13.0.2
	pkgsrc-2019Q2-base:1.13
	pkgsrc-2019Q1:1.12.0.4
	pkgsrc-2019Q1-base:1.12
	pkgsrc-2018Q4:1.12.0.2
	pkgsrc-2018Q4-base:1.12
	pkgsrc-2018Q3:1.11.0.2
	pkgsrc-2018Q3-base:1.11
	pkgsrc-2018Q2:1.9.0.2
	pkgsrc-2018Q2-base:1.9
	pkgsrc-2018Q1:1.7.0.2
	pkgsrc-2018Q1-base:1.7
	pkgsrc-2017Q4:1.3.0.2
	pkgsrc-2017Q4-base:1.3;
locks; strict;
comment	@# @;


1.18
date	2023.08.28.09.52.51;	author adam;	state dead;
branches;
next	1.17;
commitid	PxQSB4PxEIYwmxCE;

1.17
date	2023.03.29.09.34.15;	author wiz;	state Exp;
branches;
next	1.16;
commitid	dE79P0WicMkX80jE;

1.16
date	2022.01.04.20.55.12;	author wiz;	state Exp;
branches;
next	1.15;
commitid	CYyhdK9qtoffkmnD;

1.15
date	2020.03.21.12.54.50;	author adam;	state Exp;
branches;
next	1.14;
commitid	6FccpsmEJbiSHg1C;

1.14
date	2019.07.18.11.29.30;	author adam;	state Exp;
branches;
next	1.13;
commitid	K0drADOfpCaOawvB;

1.13
date	2019.05.02.09.16.47;	author adam;	state Exp;
branches;
next	1.12;
commitid	JBFRQ6k6yPaWUBlB;

1.12
date	2018.11.14.10.31.58;	author adam;	state Exp;
branches;
next	1.11;
commitid	ms2pkf1fAX9pLTZA;

1.11
date	2018.08.14.15.23.51;	author leot;	state Exp;
branches;
next	1.10;
commitid	sEDaw8rzSxcxk6OA;

1.10
date	2018.08.07.10.09.43;	author adam;	state Exp;
branches;
next	1.9;
commitid	KFPIeMAJX7E6PaNA;

1.9
date	2018.06.16.13.06.54;	author adam;	state Exp;
branches;
next	1.8;
commitid	scX9mXXLjGYrtvGA;

1.8
date	2018.04.26.07.53.20;	author adam;	state Exp;
branches;
next	1.7;
commitid	L0XCWmcSQe9ynVzA;

1.7
date	2018.03.23.09.04.51;	author adam;	state Exp;
branches;
next	1.6;
commitid	AHLTcVQDeEoRRyvA;

1.6
date	2018.02.25.21.25.51;	author adam;	state Exp;
branches;
next	1.5;
commitid	Jlo5l7FsmrqUNhsA;

1.5
date	2018.02.08.16.42.40;	author adam;	state Exp;
branches;
next	1.4;
commitid	jwMkIwEa2SiCM4qA;

1.4
date	2018.01.24.11.52.29;	author adam;	state Exp;
branches;
next	1.3;
commitid	RWHBJ0mNmxbUE7oA;

1.3
date	2017.11.17.11.18.49;	author adam;	state Exp;
branches;
next	1.2;
commitid	JV8pyEWMr2mVEnfA;

1.2
date	2017.10.28.09.06.26;	author adam;	state Exp;
branches;
next	1.1;
commitid	o7zqAUlqkHJizNcA;

1.1
date	2017.09.29.21.18.49;	author joerg;	state Exp;
branches;
next	;
commitid	OzTMAJ1iTaEty89A;


desc
@@


1.18
log
@py-pendulum: removed; not updated upstream since 24 Jul 2020; unclog py-pandas update
@
text
@# $NetBSD: Makefile,v 1.17 2023/03/29 09:34:15 wiz Exp $

DISTNAME=	pendulum-2.1.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	time python
MASTER_SITES=	${MASTER_SITE_PYPI:=p/pendulum/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/sdispater/pendulum
COMMENT=	Human-friendly date and time handling
LICENSE=	mit

DEPENDS+=	${PYPKGPREFIX}-dateutil>=2.6.0:../../time/py-dateutil
DEPENDS+=	${PYPKGPREFIX}-tzdata>=2018.3:../../time/py-tzdata

.include "../../lang/python/pyversion.mk"

.if ${PYTHON_VERSION} == 207
DEPENDS+=	${PYPKGPREFIX}-typing>=3.6:../../devel/py-typing
.endif

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
@


1.17
log
@*: use PYTHON_VERSION instead of _PYTHON_VERSION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2022/01/04 20:55:12 wiz Exp $
@


1.16
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2020/03/21 12:54:50 adam Exp $
d18 2
a19 1
.if ${_PYTHON_VERSION} == 27
@


1.15
log
@py-pendulum: updated to 2.1.0

2.1.0:

Added
Added better typing and PEP-561 compliance
Added the is_anniversary() method as an alias of is_birthday()

Changed
Dropped support for Python 3.4.
is_utc() will now return True for any datetime with an offset of 0, similar to the behavior in the 1.* versions
Duration.in_words() will now return 0 milliseconds for empty durations.

Fixed
Fixed various issues with timezone transitions for some edge cases
Fixed out of bound detection for nth_of("month")
Fixed an error where extra text was accepted in from_format()
Fixed a recursion error when adding time to a DateTime with a fixed timezone
Fixed errors where Period instances were not properly compared to other classes, especially timedelta instances
Fixed deprecation warnings due to internal regexps
Fixed an error where the test() helper would not unset the test instance when an exception was raised
Fixed an error where the week_of_month attribute was not returning the correct value
Fixed an error in the way the Z ISO-8601 UTC designator was not parsed as UTC

Locales
Added the nl locale.
Added the it locale.
Added the id locale.
Added the nb locale.
Added the nn locale.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2019/07/18 11:29:30 adam Exp $
d5 1
@


1.14
log
@py-pendulum: updated to 2.0.5

2.0.5:

Fixed
* Fixed ISO week dates not being parsed properly in from_format().
* Fixed loading of some timezones with empty posix spec.
* Fixed deprecation warnings.

Locales
* Added RU locale.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2019/05/02 09:16:47 adam Exp $
d3 1
a3 1
DISTNAME=	pendulum-2.0.5
d18 1
a18 3
DEPENDS+=	${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
# XXX: C Extensions code is only supported with Python 3
MAKE_ENV+=	PENDULUM_EXTENSIONS=0
d21 1
a21 1
.include "../../lang/python/distutils.mk"
@


1.13
log
@Forget about Python 3.4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2018/11/14 10:31:58 adam Exp $
d3 1
a3 1
DISTNAME=	pendulum-2.0.4
@


1.12
log
@py-pendulum: updated to 2.0.4

2.0.4:
Fixed from_format() not recognizing input strings when the specified pattern had escaped elements.
Fixed missing x token for string formatting.
Fixed reading timezone files.
Added support for parsing padded 2-digit days of the month with from_format()
Fixed from_format() trying to parse escaped tokens.
Fixed the z token timezone parsing in from_format() to allow underscores.
Fixed C extensions build errors.
Fixed age calculation for future dates.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2018/08/14 15:23:51 leot Exp $
d17 1
a17 1
.if ${_PYTHON_VERSION} == 27 || ${_PYTHON_VERSION} == 34
a18 2
.endif

a19 1
.if ${_PYTHON_VERSION} == 27
@


1.11
log
@py-pendulum: Disable C Extensions when building the 2.7 multi-package

C Extensions code does not seem supported when it is built with Python 2.7.
Pass the environment variable to avoid compiling it and failing and adjust PLIST
accordingly.

Reported via #pkgsrc by Juraj Lutter, thanks!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2018/08/07 10:09:43 adam Exp $
d3 1
a3 1
DISTNAME=	pendulum-2.0.3
d17 1
a17 1
.if "${PYPKGPREFIX}" == "py27" || "${PYPKGPREFIX}" == "py34"
a20 1
#
d22 1
a22 2
#
.if "${PYPKGPREFIX}" == "py27"
@


1.10
log
@py-pendulum: updated to 2.0.3

2.0.3:
Fixed handling of pytz timezones.
Fixed some formatter's tokens handling.
Fixed errors on some systems when retrieving timezone from localtime files.
Fixed diff methods.
Fixed closest()/farthest() methods.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2018/06/16 13:06:54 adam Exp $
d21 7
@


1.9
log
@py-pendulum: updated to 2.0.2

2.0.2:
Fixed the weeks property for negative Period instances.
Fixed start_of() methods not setting microseconds to 0.
Fixed errors on some systems when retrieving timezone from clock files.
Fixed parsing of partial time.
Fixed parsing not raising an error for week 53 for ordinary years.
Fixed string formatting not supporting strftime format.

2.0.1:
Fixed behavior of the YY token in from_format().
Fixed errors on some systems when retrieving timezone from clock files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2018/04/26 07:53:20 adam Exp $
d3 1
a3 1
DISTNAME=	pendulum-2.0.2
@


1.8
log
@py-pendulum: updated to 1.5.1

1.5.1
Fixed set() not acception the tz keyword argument.
Fixed datetime() not setting the timezone to UTC by default.

1.5.0
Added the datetime() helper.
Added the set() method to set properties.
Added the is_utc() and is_local() methods.
year_(), month_(), day_(), hour_(), minute_(), second_(), microsecond_() are now deprecated.
timezone_() and tz_() are now deprecated.
timestamp_() is now deprecated.
with_date_time(), with_time_from_string() and with_timestamp() are now deprecated.
between() is now deprecated.
min_(), max_(), minimum(), maximum() are now deprecated.
is_today(), is_yesterday(), is_tomorrow() and is_same_day() are now depecreated.
is_sunday() -> is_saturday() are now deprecated.
The utc and local properties are now deprecated. Use is_utc() and is_local() instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2018/03/23 09:04:51 adam Exp $
d3 1
a3 1
DISTNAME=	pendulum-1.5.1
d13 7
a19 3
DEPENDS+=	${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+=	${PYPKGPREFIX}-tzdata-[0-9]*:../../time/py-tzdata
DEPENDS+=	${PYPKGPREFIX}-tzlocal-[0-9]*:../../time/py-tzlocal
@


1.7
log
@py-pendulum: updated to 1.4.4

1.4.4:
Fixed extension building script.

1.4.3:
Fixed an error when adding intervals to a Pendulum instance across DST transition.
Fixed an error when subtracting two pendulum instances in the same timezone.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2018/02/25 21:25:51 adam Exp $
d3 1
a3 1
DISTNAME=	pendulum-1.4.4
@


1.6
log
@py-pendulum: updated to 1.4.2

1.4.2:
Fixed an offset error when subtracting datetimes in the same timezone.
Fixed wrong value returned by tzname() for the UTC timezone.
Fixed deepcopy() raising an error when using UTC.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2018/02/08 16:42:40 adam Exp $
d3 1
a3 1
DISTNAME=	pendulum-1.4.2
a15 1
BUILD_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
d17 1
a17 1
.include "../../lang/python/egg.mk"
@


1.5
log
@py-pendulum: updated to 1.4.1

1.4.1:
Fixed an error when comparing a Period to a timedelta in PyPy.
Fixed an offset error for datetimes between the before last and last transition.
Fixed unpickling with undefined / empty timezone name.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2018/01/24 11:52:29 adam Exp $
d3 1
a3 1
DISTNAME=	pendulum-1.4.1
@


1.4
log
@py-pendulum: updated to 1.4.0

1.4.0:
Changed:
format(), diff_for_humans(), in_words() and to_xxx_string() methods now return unicode strings for Python 2.7.
Improved performance of now() and utcnow().

Fixed
Fixed from_format() raising an error with the alternative formatter.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2017/11/17 11:18:49 adam Exp $
d3 1
a3 1
DISTNAME=	pendulum-1.4.0
@


1.3
log
@py-pendulum: updated to 1.3.2

1.3.2
Fixed instance() behaviour with pytz offsets.
Fixed deepcopy / pickle compatibility for TimezoneInfo.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2017/10/28 09:06:26 adam Exp $
d3 1
a3 1
DISTNAME=	pendulum-1.3.2
@


1.2
log
@py-pendulum: updated to 1.3.1

1.3.1:
Fixed inaccuracy of in_days() method on DST transitions.
Fixed seconds inaccuracy for past datetimes.

1.3.0:
Added support for the alternative formatter's tokens in from_format().
Added a timezones module attribute to expose available timezones.
Added the exact keyword to parse() which behaves exactly like strict.
Dropped support for Python 3.2 and 3.3.
The classic formatter in from_format() is now deprecated.
Fixed th locale.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/09/29 21:18:49 joerg Exp $
d3 1
a3 1
DISTNAME=	pendulum-1.3.1
d5 1
a5 1
CATEGORIES=	python time
@


1.1
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2017/02/20 17:00:37 wiz Exp $
d3 1
a3 1
DISTNAME=	pendulum-1.2.5
d13 4
a16 3
DEPENDS+=		${PYPKGPREFIX}-tzdata-[0-9]*:../../time/py-tzdata
DEPENDS+=		${PYPKGPREFIX}-tzlocal-[0-9]*:../../time/py-tzlocal
DEPENDS+=		${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
@

