mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
43 lines
1002 B
Makefile
43 lines
1002 B
Makefile
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wheel
|
|
PORTVERSION= 0.21.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Built-package format for Python
|
|
|
|
LICENSE= MIT
|
|
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
USE_PYDISTUTILS= yes
|
|
# 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
|
|
|
|
.include <bsd.port.post.mk>
|