1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/databases/py-python-swiftclient/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

30 lines
768 B
Makefile

# Created by: Mikolaj Golub <trociny@FreeBSD.org>
# $FreeBSD$
PORTNAME= python-swiftclient
PORTVERSION= 3.5.0
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= trociny@FreeBSD.org
COMMENT= Python client library for OpenStack Object Storage (Swift)
LICENSE= APACHE20
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0.5.21:devel/py-pbr@${PY_FLAVOR}
RUN_DEPENDS:= ${BUILD_DEPENDS}
RUN_DEPENDS+= ${PY_FUTURES} \
${PYTHON_PKGNAMEPREFIX}six>=1.5.2:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=1.1:www/py-requests@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/manpages/swift.1 \
${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>