aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-pywikibot/Makefile
blob: c19f0b150a4d486439cf68a14142722ea32d68e2 (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
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$

PORTNAME=   pywikibot
DISTVERSION=    2.0rc1.post2
CATEGORIES= www python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= yuri@rawbw.com
COMMENT=    Wikipedia bot for Python

LICENSE=    MIT

RUN_DEPENDS=    ${PKGNAMEPREFIX}httplib2>=0:www/py-httplib2@${FLAVOR}

USES=       python
USE_PYTHON= autoplist distutils
NO_ARCH=    yes

OPTIONS_DEFINE= ISBN PYDOT MYSQL GOOGLE MWPARSE PILLOW
ISBN_DESC=  Support for standard numbers and codes via stdnum package
PYDOT_DESC= Support for Graphviz via pydot module
MYSQL_DESC= Support for MySQL via oursql module
GOOGLE_DESC=    Support for Google search
MWPARSE_DESC=   Support for MediaWiki parser
PILLOW_DESC=    Support for image processing via pillow module

ISBN_RUN_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}stdnum>=0:devel/py-stdnum@${FLAVOR}
PYDOT_RUN_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}pydot>=0:graphics/py-pydot@${FLAVOR}
MYSQL_RUN_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}oursql>=0:databases/py-oursql@${FLAVOR}
GOOGLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google>=0:www/py-google@${FLAVOR}
MWPARSE_RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}mwparserfromhell>=0:textproc/py-mwparserfromhell@${FLAVOR}
PILLOW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${FLAVOR}

.include <bsd.port.mk>