From owner-svn-ports-all@freebsd.org Thu Oct 26 11:34:02 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3A98E4694C; Thu, 26 Oct 2017 11:34:02 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BDD5E76A9F; Thu, 26 Oct 2017 11:34:02 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9QBY1Q5022289; Thu, 26 Oct 2017 11:34:01 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9QBY1sF022284; Thu, 26 Oct 2017 11:34:01 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201710261134.v9QBY1sF022284@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Thu, 26 Oct 2017 11:34:01 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: in head/www: . py-requests-cache X-SVN-Commit-Revision: 452915 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 11:34:03 -0000 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 +# $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 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