Port details |
- py-lazy_imports Python package helps to create lazy modules
- 1.0.1 devel
=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one. - Maintainer: otis@FreeBSD.org
 - Port Added: 2025-09-15 07:51:08
- Last Update: 2025-09-15 07:49:11
- Commit Hash: de7db561
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/bachorp/lazy-imports
- Description:
- This python utility package helps to create lazy modules. A lazy module defers
loading (some of) its attributes until these attributes are first accessed. The
module's lazy attributes in turn are attributes of other modules. These other
modules will be imported/loaded only when (and if) associated attributes are
used. A lazy import strategy can drastically reduce runtime and memory
consumption.
Additionally, this package provides a utility for optional imports with which
one can import a module globally while triggering associated import errors only
at use-sites (when and if a dependency is actually required, for example in the
context of a specific functionality).
¦ ¦ ¦ ¦ 
- 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.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}lazy_imports>0:devel/py-lazy_imports@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-lazy_imports/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-lazy_imports
- pkg install py311-lazy_imports
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 py311-lazy_imports listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-lazy_imports
- Package flavors (<flavor>: <package>)
- py311: py311-lazy_imports
- distinfo:
- TIMESTAMP = 1757922333
SHA256 (lazy_imports-1.0.1.tar.gz) = 7d3e4b1547cb574ec7ef3c47a074673e2612330b2b50bf7eec939f2c393fc261
SIZE (lazy_imports-1.0.1.tar.gz) = 24484
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:
-
- py311-setuptools>0 : devel/py-setuptools@py311
- py311-wheel>=0.42.0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-lazy_imports
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 1
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.0.1 15 Sep 2025 07:49:11
    |
Juraj Lutter (otis)  |
devel/py-lazy_imports: Add new ports
This python utility package helps to create lazy modules. A lazy module
defers loading (some of) its attributes until these attributes are first
accessed.
This also fixes fa6125eec57
Sponsored by: resulta.tech |
Number of commits found: 1
|