blob: 4ac34889d6566663d1d8f0efd233f150f73daf1e (
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
33
34
35
36
37
38
39
40
41
42
|
# $FreeBSD$
PORTNAME= twext
PORTVERSION= 0.20160818
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= axel.rau@chaos1.de
COMMENT= Extensions to Twisted
LICENSE= APACHE20
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=15.4.0:devel/py-twisted
RUN_DEPENDS= \
${PYTHON_PKGNAMEPREFIX}cffi>=0.6:devel/py-cffi \
${PYTHON_PKGNAMEPREFIX}twisted>=15.4:devel/py-twisted
DAL_RUN_DEPENDS= \
${PYTHON_PKGNAMEPREFIX}sqlparse01>=0.1.19:databases/py-sqlparse01 \
POSTGRES_RUN_DEPENDS= \
${PYTHON_PKGNAMEPREFIX}pg8000>=1.10.2:databases/py-pg8000
OPTIONS_DEFINE= DAL POSTGRES
DAL_DESC= Enables use of the Database Abstraction Layer.
POSTGRES= Enables support for Postgres database connectivity.
OPTIONS_DEFAULT= DAL POSTGRES
.include <bsd.port.options.mk>
USES= python:2.7
USE_PYTHON= distutils autoplist
NO_ARCH=yes
USE_GITHUB= yes
GH_ACCOUNT= apple
GH_PROJECT= ccs-twistedextensions
GH_TAGNAME= a8528bc
post-patch:
@${REINPLACE_CMD} -e 's|"{}a1+unknown".format(base_version)|"0.20160928"|' ${WRKSRC}/setup.py
.include <bsd.port.mk>
|