devel/py-apipkg 1.5_1 MidnightBSD
Namespace control and lazy-import mechanism
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
Description
With apipkg you can control the exported namespace of a python package and greatly reduce the number of imports for your users. It is a small pure python module that works on virtually all Python versions, including CPython2.3 to Python3.1, Jython and PyPy. It co-operates well with Python's help() system, custom importers (PEP302) and common command line completion tools.
In the other systems
The newest version among them is 3.0.2, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-apipkg | 1.5_1 | no data | - | [email protected] | - |
| FreeBSD | devel/py-apipkg | 1.5_1 | none known | - | [email protected] | - |
| OpenBSD | devel/py-apipkg | 3.0.2p1 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/py-apipkg | 3.0.2 newest | none known | - | [email protected] | - |
| DragonFly | devel/py-apipkg | 1.5_1 | none known | - | [email protected] | - |
| HardenedBSD | devel/py-apipkg | 1.5_1 | no data | - | [email protected] | - |
| GhostBSD | devel/py-apipkg | 1.5_1 | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}apipkg
From mports:
cd /usr/mports/devel/py-apipkg && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}apipkg>0:devel/py-apipkg
Dependency graph
Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0: devel/py-setuptools-scm
Build dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| apipkg-1.5.tar.gz | 11186 | 37228cda29411948b422fae072f57e31d3396d2ee1c9783775980ee9c9990af6 |
Master sites 1
- PYPI