Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2018 02:35:33 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470501 - in head/www: . py-arxiv
Message-ID:  <201805210235.w4L2ZX4A039509@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon May 21 02:35:33 2018
New Revision: 470501
URL: https://svnweb.freebsd.org/changeset/ports/470501

Log:
  Add py-arxiv 0.2.2
  
  arxiv.py is a Python wrapper for the arXiv API
  (http://arxiv.org/help/api/index).
  
  arXiv is a project by the Cornell University Library that provides open access
  to 1,000,000+ articles in Physics, Mathematics, Computer Science, Quantitative
  Biology, Quantitative Finance, and Statistics.
  
  They have an API that uses ATOM feeds to serve simple database queries.
  Unfortunately, handling these ATOM requsts can be clumsy (especially given
  inconsistency in data between different result objects, even in the same query).
  This is where arxiv.py comes it: it constructs requests for arXiv and gets ATOM
  feeds via a simple handful of methods, and parses the results into an intuitive
  format.
  
  WWW: https://pypi.python.org/pypi/arxiv
  WWW: https://github.com/lukasschwab/arxiv.py

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

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Mon May 21 01:51:05 2018	(r470500)
+++ head/www/Makefile	Mon May 21 02:35:33 2018	(r470501)
@@ -1503,6 +1503,7 @@
     SUBDIR += py-albatross
     SUBDIR += py-amf
     SUBDIR += py-apachelog
+    SUBDIR += py-arxiv
     SUBDIR += py-autobahn
     SUBDIR += py-aws-requests-auth
     SUBDIR += py-azure-common

Added: head/www/py-arxiv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-arxiv/Makefile	Mon May 21 02:35:33 2018	(r470501)
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	arxiv
+PORTVERSION=	0.2.2
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python wrapper for the arXiv API
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}feedparser>=0:textproc/py-feedparser@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${FLAVOR}
+
+NO_ARCH=	yes
+USE_PYTHON=	autoplist concurrent distutils
+USES=		python
+
+.include <bsd.port.mk>

Added: head/www/py-arxiv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-arxiv/distinfo	Mon May 21 02:35:33 2018	(r470501)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520970061
+SHA256 (arxiv-0.2.2.tar.gz) = 0e9e1700537adf3f5e2944bd8e1d6a66d737723aee6dbcfe16e5ec9e173f0879
+SIZE (arxiv-0.2.2.tar.gz) = 2279

Added: head/www/py-arxiv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-arxiv/pkg-descr	Mon May 21 02:35:33 2018	(r470501)
@@ -0,0 +1,16 @@
+arxiv.py is a Python wrapper for the arXiv API
+(http://arxiv.org/help/api/index).
+
+arXiv is a project by the Cornell University Library that provides open access
+to 1,000,000+ articles in Physics, Mathematics, Computer Science, Quantitative
+Biology, Quantitative Finance, and Statistics.
+
+They have an API that uses ATOM feeds to serve simple database queries.
+Unfortunately, handling these ATOM requsts can be clumsy (especially given
+inconsistency in data between different result objects, even in the same query).
+This is where arxiv.py comes it: it constructs requests for arXiv and gets ATOM
+feeds via a simple handful of methods, and parses the results into an intuitive
+format.
+
+WWW: https://pypi.python.org/pypi/arxiv
+WWW: https://github.com/lukasschwab/arxiv.py



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