aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-diskcache/Makefile
blob: f8dcef7c5a83176836c4b4cadb71144adca2513d (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
PORTNAME=	diskcache
DISTVERSIONPREFIX=	v
DISTVERSION=	5.6.3
PORTREVISION=	2
CATEGORIES=	devel python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+=	b89111d.patch:-p1 # https://github.com/grantjenks/python-diskcache/pull/311

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Disk and file backed persistent cache
WWW=		https://grantjenks.com/docs/diskcache/

LICENSE=	APACHE20

PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>0:www/py-django42@${PY_FLAVOR}
BUILD_DEPENDS=	${PY_DEPENDS}
RUN_DEPENDS=	${PY_DEPENDS}

USES=		python
USE_PYTHON=	distutils autoplist pytest

USE_GITHUB=	yes
GH_ACCOUNT=	grantjenks
GH_PROJECT=	python-diskcache

TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

NO_ARCH=	yes

.include <bsd.port.mk>