{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":["devel/py-setuptools","devel/py-wheel"],"categories":["devel","python"],"comment":"Library to handle automated deprecations","compare":"/compare/py312-deprecation/index.json","dependentCount":null,"description":"The deprecation library provides a deprecated decorator and a\nfail_if_not_removed decorator for your tests. Together, the two enable the\nautomation of several things:\n- The docstring of a deprecated method gets the deprecation details appended to\n  the end of it. If you generate your API docs direct from your source, you\n  don't need to worry about writing your own notification. You also don't need\n  to worry about forgetting to write it. It's done for you.\n- Rather than having code live on forever because you only deprecated it but\n  never actually moved on from it, you can have your tests tell you when it's\n  time to remove the code. The @deprecated decorator can be told when it's time\n  to entirely remove the code, which causes @fail_if_not_removed to raise an\n  AssertionError, causing either your unittest or py.test tests to fail.","flavors":[],"html":"https://daemonports.org/midnightbsd/devel/py-deprecation/","kind":"port","lastUpdate":null,"license":["Apache-2.0"],"maintainer":"ports@MidnightBSD.org","name":"${PYTHON_PKGNAMEPREFIX}deprecation","newest":true,"newestVersion":"2.1.0","noVulnData":true,"origin":"devel/py-deprecation","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/py-deprecation","path":"/devel/py-deprecation/","system":"FreeBSD","version":"2.1.0_1"},{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"devel/py-deprecation","path":"/openbsd/devel/py-deprecation/","system":"OpenBSD","updated":"2026-08-31","version":"2.1.0p8"},{"maintainer":"pkgsrc-users@NetBSD.org","newest":true,"origin":"devel/py-deprecation","path":"/netbsd/devel/py-deprecation/","system":"NetBSD","version":"2.1.0nb2"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/py-deprecation","path":"/dragonfly/devel/py-deprecation/","system":"DragonFly","version":"2.1.0_1"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-deprecation","path":"","system":"HardenedBSD","version":"2.1.0_1"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-deprecation","path":"","system":"GhostBSD","version":"2.1.0_1"}],"packages":null,"pkgName":"${PYTHON_PKGNAMEPREFIX}deprecation-2.1.0_2","related":null,"repository":"mports","requiredBy":["sysutils/conan"],"requiredByCount":1,"runDepends":["devel/py-packaging"],"status":null,"system":"midnightbsd","systemLabel":"MidnightBSD","version":"2.1.0_2","versions":null,"vulnerabilities":null,"www":"https://github.com/briancurtin/deprecation"}
