From nobody Sat Apr 16 04:23:18 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E15FB7CBCE3; Sat, 16 Apr 2022 04:23:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KgKnL5Yp2z3N94; Sat, 16 Apr 2022 04:23:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650082999; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hlSb3NEkG1o82JfMrZZyKRYXYW7aYnTtaTBcs+Bgdv8=; b=mMN8ZwnIoctVb3RcbKB2zpS/wUPN8Ru0z0cQ5Qsijju2yCB65R/f/GK/QbZ9BtSuPtQro1 2S+0WtHn6eC2bzqO4j47deT06Ulb+xx+uFLTe7VaQpaUN3aHDeKVFnSSUozVlpnkP7Na6X bpiYBY3LUKyg/uNnKdfRdnmcjdg9Rt2vd3ZTUthEhfgJlc/u7Dpu8DDv7tx+dQqbe/Sx2k 0decqN4mfK7X9DBC92qQcQPkSZdW3j0XIRg+AisNJCVcNWbTfNeXJKBeljyGAbcVH9HWXb TY7erUQb+/+W8ts5FRKCGdQtdRbo2R6CXezyrlXFMsqEr0FMNnV/ibr9K/kIuw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9612522F3E; Sat, 16 Apr 2022 04:23:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23G4NItu005964; Sat, 16 Apr 2022 04:23:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23G4NI87005963; Sat, 16 Apr 2022 04:23:18 GMT (envelope-from git) Date: Sat, 16 Apr 2022 04:23:18 GMT Message-Id: <202204160423.23G4NI87005963@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 80923c7c2312 - main - www/py-requests-cache: Update to 0.9.3 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 80923c7c2312127a68c181a2340c46ae1b240781 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650082999; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hlSb3NEkG1o82JfMrZZyKRYXYW7aYnTtaTBcs+Bgdv8=; b=f/GhLqW6vUiVBuxQfoCU9KiyRldHQIh4ZFvJ8POr+fydkJ14uqe0ARrBUopnPUUimyGxkW X5rjaO5ISw7WIdp3YrQUTgENYX9UD6TvkY8fAgLReK29ZiGL8Bnxkgr7u5s26x5H06ECM9 FVvW9K58FR+XX+jeWIcrf33wtynnuY8bWq0rlCi81YJXXe8gipU/03d+Kpp4xhMdfMqbFx 5SSYmTFdZow1BLedI7ky44gKDgibVB+m6ORf9+Ywwk0k+IriU0mDZG5Ot4SihyZdrCcH9o 0oPZ1Jcdt7sRCZSiBBoODRK0zAyFvF1ZlACOC2PgHckVgJTqFw39c/3CI051cQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650082999; a=rsa-sha256; cv=none; b=YlACYYo+ECC/HNigIx1V8Cf1xqSfuvMQbRIBG8Y95OZGpI4+cXmiDYTIIXHPMabFMLrdDh CgumLyv3skqWbSmGNEXPRPLE8dV3UQMkaYvc8pxb4cANz9NVsYzBFOF4M0cg0h+NjDXH7B WDvRyr6oNU6RaOp2TNNtdXpO5sBTlsbLcJaFoAB0+1TGa26XbHu9rXh0YPc/yOZaTC1Cz+ Jo1+WMsIZOsW4Ju8ENugb9Ia0cVcKcII3VMsVziD3ciIfHvMgiZFb7tK/r/zNC3i9LBAL3 dGbhvf3/WL8R+QOOupsCk2AgnFUKgE8AHh66Ut6jAfBpulMAkKfzYLkj/ygPXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=80923c7c2312127a68c181a2340c46ae1b240781 commit 80923c7c2312127a68c181a2340c46ae1b240781 Author: Po-Chuan Hsieh AuthorDate: 2022-04-16 03:59:11 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-16 04:19:29 +0000 www/py-requests-cache: Update to 0.9.3 - Update pkg-descr Changes: https://github.com/reclosedev/requests-cache/releases https://github.com/reclosedev/requests-cache/blob/master/HISTORY.md --- www/py-requests-cache/Makefile | 20 +++++++++++--------- www/py-requests-cache/distinfo | 6 +++--- www/py-requests-cache/pkg-descr | 21 +++++++++++++++------ 3 files changed, 29 insertions(+), 18 deletions(-) diff --git a/www/py-requests-cache/Makefile b/www/py-requests-cache/Makefile index e952dfa181fa..c8e23bf16b2e 100644 --- a/www/py-requests-cache/Makefile +++ b/www/py-requests-cache/Makefile @@ -1,28 +1,30 @@ # Created by: Kubilay Kocak PORTNAME= requests-cache -PORTVERSION= 0.4.13 +PORTVERSION= 0.9.3 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Persistent cache for requests library +COMMENT= Transparent persistent cache for the requests library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.1.0:www/py-requests@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.8:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.4<2.0.0:devel/py-appdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}attrs>=21.2<22.0:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cattrs>=1.8<2.0:devel/py-cattrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.22<3.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}url-normalize>=1.4<2.0:net/py-url-normalize@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.5,1<2.0.0,1:net/py-urllib3@${PY_FLAVOR} -# Python 2.6-3.5(+) 20171026 -USES= python:3.6+ -USE_PYTHON= autoplist distutils +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest + cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/www/py-requests-cache/distinfo b/www/py-requests-cache/distinfo index 815752946214..15d77428db9d 100644 --- a/www/py-requests-cache/distinfo +++ b/www/py-requests-cache/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1509013259 -SHA256 (requests-cache-0.4.13.tar.gz) = fe561ca119879bbcfb51f03a35e35b425e18f338248e59fd5cf2166c77f457a2 -SIZE (requests-cache-0.4.13.tar.gz) = 29342 +TIMESTAMP = 1649423860 +SHA256 (requests-cache-0.9.3.tar.gz) = b32f8afba2439e1b3e12cba511c8f579271eff827f063210d62f9efa5bed6564 +SIZE (requests-cache-0.9.3.tar.gz) = 1506512 diff --git a/www/py-requests-cache/pkg-descr b/www/py-requests-cache/pkg-descr index af8f37b2adb8..cbffa1b55be5 100644 --- a/www/py-requests-cache/pkg-descr +++ b/www/py-requests-cache/pkg-descr @@ -1,10 +1,19 @@ -Requests-cache is a transparent persistent cache for requests (version ->= 1.1.0) library. +requests-cache is a transparent, persistent cache that provides an easy way to +get better performance with the python requests library. Features: - - * Transparent caching - * Persistence (with support for SQLite, MongoDB or Redis) - * Cached object expiration +- Ease of use: Keep using the requests library you're already familiar with. Add + caching with a drop-in replacement for requests.Session, or install globally + to add caching to all requests functions. +- Performance: Get sub-millisecond response times for cached responses. When + they expire, you still save time with conditional requests. +- Persistence: Works with several storage backends including SQLite, Redis, + MongoDB, and DynamoDB; or save responses as plain JSON files, YAML, and more +- Customization: Works out of the box with zero config, but with a robust set of + features for configuring and extending the library to suit your needs +- Expiration: Keep your cache fresh using Cache-Control, eagerly cache + everything for long-term storage, use URL patterns for selective caching, or + any combination of strategies +- Compatibility: Can be combined with other popular libraries based on requests WWW: https://github.com/reclosedev/requests-cache