aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-redis/Makefile
blob: 7f4eaca2112c0b796ef05af7f7b7a9c5bbd7158e (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
32
33
34
35
36
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD$

PORTNAME=   redis
PORTVERSION=    2.10.6
CATEGORIES= databases python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= koobs@FreeBSD.org
COMMENT=    Python client for Redis key-value store

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

TEST_DEPENDS=   redis-server:databases/redis

OPTIONS_DEFINE= HIREDIS

HIREDIS_DESC=   High performance response parser (via hiredis)

HIREDIS_RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}hiredis>0:databases/py-hiredis

USES=       python
USE_PYTHON= distutils autoplist concurrent

USE_GITHUB= yes
GH_ACCOUNT= andymccurdy
GH_PROJECT= ${PORTNAME}-py

NO_ARCH=    yes

# Needs redis-server to be running
do-test:
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>