aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-wikipedia/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-wikipedia/Makefile')
-rw-r--r--www/py-wikipedia/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/www/py-wikipedia/Makefile b/www/py-wikipedia/Makefile
new file mode 100644
index 000000000000..73852565bdf1
--- /dev/null
+++ b/www/py-wikipedia/Makefile
@@ -0,0 +1,21 @@
+# Created by: Olivier Duchateau
+# $FreeBSD$
+
+PORTNAME= wikipedia
+PORTVERSION= 1.4.0
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= python@FreeBSD.org
+COMMENT= Wikipedia API for Python
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.3.2:${PORTSDIR}/www/py-beautifulsoup \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.7:${PORTSDIR}/www/py-requests
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+.include <bsd.port.mk>