devel/py-apipkg 1.5_1 FreeBSD
Namespace control and lazy-import mechanism
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 11.1 KiB, 32.8 KiB installed
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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-apipkg | 1.5_1 |
| OpenBSD | devel/py-apipkg | 3.0.2p1 |
| NetBSD | devel/py-apipkg | 3.0.2 |
| DragonFly | devel/py-apipkg | 1.5_1 |
| MidnightBSD | devel/py-apipkg | 1.5_1 |
| HardenedBSD | devel/py-apipkg | 1.5_1 |
| GhostBSD | devel/py-apipkg | 1.5_1 |
Install
Binary package:
pkg install py312-apipkg
From the ports tree:
cd /usr/ports/devel/py-apipkg/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-apipkg>0:devel/py-apipkg
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.5_1 | 1.5_1 | 1.5 | 1.5_1 | 1.5_1 |
| FreeBSD:14:quarterly | 1.5_1 | 1.5_1 | n/a | 1.5_1 | 1.5_1 |
| FreeBSD:15:latest | 1.5_1 | 1.5_1 | n/a | 1.5_1 | 1.5_1 |
| FreeBSD:15:quarterly | 1.5_1 | 1.5_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.5_1 | 1.5_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0: devel/py-setuptools-scm
The full lists below include those, and their dependencies in turn.
Build dependencies 13
Run dependencies 7
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
Commit history 0
No commits in the history this site was built from.