blob: 90f329190a78b514eac4c4aac71d9d520c2668c8 (
plain)
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
43
44
45
46
47
48
49
50
51
52
|
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= mwlib
PORTVERSION= 0.15.14
PORTREVISION= 6
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python's MediaWiki Parser and Utility Library
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}apipkg>=1.2:devel/py-apipkg \
${PYTHON_PKGNAMEPREFIX}bottle>=0.10:www/py-bottle \
${PYTHON_PKGNAMEPREFIX}flup>=1.0:www/py-flup \
${PYTHON_PKGNAMEPREFIX}gevent>=0:devel/py-gevent \
${PYTHON_PKGNAMEPREFIX}lockfile>=0.8:devel/py-lockfile \
${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml \
${PYTHON_PKGNAMEPREFIX}odfpy>=0.9:devel/py-odfpy \
${PYTHON_PKGNAMEPREFIX}webob>=0.9.6.1:www/py-webob \
${PYTHON_PKGNAMEPREFIX}lockfile>=0.8:devel/py-lockfile \
${PYTHON_PKGNAMEPREFIX}timelib>=0.2:devel/py-timelib \
${PYTHON_PKGNAMEPREFIX}pdf>=1.12:print/py-pdf \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow \
${PYTHON_PKGNAMEPREFIX}py>=1.4.0:devel/py-py \
${PYTHON_PKGNAMEPREFIX}qserve>=0:devel/py-qserve \
${PYTHON_PKGNAMEPREFIX}roman>=0:math/py-roman \
${PYTHON_PKGNAMEPREFIX}simplejson>2.0.8:devel/py-simplejson \
${PYTHON_PKGNAMEPREFIX}sqlite3dbm>=0:databases/py-sqlite3dbm \
${PYTHON_PKGNAMEPREFIX}timelib>=0.2:devel/py-timelib \
${PYTHON_PKGNAMEPREFIX}webob>=0.9.6.1:www/py-webob
USES= python:2 shebangfix zip
SHEBANG_FILES= mwlib/EasyTimeline.pl
USE_PYTHON= autoplist distutils
USE_RC_SUBR= mwqserve nserve nslave postman
SUB_LIST= PYTHON_CMD=${PYTHON_CMD}
post-patch:
${REINPLACE_CMD} \
-e 's|lockfile==|lockfile>=|' \
${WRKSRC}/setup.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mwlib/_uscan.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mwlib/templ/*.so
.include <bsd.port.mk>
|