blob: 9be71481b950e5f6c7ad4e3921448b39d604a23c (
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= apsw
PORTVERSION= 3.38.5
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
WWW= https://rogerbinns.github.io/apsw/
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= sqlite3>=${PORTVERSION:R},1:databases/sqlite3
USES= localbase python:3.7+ sqlite:3 zip
USE_PYTHON= autoplist concurrent distutils unittest
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
OPTIONS_DEFINE= EXTENSION
OPTIONS_DEFAULT=EXTENSION
EXTENSION_DESC= Allow loadable extensions
EXTENSION_VARS= PYDISTUTILS_BUILDARGS+=--enable=load_extension
EXTENSION_VARS_OFF= PYDISTUTILS_BUILDARGS+=--omit=load_extension
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>
|