Port details |
- py-overrides Decorator to automatically detect mismatch when overriding a method
- 7.4.0 devel
=0 7.4.0Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2023-05-27 23:54:37
- Last Update: 2023-08-21 17:04:07
- Commit Hash: bbaf331
- 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 = 1692211751
SHA256 (overrides-7.4.0.tar.gz) = 9502a3cca51f4fac40b5feca985b6703a5c1f6ad815588a7ca9e285b9dca6757
SIZE (overrides-7.4.0.tar.gz) = 24804
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>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- 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: 3
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
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: 3
|