freebsd-ports/devel/py-wheel/Makefile
Nicola Vitale 6bb4788364 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
2013-07-26 15:15:10 +00:00

45 lines
1.1 KiB
Makefile

# 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>