Port details on branch 2024Q3 |
- py-deprecation Library to handle automated deprecations
- 2.1.0_1 devel =3 2.1.0_1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2017-12-25 13:53:31
- Last Update: 2024-04-08 20:16:46
- Commit Hash: ee114d3
- People watching this port, also watch:: kf5-kquickcharts, py311-pikepdf, qtkeychain-qt5, libssh, xcb-util-image
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/briancurtin/deprecation
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}deprecation>0:devel/py-deprecation@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-deprecation/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-deprecation
- pkg install py39-deprecation
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-deprecation listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-deprecation
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1587498943
SHA256 (deprecation-2.1.0.tar.gz) = 72b3bde64e5d778694b0cf68178aed03d15e15477116add3fb773e581f9518ff
SIZE (deprecation-2.1.0.tar.gz) = 173788
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-packaging>=0 : devel/py-packaging@py39
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- sysutils/conan
- for Run
-
- audio/py-eyed3
- devel/py-jupyter-packaging
- science/py-OpenFermion
- science/py-segregation
- sysutils/conan
- textproc/py-ocrmypdf
Configuration Options:
- No options to configure
- Options name:
- devel_py-deprecation
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|