aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2015-11-06 06:34:28 +0800
committerpawel <pawel@FreeBSD.org>2015-11-06 06:34:28 +0800
commit315b38cd98d1ed7a479ac130db10f3c3a4f722f6 (patch)
treeb5223daf282a31979db0f58a893dba1ba26738c6 /www
parent19f9d6aa58ec78fe9a3017ae1819ee82075a8c0a (diff)
downloadfreebsd-ports-gnome-315b38cd98d1ed7a479ac130db10f3c3a4f722f6.tar.gz
freebsd-ports-gnome-315b38cd98d1ed7a479ac130db10f3c3a4f722f6.tar.zst
freebsd-ports-gnome-315b38cd98d1ed7a479ac130db10f3c3a4f722f6.zip
The Pywikibot framework is a Python library that interfaces with the
MediaWiki API version 1.14 or higher. WWW: https://www.mediawiki.org/wiki/Pywikibot PR: 202900 Submitted by: Yuri Victorovich <yuri@rawbw.com>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/py-pywikibot/Makefile36
-rw-r--r--www/py-pywikibot/distinfo2
-rw-r--r--www/py-pywikibot/pkg-descr4
4 files changed, 43 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 81e5b5e30f0d..ec8af6d5472e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1713,6 +1713,7 @@
SUBDIR += py-pysearch
SUBDIR += py-python-digitalocean
SUBDIR += py-pywebdav
+ SUBDIR += py-pywikibot
SUBDIR += py-qp
SUBDIR += py-qpy
SUBDIR += py-qt4-webkit
diff --git a/www/py-pywikibot/Makefile b/www/py-pywikibot/Makefile
new file mode 100644
index 000000000000..94c0af535823
--- /dev/null
+++ b/www/py-pywikibot/Makefile
@@ -0,0 +1,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:${PORTSDIR}/www/py-httplib2
+
+USES= python
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+OPTIONS_DEFINE= ISBN PYDOT MYSQL GOOG 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:${PORTSDIR}/devel/py-stdnum
+PYDOT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydot>=0:${PORTSDIR}/graphics/py-pydot
+MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oursql>=0:${PORTSDIR}/databases/py-oursql
+GOOGLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google>=0:${PORTSDIR}/www/py-google
+MWPARSE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mwparserfromhell>=0:${PORTSDIR}/textproc/py-mwparserfromhell
+PILLOW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
+
+.include <bsd.port.mk>
diff --git a/www/py-pywikibot/distinfo b/www/py-pywikibot/distinfo
new file mode 100644
index 000000000000..caf6bff889d1
--- /dev/null
+++ b/www/py-pywikibot/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pywikibot-2.0rc1.post2.tar.gz) = aaa53f886ec85b7a57a62e05e8252ed0aa25cd9509fee7b234c687772615509b
+SIZE (pywikibot-2.0rc1.post2.tar.gz) = 394006
diff --git a/www/py-pywikibot/pkg-descr b/www/py-pywikibot/pkg-descr
new file mode 100644
index 000000000000..d5a41d334edf
--- /dev/null
+++ b/www/py-pywikibot/pkg-descr
@@ -0,0 +1,4 @@
+The Pywikibot framework is a Python library that interfaces with the
+MediaWiki API version 1.14 or higher.
+
+WWW: https://www.mediawiki.org/wiki/Pywikibot