From nobody Sat Apr 13 11:59:45 2024 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 4VGsS16M4Hz5HKjm; Sat, 13 Apr 2024 11:59:45 +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 4VGsS14l3wz3xLp; Sat, 13 Apr 2024 11:59:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713009585; 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=47VcXvDfT6vPqVm94v4eQeIwV44QmNQ7B/E7TMtgQew=; b=OC9BCaS2SvMl7QoSFAToeRDh0kN1JxKWaWDUXSSPPo0BcWq8BzP7V9OjmBbUw5uVxCv+3x PfKAV7tUuN19ufinCVHG4PJ1jjXKPtiBZO7GydSIA79wNi8F76CiJIKbjix1tCFb/sMFPD YIRrFo1g6d1c4rMVG3i+gEEgilkS9/eV6z3ftXAxGFOiV7hi/YOon9z/s+dIemcrpDMLhf P2EMPDhsWDOLK37P1uY5LzqZg5ndRA69ZlQd7fddsvSB8hvRa9yRb7pdgMYXjYHGaE/mq5 8qJyhS7Sz4TTRZy9afjsz/VroQgSVjfKudpS+eKZIJyLWsO6WkGlBF7D8nFKgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713009585; a=rsa-sha256; cv=none; b=b/1aB2OyCdchDO5vAe+0uzSywMrbA8FSqoJszRglnQVrJC1q/aqIVECJFaPp+ehyid5GDo 3T2ib3CvT7Au+VWS3GrxBGHvLiT6FFXSaUHVMiqrqYu/OAPPIIEx7rgQ1eXlKojH3z3LFP jeFuWklzEuWDxKr1qJpC8dqv8uPaTl14psnbXLgXXl1m3mJJjopBHqaupb2jiYFpSFBrV3 FW7k3nPqbsMNIQPXr8ZXjAVR3rqhDTqWwipHJmM2vnZaUK5Grfhk/fPB+U4PPiiBbogpy8 ajNrusmtsERSyavVNyrMkBn/sI3WiFb6vUKNbC/Gn1kreiAmzjkIk6RE07AyzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713009585; 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=47VcXvDfT6vPqVm94v4eQeIwV44QmNQ7B/E7TMtgQew=; b=FArqKzPWcW7MxMm+Ko9LLUhgT1u7vSGACN0cYc+c9+RtCS9AaHokBkg1jcXHz7C2dLfmED 51Uw7QIlcwIQW/ArOsrq4FjuqjxJbU3s1mTyEV7OohnBgIPfjrHyUWSOKxOy7xZ/Gjc7HF zQdjAFvGy8c+9BVvJd/7g9BgGD1Fnx5UadrhNlVkm/Rr3kYdfkTh1eqdzlZrLLdZanxjag O78gWSccPi6Q/vPcx+Ke23U9f7WuuGFoJ3KFfOWn913XQ8G4RdBg2m3IREE0paG7rkLZXJ eRsDouIH27+TLO00hyZ5LFPlMYuzdzrEqZXSA2Hk0shH8kOo1UEX7ETRrT1yCQ== 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 4VGsS14KCbzXbw; Sat, 13 Apr 2024 11:59:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43DBxjLS078066; Sat, 13 Apr 2024 11:59:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43DBxjA0078063; Sat, 13 Apr 2024 11:59:45 GMT (envelope-from git) Date: Sat, 13 Apr 2024 11:59:45 GMT Message-Id: <202404131159.43DBxjA0078063@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: bbc144dcfe0d - main - www/py-beaker: Update to 1.13.0 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: 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: bbc144dcfe0da40b2f0cebca7195f63ffdb19c39 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=bbc144dcfe0da40b2f0cebca7195f63ffdb19c39 commit bbc144dcfe0da40b2f0cebca7195f63ffdb19c39 Author: Po-Chuan Hsieh AuthorDate: 2024-04-13 11:58:18 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-04-13 11:58:18 +0000 www/py-beaker: Update to 1.13.0 - Update WWW - Convert to USE_PYTHON=pep517 - Update pkg-descr Changes: https://github.com/bbangert/beaker/releases --- www/py-beaker/Makefile | 10 +++++++--- www/py-beaker/distinfo | 6 +++--- www/py-beaker/files/patch-setup.py | 11 +++++++++++ www/py-beaker/pkg-descr | 37 +++++++++++++++++++------------------ 4 files changed, 40 insertions(+), 24 deletions(-) diff --git a/www/py-beaker/Makefile b/www/py-beaker/Makefile index 7cd5a4104ed3..0dbc9a44cfed 100644 --- a/www/py-beaker/Makefile +++ b/www/py-beaker/Makefile @@ -1,5 +1,5 @@ PORTNAME= beaker -PORTVERSION= 1.12.1 +PORTVERSION= 1.13.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -7,13 +7,17 @@ DISTNAME= Beaker-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= Session and Caching library with WSGI Middleware -WWW= https://beaker.readthedocs.io/en/latest/ +WWW= https://beaker.readthedocs.io/en/latest/ \ + https://github.com/bbangert/beaker LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= cpe python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/www/py-beaker/distinfo b/www/py-beaker/distinfo index 6ed913e2f98c..b43ace7ca520 100644 --- a/www/py-beaker/distinfo +++ b/www/py-beaker/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1677771799 -SHA256 (Beaker-1.12.1.tar.gz) = 57770b40956e6c5cf1d8221dc59519029e470080ed8d3065c4e6ab36ce7e3c81 -SIZE (Beaker-1.12.1.tar.gz) = 67296 +TIMESTAMP = 1713001218 +SHA256 (Beaker-1.13.0.tar.gz) = e956cd8a35ad5de1b5212c7bff8fc01e2b3d34ab92466d24684c666abb8c9c30 +SIZE (Beaker-1.13.0.tar.gz) = 68250 diff --git a/www/py-beaker/files/patch-setup.py b/www/py-beaker/files/patch-setup.py new file mode 100644 index 000000000000..e9517fa33a2d --- /dev/null +++ b/www/py-beaker/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2024-04-13 11:48:38 UTC ++++ setup.py +@@ -54,7 +54,7 @@ if not sys.platform.startswith('java') and not sys.pla + TESTS_REQUIRE.extend(['pylibmc', 'python-memcached']) + + +-setup(name='Beaker', ++setup(name='beaker', + version=VERSION, + description="A Session and Caching library with WSGI Middleware", + long_description=README, diff --git a/www/py-beaker/pkg-descr b/www/py-beaker/pkg-descr index 2f461a844976..c3d62c721b43 100644 --- a/www/py-beaker/pkg-descr +++ b/www/py-beaker/pkg-descr @@ -1,21 +1,22 @@ -Beaker is built on code from the package MyghtyUtils, originally used -in the Myghty project. It implements a full set of cache functionality -along with sessions that can utilize the caches. +Beaker is a web session and general caching library that includes WSGI +middleware for use in web applications. -Beaker includes Cache and Session WSGI middleware to ease integration -with WSGI capable frameworks, and is automatically used by Pylons. +As a general caching library, Beaker can handle storing for various times any +Python object that can be pickled with optional back-ends on a fine-grained +basis. Features - * Fast, robust performance - * Multiple reader/single writer lock system to avoid duplicate - simultaneous cache creation - * Cache back-ends include dbm, file, memory, memcached, and - database (Using SQLAlchemy for multiple-db vendor support) - * Signed cookie's to prevent session hijacking/spoofing - * Extensible Container object to support new back-ends - * Cache's can be divided into namespaces (to represent templates, - objects, etc.) then keyed for different copies - * Create functions for automatic call-backs to create new cache - copies after expiration - * Fine-grained toggling of back-ends, keys, and expiration per - Cache object +- Fast, robust performance +- Multiple reader/single writer lock system to avoid duplicate simultaneous + cache creation +- Cache back-ends include dbm, file, memory, memcached, Redis, MongoDB, and + database (Using SQLAlchemy for multiple-db vendor support) +- Signed cookies to prevent session hijacking/spoofing +- Cookie-only sessions to remove the need for a db or file backend (ideal for + clustered systems) +- Extensible Container object to support new back-ends +- Caches can be divided into namespaces (to represent templates, objects, etc.) + then keyed for different copies +- Create functions for automatic call-backs to create new cache copies after + expiration +- Fine-grained toggling of back-ends, keys, and expiration per Cache object