git: 98c3757ea2fe - main - devel/py-cacheyou: Add py-cacheyou 23.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jun 2023 18:51:00 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=98c3757ea2fee8a6686ceccf4fbcba1c7571658d
commit 98c3757ea2fee8a6686ceccf4fbcba1c7571658d
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-05 18:18:16 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-05 18:46:49 +0000
devel/py-cacheyou: Add py-cacheyou 23.3
CacheYou is a fork of CacheControl which is a port of the caching algorithms in
httplib2 for use with requests session object.
---
devel/Makefile | 1 +
devel/py-cacheyou/Makefile | 23 +++++++++++++++++++++++
devel/py-cacheyou/distinfo | 3 +++
devel/py-cacheyou/pkg-descr | 2 ++
4 files changed, 29 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index ac1f36be02bc..f7bdf15e9b92 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4391,6 +4391,7 @@
SUBDIR += py-cached-property
SUBDIR += py-cachetools
SUBDIR += py-cachetools3
+ SUBDIR += py-cacheyou
SUBDIR += py-cachy
SUBDIR += py-cadquery-pywrap
SUBDIR += py-calver
diff --git a/devel/py-cacheyou/Makefile b/devel/py-cacheyou/Makefile
new file mode 100644
index 000000000000..a0161b5e8c11
--- /dev/null
+++ b/devel/py-cacheyou/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= cacheyou
+PORTVERSION= 23.3
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= httplib2 caching for requests
+WWW= https://cacheyou.readthedocs.io/en/latest/ \
+ https://github.com/frostming/cacheyou
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>=0:devel/py-pdm-backend@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.5.2:devel/py-msgpack@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-cacheyou/distinfo b/devel/py-cacheyou/distinfo
new file mode 100644
index 000000000000..820272ec676b
--- /dev/null
+++ b/devel/py-cacheyou/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1685792170
+SHA256 (cacheyou-23.3.tar.gz) = 7e408f15f4978fea2247734b308621f75f7fe169b461679519c72e8a85d61d5d
+SIZE (cacheyou-23.3.tar.gz) = 43192
diff --git a/devel/py-cacheyou/pkg-descr b/devel/py-cacheyou/pkg-descr
new file mode 100644
index 000000000000..cb27e889de9d
--- /dev/null
+++ b/devel/py-cacheyou/pkg-descr
@@ -0,0 +1,2 @@
+CacheYou is a fork of CacheControl which is a port of the caching algorithms in
+httplib2 for use with requests session object.