notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2024Q3
py-deprecation Library to handle automated deprecations
2.1.0_1 devel on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.1.0_1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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>)
  • py39: py39-deprecation
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):
py37-deprecation
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.1.0---2.1.0-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-deprecation
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--2.1.0--2.1.02.1.02.1.0
FreeBSD:14:latest--2.1.0--2.1.0-2.1.0
FreeBSD:14:quarterly-----2.1.02.1.02.1.0
FreeBSD:15:latest--n/a-n/a2.1.02.1.02.1.0
 
py311-deprecation
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.1.0_12.1.0_1-2.1.0_12.1.0_1---
FreeBSD:13:quarterly2.1.0_12.1.0_1-2.1.0_12.1.0_1---
FreeBSD:14:latest2.1.0_12.1.0_1-2.1.0_12.1.0_1---
FreeBSD:14:quarterly2.1.0_12.1.0_1-2.1.0_12.1.0_1---
FreeBSD:15:latest2.1.0_12.1.0_1n/a2.1.0_1n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=0 : devel/py-setuptools@py39
  2. py39-wheel>=0 : devel/py-wheel@py39
  3. python3.9 : lang/python39
  4. py39-build>=0 : devel/py-build@py39
  5. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-packaging>=0 : devel/py-packaging@py39
  2. python3.9 : lang/python39
This port is required by:
for Build
  1. sysutils/conan
for Run
  1. audio/py-eyed3
  2. devel/py-jupyter-packaging
  3. science/py-OpenFermion
  4. science/py-segregation
  5. sysutils/conan
  6. 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/d/deprecation/
  2. https://pypi.org/packages/source/d/deprecation/
Collapse this list.

There are no commits on branch 2024Q3 for this port