Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2017 11:34:01 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r452915 - in head/www: . py-requests-cache
Message-ID:  <201710261134.v9QBY1sF022284@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Thu Oct 26 11:34:01 2017
New Revision: 452915
URL: https://svnweb.freebsd.org/changeset/ports/452915

Log:
  [NEW] www/py-requests-cache: Persistent cache for requests library
  
  Requests-cache is a transparent persistent cache for requests (version
  >= 1.1.0) library.
  
  Features:
  
    * Transparent caching
    * Persistence (with support for SQLite, MongoDB or Redis)
    * Cached object expiration
  
  WWW: https://github.com/reclosedev/requests-cache

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

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Thu Oct 26 11:23:55 2017	(r452914)
+++ head/www/Makefile	Thu Oct 26 11:34:01 2017	(r452915)
@@ -1812,6 +1812,7 @@
     SUBDIR += py-recaptcha
     SUBDIR += py-requestbuilder
     SUBDIR += py-requests
+    SUBDIR += py-requests-cache
     SUBDIR += py-requests-file
     SUBDIR += py-requests-futures
     SUBDIR += py-requests-mock

Added: head/www/py-requests-cache/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-requests-cache/Makefile	Thu Oct 26 11:34:01 2017	(r452915)
@@ -0,0 +1,29 @@
+# Created by: Kubilay Kocak <koobs@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	requests-cache
+PORTVERSION=	0.4.13
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	koobs@FreeBSD.org
+COMMENT=	Persistent cache for requests library
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=1.1.0:www/py-requests
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=2.8:devel/py-pytest \
+		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
+
+# Python 2.6-3.5(+) 20171026
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+
+.include <bsd.port.mk>

Added: head/www/py-requests-cache/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-requests-cache/distinfo	Thu Oct 26 11:34:01 2017	(r452915)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1509013259
+SHA256 (requests-cache-0.4.13.tar.gz) = fe561ca119879bbcfb51f03a35e35b425e18f338248e59fd5cf2166c77f457a2
+SIZE (requests-cache-0.4.13.tar.gz) = 29342

Added: head/www/py-requests-cache/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-requests-cache/pkg-descr	Thu Oct 26 11:34:01 2017	(r452915)
@@ -0,0 +1,10 @@
+Requests-cache is a transparent persistent cache for requests (version
+>= 1.1.0) library.
+
+Features:
+
+  * Transparent caching
+  * Persistence (with support for SQLite, MongoDB or Redis)
+  * Cached object expiration
+
+WWW: https://github.com/reclosedev/requests-cache



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