py27-deprecation-2.0.6.txz


Advertisement

Description

py27-deprecation - Library to handle automated deprecations

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest i386
Package name py27-deprecation
Package version 2.0.6
Package architecture i386
Package type txz
Installed size 45.93 KB
Download size 11.75 KB
Official Mirror pkg.freebsd.org
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:
- 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.
- 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.
WWW: https://pypi.org/project/deprecation/
WWW: https://github.com/briancurtin/deprecation
Categories: devel, python
Maintainer: sunpoet@FreeBSD.org

Alternatives

Package Version Architecture Repository
py27-deprecation-2.0.6.txz 2.0.6 amd64 FreeBSD Ports Latest
py27-deprecation - - -

Requires

Name Value
py27-packaging = 18.0
py27-setuptools = 40.0.0
python27 = 2.7.15

Download

Type URL
Binary Package py27-deprecation-2.0.6.txz
Source Package devel/py-deprecation

Install Howto

Install py27-deprecation txz package:

# pkg install py27-deprecation

See Also

Package Description
py27-dexml-0.5.1_1.txz Dead-simple Object-XML mapper for Python
py27-dfdatetime-20181025.txz Digital Forensics Date and Time
py27-dfvfs-20180831.txz Digital Forensics Virtual File System
py27-dfwinreg-20180712.txz Digital Forensics Windows Registry
py27-dialog-2.7_4.txz Python interface to dialog(3)
py27-diazo-1.2.8.txz Deliverance like language using a pure XSLT engine
py27-diff-match-patch-20121119.txz Algorithms for converting plain text
py27-dill-0.2.8.2.txz Serialize all of python
py27-dirspec-13.10.txz XDG Base and User directories implementation
py27-dirsync-2.2.3.txz Advanced directory tree synchronisation tool
py27-dis3-0.1.2.txz Python 2.7 backport of the "dis" module from Python 3.5+
py27-discid-1.1.1.txz Python libdiscid bindings
py27-discogs-client-2.2.1.txz Python interface to Discogs website
py27-dispy-4.9.1_1.txz Distributed and Parallel Computing with/for Python
py27-distlib-0.2.8.txz Low-level components of distutils2 and higher-level APIs
Advertisement
Advertisement