View | Details | Raw Unified | Return to bug 237237 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-11 / +10 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	redis
4
PORTNAME=	redis
5
PORTVERSION=	2.10.6
5
PORTVERSION=	3.2.1
6
CATEGORIES=	databases python
6
CATEGORIES=	databases python
7
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
9
MAINTAINER=	koobs@FreeBSD.org
10
MAINTAINER=	koobs@FreeBSD.org
Lines 12-36 Link Here
12
LICENSE=	MIT
13
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
15
TEST_DEPENDS=	redis-server:databases/redis
16
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}pytest>=2.7.0:devel/py-pytest@${PY_FLAVOR} \
18
		redis-server:databases/redis
16
19
20
USES=		python
21
USE_PYTHON=	distutils autoplist concurrent
22
17
OPTIONS_DEFINE=	HIREDIS
23
OPTIONS_DEFINE=	HIREDIS
18
24
19
HIREDIS_DESC=	High performance response parser (via hiredis)
25
HIREDIS_DESC=	High performance response parser (via hiredis)
20
26
21
HIREDIS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hiredis>0:databases/py-hiredis@${PY_FLAVOR}
27
HIREDIS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hiredis>=0.1.3:databases/py-hiredis@${PY_FLAVOR}
22
28
23
USES=		python
24
USE_PYTHON=	distutils autoplist concurrent
25
26
USE_GITHUB=	yes
27
GH_ACCOUNT=	andymccurdy
28
GH_PROJECT=	${PORTNAME}-py
29
30
NO_ARCH=	yes
29
NO_ARCH=	yes
31
30
32
# Needs redis-server to be running
31
# Needs redis-server to be running
33
do-test:
32
do-test:
34
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
33
	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
35
34
36
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1508148992
1
TIMESTAMP = 1555215736
2
SHA256 (andymccurdy-redis-py-2.10.6_GH0.tar.gz) = e28e24539d6590a8b88498f2d30f7fe3e2be1171d7a91fe1fa6c5b6982519015
2
SHA256 (redis-3.2.1.tar.gz) = 8ca418d2ddca1b1a850afa1680a7d2fd1f3322739271de4b704e0d4668449273
3
SIZE (andymccurdy-redis-py-2.10.6_GH0.tar.gz) = 94869
3
SIZE (redis-3.2.1.tar.gz) = 124692

Return to bug 237237