aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-swiftclient/Makefile
blob: ad4597d7663e157a176f6ce1ed31e51a8231572c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Mikolaj Golub <trociny@FreeBSD.org>
# $FreeBSD$

PORTNAME=   swiftclient
PORTVERSION=    2.0.2
PORTREVISION=   1
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 \
        ${PYTHON_PKGNAMEPREFIX}requests>=1.1:${PORTSDIR}/www/py-requests

USE_PYTHON= 2
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

post-install:
    ${INSTALL_MAN} ${WRKSRC}/doc/manpages/swift.1 \
        ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>