head	1.15;
access;
symbols
	pkgsrc-2026Q1:1.15.0.34
	pkgsrc-2026Q1-base:1.15
	pkgsrc-2025Q4:1.15.0.32
	pkgsrc-2025Q4-base:1.15
	pkgsrc-2025Q3:1.15.0.30
	pkgsrc-2025Q3-base:1.15
	pkgsrc-2025Q2:1.15.0.28
	pkgsrc-2025Q2-base:1.15
	pkgsrc-2025Q1:1.15.0.26
	pkgsrc-2025Q1-base:1.15
	pkgsrc-2024Q4:1.15.0.24
	pkgsrc-2024Q4-base:1.15
	pkgsrc-2024Q3:1.15.0.22
	pkgsrc-2024Q3-base:1.15
	pkgsrc-2024Q2:1.15.0.20
	pkgsrc-2024Q2-base:1.15
	pkgsrc-2024Q1:1.15.0.18
	pkgsrc-2024Q1-base:1.15
	pkgsrc-2023Q4:1.15.0.16
	pkgsrc-2023Q4-base:1.15
	pkgsrc-2023Q3:1.15.0.14
	pkgsrc-2023Q3-base:1.15
	pkgsrc-2023Q2:1.15.0.12
	pkgsrc-2023Q2-base:1.15
	pkgsrc-2023Q1:1.15.0.10
	pkgsrc-2023Q1-base:1.15
	pkgsrc-2022Q4:1.15.0.8
	pkgsrc-2022Q4-base:1.15
	pkgsrc-2022Q3:1.15.0.6
	pkgsrc-2022Q3-base:1.15
	pkgsrc-2022Q2:1.15.0.4
	pkgsrc-2022Q2-base:1.15
	pkgsrc-2022Q1:1.15.0.2
	pkgsrc-2022Q1-base:1.15
	pkgsrc-2021Q4:1.13.0.2
	pkgsrc-2021Q4-base:1.13
	pkgsrc-2021Q3:1.12.0.12
	pkgsrc-2021Q3-base:1.12
	pkgsrc-2021Q2:1.12.0.10
	pkgsrc-2021Q2-base:1.12
	pkgsrc-2021Q1:1.12.0.8
	pkgsrc-2021Q1-base:1.12
	pkgsrc-2020Q4:1.12.0.6
	pkgsrc-2020Q4-base:1.12
	pkgsrc-2020Q3:1.12.0.4
	pkgsrc-2020Q3-base:1.12
	pkgsrc-2020Q2:1.12.0.2
	pkgsrc-2020Q2-base:1.12
	pkgsrc-2020Q1:1.11.0.4
	pkgsrc-2020Q1-base:1.11
	pkgsrc-2019Q4:1.11.0.6
	pkgsrc-2019Q4-base:1.11
	pkgsrc-2019Q3:1.11.0.2
	pkgsrc-2019Q3-base:1.11
	pkgsrc-2019Q2:1.9.0.6
	pkgsrc-2019Q2-base:1.9
	pkgsrc-2019Q1:1.9.0.4
	pkgsrc-2019Q1-base:1.9
	pkgsrc-2018Q4:1.9.0.2
	pkgsrc-2018Q4-base:1.9
	pkgsrc-2018Q3:1.8.0.2
	pkgsrc-2018Q3-base:1.8
	pkgsrc-2018Q2:1.7.0.2
	pkgsrc-2018Q2-base:1.7
	pkgsrc-2018Q1:1.3.0.2
	pkgsrc-2018Q1-base:1.3;
locks; strict;
comment	@# @;


1.15
date	2022.01.27.11.35.02;	author wiz;	state Exp;
branches;
next	1.14;
commitid	Ac87CZqQKGSrvgqD;

1.14
date	2022.01.04.20.53.00;	author wiz;	state Exp;
branches;
next	1.13;
commitid	CYyhdK9qtoffkmnD;

1.13
date	2021.11.09.20.34.40;	author wiz;	state Exp;
branches;
next	1.12;
commitid	rCWYaTzuBaV02agD;

1.12
date	2020.06.01.15.43.55;	author adam;	state Exp;
branches;
next	1.11;
commitid	7mpc4HSnkaIskxaC;

1.11
date	2019.08.26.10.43.17;	author adam;	state Exp;
branches;
next	1.10;
commitid	MjBK70z7TvFmFwAB;

1.10
date	2019.07.09.11.35.14;	author nia;	state Exp;
branches;
next	1.9;
commitid	Vdt6OsIXLcYRumuB;

1.9
date	2018.10.07.07.16.55;	author adam;	state Exp;
branches;
next	1.8;
commitid	eRv4XdhXdVHhUZUA;

1.8
date	2018.07.06.10.35.41;	author adam;	state Exp;
branches;
next	1.7;
commitid	93vt4Kx6m45NZ3JA;

1.7
date	2018.06.21.06.43.05;	author adam;	state Exp;
branches;
next	1.6;
commitid	3dnQN7CDZTzUb7HA;

