A built-package format for Python.

A wheel is a ZIP-format archive with a specially formatted filename and the
.whl extension. It is designed to contain all the files for a PEP 376
compatible install in a way that is very close to the on-disk format.
Many packages will be properly installed with only the "Unpack" step (simply
extracting the file onto sys.path), and the unpacked archive preserves enough
information to "Spread" (copy data and scripts to their final locations)
at any later time.

The wheel project provides a bdist_wheel command for setuptools (requires
setuptools >= 0.8.0). Wheel files can be installed with a newer pip from
https://github.com/pypa/pip or with wheel's own command line utility.

WWW: http://bitbucket.org/dholth/wheel/

Build logs:	http://goo.gl/fNXhY1
This commit is contained in:
Nicola Vitale 2013-07-26 15:15:10 +00:00
parent 0283fc353e
commit 6bb4788364
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323732
5 changed files with 184 additions and 0 deletions

View file

@ -3773,6 +3773,7 @@
SUBDIR += py-virtualenv-clone
SUBDIR += py-virtualenvwrapper
SUBDIR += py-watchdog
SUBDIR += py-wheel
SUBDIR += py-wsgi_xmlrpc
SUBDIR += py-wsgitools
SUBDIR += py-wsgiutils

45
devel/py-wheel/Makefile Normal file
View file

@ -0,0 +1,45 @@
# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= wheel
PORTVERSION= 0.21.0
#PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Built-package format for Python
LICENSE= MIT
USE_PYDISTUTILS= easy_install
# Python 3 ready
USE_PYTHON= yes
OPTIONS_DEFINE= PIP SIGNATURE
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
PIP_DESC= Use pip to install wheels
SIGNATURE_DESC= Enable digital signature of wheels
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MPIP}
RUN_DEPENDS+= pip:${PORTSDIR}/devel/py-pip
.endif
.if ${PORT_OPTIONS:MSIGNATURE}
. if ${PYTHON_REL} < 270
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}argparse>=1.1:${PORTSDIR}/devel/py-argparse
. endif
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dirspec>=13.05:${PORTSDIR}/devel/py-dirspec \
${PYTHON_PKGNAMEPREFIX}keyring>=1.3:${PORTSDIR}/security/py-keyring
.endif
.if ${PYTHON_REL} >= 320
.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
.endif
.include <bsd.port.post.mk>

2
devel/py-wheel/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (wheel-0.21.0.tar.gz) = 68ad3e66560e9df1f1f435b480183ba24ef913da26556af9e5ae16cd94dd26e1
SIZE (wheel-0.21.0.tar.gz) = 39310

15
devel/py-wheel/pkg-descr Normal file
View file

@ -0,0 +1,15 @@
A built-package format for Python.
A wheel is a ZIP-format archive with a specially formatted filename and the
.whl extension. It is designed to contain all the files for a PEP 376
compatible install in a way that is very close to the on-disk format.
Many packages will be properly installed with only the "Unpack" step (simply
extracting the file onto sys.path), and the unpacked archive preserves enough
information to "Spread" (copy data and scripts to their final locations)
at any later time.
The wheel project provides a bdist_wheel command for setuptools (requires
setuptools >= 0.8.0). Wheel files can be installed with a newer pip from
https://github.com/pypa/pip or with wheel's own command line utility.
WWW: http://bitbucket.org/dholth/wheel/

121
devel/py-wheel/pkg-plist Normal file
View file

@ -0,0 +1,121 @@
bin/egg2wheel
bin/wheel
bin/wininst2wheel
%%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/entry_points.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/__main__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/__main__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/__main__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/archive.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/archive.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/archive.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/bdist_wheel.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/bdist_wheel.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/bdist_wheel.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/decorator.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/decorator.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/decorator.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/egg2wheel.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/egg2wheel.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/egg2wheel.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/eggnames.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/install.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/install.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/install.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/metadata.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/metadata.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/metadata.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/paths.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/paths.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/paths.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/pep425tags.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/pep425tags.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/pep425tags.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/pkginfo.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/pkginfo.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/pkginfo.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures/djbec.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures/djbec.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures/djbec.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures/ed25519py.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures/ed25519py.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures/ed25519py.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures/keys.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures/keys.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures/keys.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/complex-dist/complexdist/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/complex-dist/complexdist/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/complex-dist/complexdist/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/complex-dist/setup.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/complex-dist/setup.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/complex-dist/setup.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/headers.dist/headersdist.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/headers.dist/headersdist.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/headers.dist/headersdist.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/headers.dist/setup.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/headers.dist/setup.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/headers.dist/setup.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/simple.dist/setup.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/simple.dist/setup.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/simple.dist/setup.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/simple.dist/simpledist/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/simple.dist/simpledist/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/simple.dist/simpledist/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_basic.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_basic.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_basic.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_install.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_install.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_install.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_keys.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_keys.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_keys.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_paths.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_paths.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_paths.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_ranking.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_ranking.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_ranking.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_signatures.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_signatures.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_signatures.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_tool.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_tool.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_tool.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_wheelfile.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_wheelfile.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/test_wheelfile.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/tool/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/tool/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/tool/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/util.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/util.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/util.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/wininst2wheel.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/wininst2wheel.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/wininst2wheel.pyo
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/tool
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/simple.dist/simpledist
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/simple.dist
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/headers.dist
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/complex-dist/complexdist
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test/complex-dist
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/test
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel/signatures
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/wheel
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%