BSD Ports

devel/py-deprecated 1.3.1 NetBSD

Python decorator to deprecate old python classes, functions or methods

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
57f32fb540
License
mit
Categories
devel, python
Package size
16.6 KiB, 90.9 KiB installed

Description

Python @deprecated decorator to deprecate old python classes, functions or methods.

In the other systems

SystemPortVersion
NetBSDdevel/py-deprecated1.3.1
FreeBSDdevel/py-deprecated1.3.1
OpenBSDdevel/py-deprecated1.3.1
DragonFlydevel/py-deprecated1.2.14_1
HardenedBSDdevel/py-deprecated1.3.1
GhostBSDdevel/py-deprecated1.3.1

Install

Binary package:

pkgin install py311-deprecated

From pkgsrc:

cd /usr/pkgsrc/devel/py-deprecated && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.3.1
NetBSD 10.1 aarch641.3.1
SmartOS / illumos x86_643.0.0
macOS 15 arm643.0.0

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py312-deprecated-1.3.1, py313-deprecated-1.3.1, py314-deprecated-1.3.1

Commit history 1

DateCommitCreditsLog message
57f32fb540 adam py-deprecated: updated to 3.0.0
3.0.0 Changed - Require Python >= 3.12 and wrapt >= 1.16 (first wrapt release supporting Python 3.12). - Migrate the packaging from setuptools (`setup.py`/`setup.cfg`/`MANIFEST.in`) to `pyproject.toml` with the Hatchling build backend; the version is read from `src/deprecated/__init__.py`. - Adopt the `src` layout: the package moves to `src/deprecated` (the tests stay in `tests` and the documentation in `docs`). - Manage the project with uv (`uv.lock`) and Hatch: tox is dropped and replaced by the `hatch test` matrix. - Modernize the `Makefile` (uv/Hatch based targets, run `make help`). - Replace bump2version by `hatch version <major|minor|patch>`: the version is only defined in `src/deprecated/__init__.py`, and the git tag is created by GitHub when the release is published. …