1.6
date	2018.06.18.07.47.40;	author adam;	state Exp;
branches;
next	1.5;
commitid	M0bN7W1lcI04EJGA;

1.5
date	2018.04.14.08.46.28;	author adam;	state Exp;
branches;
next	1.4;
commitid	Q3mjoqMJJnIL3oyA;

1.4
date	2018.04.11.19.49.37;	author adam;	state Exp;
branches;
next	1.3;
commitid	MUFkVByI9eZfP3yA;

1.3
date	2018.02.27.07.56.38;	author adam;	state Exp;
branches;
next	1.2;
commitid	M1vleoid6dKlgtsA;

1.2
date	2018.02.05.13.18.04;	author adam;	state Exp;
branches;
next	1.1;
commitid	RFHfGOUHmMfsKFpA;

1.1
date	2017.12.31.18.47.08;	author adam;	state Exp;
branches;
next	;
commitid	mEAE5XHB40ZLI4lA;


desc
@@


1.15
log
@py-deprecation: desupport python 2.x
@
text
@# $NetBSD: Makefile,v 1.14 2022/01/04 20:53:00 wiz Exp $

DISTNAME=	deprecation-2.1.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=d/deprecation/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://deprecation.readthedocs.io/
COMMENT=	Library to handle automated deprecations
LICENSE=	apache-2.0

DEPENDS+=	${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging

PYTHON_VERSIONS_INCOMPATIBLE=	27

USE_LANGUAGES=	# none

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


1.14
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.13 2021/11/09 20:34:40 wiz Exp $
d14 1
a14 1
TEST_DEPENDS+=	${PYPKGPREFIX}-unittest2-[0-9]*:../../devel/py-unittest2
d16 1
a16 1
PYTHON_VERSIONED_DEPENDENCIES+=	packaging
a20 1
.include "../../lang/python/versioned_dependencies.mk"
@


1.13
log
@*: convert packaging to lang/python/versioned_dependencies.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2020/06/01 15:43:55 adam Exp $
d5 1
@


1.12
log
@py-deprecation: updated to 2.1.0

2.1.0:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2019/08/26 10:43:17 adam Exp $
a12 1
DEPENDS+=	${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
d15 2
d20 1
@


1.11
log
@py-deprecation: updated to 2.0.7

2.0.7:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2019/07/09 11:35:14 nia Exp $
d3 1
a3 1
DISTNAME=	deprecation-2.0.7
@


1.10
log
@Use https for readthedocs.io.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2018/10/07 07:16:55 adam Exp $
d3 1
a3 1
DISTNAME=	deprecation-2.0.6
d14 1
@


1.9
log
@py-deprecation: updated to 2.0.6

2.0.6:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2018/07/06 10:35:41 adam Exp $
d9 1
a9 1
HOMEPAGE=	http://deprecation.readthedocs.io/
@


1.8
log
@py-deprecation: updated to 2.0.5

2.0.5:
Bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2018/06/21 06:43:05 adam Exp $
d3 1
a3 1
DISTNAME=	deprecation-2.0.5
@


1.7
log
@py-deprecation: updated to 2.0.4

2.0.4:
Bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2018/06/18 07:47:40 adam Exp $
d3 1
a3 1
DISTNAME=	deprecation-2.0.4
@


1.6
log
@py-deprecation: updated to 2.0.3

2.0.3:
Bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2018/04/14 08:46:28 adam Exp $
d3 1
a3 1
DISTNAME=	deprecation-2.0.3
@


1.5
log
@py-deprecation: updated to 2.0.2

2.0.2:
Bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2018/04/11 19:49:37 adam Exp $
d3 1
a3 1
DISTNAME=	deprecation-2.0.2
@


1.4
log
@py-deprecation: updated to 2.0.1

2.0.1:
Bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2018/02/27 07:56:38 adam Exp $
d3 1
a3 1
DISTNAME=	deprecation-2.0.1
@


1.3
log
@py-deprecation: updated to 2.0

2.0:
Unknown changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2018/02/05 13:18:04 adam Exp $
d3 1
a3 1
DISTNAME=	deprecation-2.0
@


1.2
log
@py-deprecation: updated to 1.1

1.1:
Unknown changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/12/31 18:47:08 adam Exp $
d3 1
a3 1
DISTNAME=	deprecation-1.1
@


1.1
log
@py-deprecation: added version 1.0.1

The deprecation library provides a deprecated decorator and a
fail_if_not_removed decorator for your tests. Together, the two enable the
automation of several things:

1. The docstring of a deprecated method gets the deprecation details appended to
the end of it. If you generate your API docs direct from your source, you don't
need to worry about writing your own notification. You also don't need to worry
about forgetting to write it. It's done for you.

2. Rather than having code live on forever because you only deprecated it but
never actually moved on from it, you can have your tests tell you when it's
time to remove the code. The @@deprecated decorator can be told when it's time
to entirely remove the code, which causes @@fail_if_not_removed to raise an
AssertionError, causing either your unittest or py.test tests to fail.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	deprecation-1.0.1
d13 1
a13 1
#DEPENDS+=	${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
@

