f0ee224b97
- Update PORTVERSION and distinfo checksum (2.10.5) - Remove DOCS option, they dont build unless py-redis is installed [1] - Add LICENSE_FILE - Add TEST_DEPENDS and convert test target Changes: https://github.com/andymccurdy/redis-py/blob/2.10.5/CHANGES PR: 204361 [1] Reported by: olgeni [1]
36 lines
792 B
Makefile
36 lines
792 B
Makefile
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= redis
|
|
PORTVERSION= 2.10.5
|
|
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:${PORTSDIR}/databases/redis
|
|
|
|
OPTIONS_DEFINE= HIREDIS
|
|
|
|
HIREDIS_DESC= High performance response parser (via hiredis)
|
|
|
|
HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>0:${PORTSDIR}/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>
|