freebsd-ports/databases/py-swiftclient/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

30 lines
794 B
Makefile

# Created by: Mikolaj Golub <trociny@FreeBSD.org>
# $FreeBSD$
PORTNAME= swiftclient
PORTVERSION= 1.8.0
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-${PORTNAME}-${PORTVERSION}
MAINTAINER= trociny@FreeBSD.org
COMMENT= Python client library for OpenStack Object Storage (Swift)
LICENSE= APACHE20
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0.5.21:${PORTSDIR}/devel/py-pbr
RUN_DEPENDS:= ${BUILD_DEPENDS}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.9:${PORTSDIR}/devel/py-simplejson
USE_PYTHON= 2
USE_PYDISTUTILS= easy_install
PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= python_${PORTNAME}
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/manpages/swift.1 \
${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>