aboutsummaryrefslogtreecommitdiff
path: root/databases/py-apsw/Makefile
blob: 9d2bfb5fde27a6d99a603c0e1cf4e9218f64dec0 (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
# Created by: Rusty Nejdl

PORTNAME=	apsw
PORTVERSION=	3.34.0
DISTVERSIONSUFFIX=	-r1
CATEGORIES=	databases python
MASTER_SITES=	https://github.com/rogerbinns/apsw/releases/download/${PORTVERSION}${DISTVERSIONSUFFIX}/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Another Python SQLite Wrapper

LICENSE=	ZLIB

BUILD_DEPENDS=	sqlite3>=${PORTVERSION:R},1:databases/sqlite3

USES=		localbase python:3.6+ sqlite:3 zip
USE_PYTHON=	autoplist concurrent distutils

post-install:
	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/apsw*.so

do-test:
	cd ${WRKSRC}/ && ${PYTHON_CMD} setup.py test

.include <bsd.port.mk>