Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2015 16:56:07 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390924 - in head/www: . py-wikipedia
Message-ID:  <201506291656.t5TGu7R7037900@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Mon Jun 29 16:56:06 2015
New Revision: 390924
URL: https://svnweb.freebsd.org/changeset/ports/390924

Log:
  Wikipedia is a Python library that makes it easy to access and parse data
  from MediaWiki API.
  
  WWW: https://github.com/goldsmith/Wikipedia

Added:
  head/www/py-wikipedia/
  head/www/py-wikipedia/Makefile   (contents, props changed)
  head/www/py-wikipedia/distinfo   (contents, props changed)
  head/www/py-wikipedia/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Mon Jun 29 16:49:35 2015	(r390923)
+++ head/www/Makefile	Mon Jun 29 16:56:06 2015	(r390924)
@@ -1739,6 +1739,7 @@
     SUBDIR += py-webware
     SUBDIR += py-webware-component
     SUBDIR += py-werkzeug
+    SUBDIR += py-wikipedia
     SUBDIR += py-wikitools
     SUBDIR += py-ws4py
     SUBDIR += py-wsaccel

Added: head/www/py-wikipedia/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-wikipedia/Makefile	Mon Jun 29 16:56:06 2015	(r390924)
@@ -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>

Added: head/www/py-wikipedia/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-wikipedia/distinfo	Mon Jun 29 16:56:06 2015	(r390924)
@@ -0,0 +1,2 @@
+SHA256 (wikipedia-1.4.0.tar.gz) = db0fad1829fdd441b1852306e9856398204dc0786d2996dd2e0c8bb8e26133b2
+SIZE (wikipedia-1.4.0.tar.gz) = 27748

Added: head/www/py-wikipedia/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-wikipedia/pkg-descr	Mon Jun 29 16:56:06 2015	(r390924)
@@ -0,0 +1,4 @@
+Wikipedia is a Python library that makes it easy to access and parse data
+from MediaWiki API.
+
+WWW: https://github.com/goldsmith/Wikipedia



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506291656.t5TGu7R7037900>