BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-apipkg1.5_1no data-[email protected]-
FreeBSDdevel/py-apipkg1.5_1none known-[email protected]-
OpenBSDdevel/py-apipkg3.0.2p1 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/py-apipkg3.0.2 newestnone known-[email protected]-
DragonFlydevel/py-apipkg1.5_1none known-[email protected]-
HardenedBSDdevel/py-apipkg1.5_1no data-[email protected]-
GhostBSDdevel/py-apipkg1.5_1no data-[email protected]-

Compare across BSDs

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

Build dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
apipkg-1.5.tar.gz1118637228cda29411948b422fae072f57e31d3396d2ee1c9783775980ee9c9990af6
Master sites 1
  • PYPI