blob: 7783a92748fdcaa3264480adf939bb695da11dcd (
plain) (
tree)
|
|
PORTNAME= pywikibot
DISTVERSION= 9.0.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Wikipedia bot for Python
WWW= https://www.mediawiki.org/wiki/Pywikibot
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mwparserfromhell>=0.5.2:textproc/py-mwparserfromhell@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR}
USES= dos2unix python
DOS2UNIX_FILES= setup.py
USE_PYTHON= autoplist distutils
NO_ARCH= yes
OPTIONS_DEFINE= EVENTSTREAMS ISBN PYDOT GOOGLE IRC PILLOW MWOAUTH HTML
EVENTSTREAMS_DESC= Support for reading Server Sent Event streams
ISBN_DESC= Support for standard numbers and codes via stdnum package
PYDOT_DESC= Support for Graphviz via pydot module
GOOGLE_DESC= Support for Google search
IRC_DESC= Support for IRC
PILLOW_DESC= Support for image processing via pillow module
MWOAUTH_DESC= Support for MediaWiki OAuth handshake helper
HTML_DESC= Support for HTML/XML Parser for Python
EVENTSTREAMS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sseclient>0:www/py-sseclient@${PY_FLAVOR}
ISBN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}stdnum>0:devel/py-stdnum@${PY_FLAVOR}
PYDOT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydot>0:graphics/py-pydot@${PY_FLAVOR}
GOOGLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google>0:www/py-google@${PY_FLAVOR}
IRC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}irc>0:irc/py-irc@${PY_FLAVOR}
PILLOW_RUN_DEPENDS= ${PY_PILLOW}
MWOAUTH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mwoauth>0:www/py-mwoauth@${PY_FLAVOR}
HTML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR}
.include <bsd.port.mk>
|