Port details |
- py-overrides Decorator to automatically detect mismatch when overriding a method
- 7.7.0_1 devel =2 7.7.0_1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2023-05-27 23:54:37
- Last Update: 2024-04-08 20:17:25
- Commit Hash: 81b80aa
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/mkorpela/overrides
- Description:
- A decorator @override that verifies that a method that should override an
inherited method actually does it.
Copies the docstring of the inherited method to the overridden method.
Since signature validation and docstring inheritance are performed on class
creation and not on class instantiation, this library significantly improves the
safety and experience of creating class hierarchies in Python without
significantly impacting performance. See https://stackoverflow.com/q/1167617 for
the initial inspiration for this library.
- ¦ ¦ ¦ ¦
- 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}overrides>0:devel/py-overrides@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-overrides/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-overrides
- pkg install py39-overrides
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-overrides listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-overrides
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1708449258
SHA256 (overrides-7.7.0.tar.gz) = 55158fa3d93b98cc75299b1e67078ad9003ca27945c76162c1c0766d6f91820a
SIZE (overrides-7.7.0.tar.gz) = 22812
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:
-
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/py-jupyter-server
Configuration Options:
- No options to configure
- Options name:
- devel_py-overrides
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 5
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
7.7.0_1 08 Apr 2024 20:17:25 |
Po-Chuan Hsieh (sunpoet) |
devel/py-overrides: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change |
7.7.0 21 Feb 2024 15:07:33 |
Po-Chuan Hsieh (sunpoet) |
devel/py-overrides: Update to 7.7.0
Changes: https://github.com/mkorpela/overrides/releases |
7.4.0 21 Aug 2023 17:04:07 |
Po-Chuan Hsieh (sunpoet) |
devel/py-overrides: Update to 7.4.0
Changes: https://github.com/mkorpela/overrides/releases |
7.3.1 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
7.3.1 27 May 2023 23:43:35 |
Po-Chuan Hsieh (sunpoet) |
devel/py-overrides: Add py-overrides 7.3.1
A decorator @override that verifies that a method that should override an
inherited method actually does it.
Copies the docstring of the inherited method to the overridden method.
Since signature validation and docstring inheritance are performed on class
creation and not on class instantiation, this library significantly improves the
safety and experience of creating class hierarchies in Python without
significantly impacting performance. See https://stackoverflow.com/q/1167617 for
the initial inspiration for this library. |
Number of commits found: 5
|