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. WWW: http://bitbucket.org/hpk42/apipkg
This commit is contained in:
parent
b40a5e6d59
commit
fc1fb9d780
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264124
@ -2678,6 +2678,7 @@
|
||||
SUBDIR += py-akismet
|
||||
SUBDIR += py-anonfunc
|
||||
SUBDIR += py-anyjson
|
||||
SUBDIR += py-apipkg
|
||||
SUBDIR += py-argparse
|
||||
SUBDIR += py-asn1
|
||||
SUBDIR += py-aspects
|
||||
|
20
devel/py-apipkg/Makefile
Normal file
20
devel/py-apipkg/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# New ports collection makefile for: py-apipkg
|
||||
# Date created: 5 Nov, 2010
|
||||
# Whom: Wen Heping <wenheping@gmail.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= apipkg
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= wen@FreeBSD.org
|
||||
COMMENT= Namespace control and lazy-import mechanism
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= easy_install
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-apipkg/distinfo
Normal file
2
devel/py-apipkg/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (apipkg-1.0.tar.gz) = 79448839385b2e5b1e734a10bdd9a8db094094040cb73a8a3c804218da8b3ba5
|
||||
SIZE (apipkg-1.0.tar.gz) = 6941
|
8
devel/py-apipkg/pkg-descr
Normal file
8
devel/py-apipkg/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
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.
|
||||
|
||||
WWW: http://bitbucket.org/hpk42/apipkg
|
10
devel/py-apipkg/pkg-plist
Normal file
10
devel/py-apipkg/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/apipkg.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/apipkg.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/apipkg.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
Loading…
Reference in New Issue
Block a user