notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-klepto Persistent caching to memory, disk, or database
0.2.5 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.2.4Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-04-18 18:09:20
Last Update: 2024-03-09 14:05:50
Commit Hash: 948683c
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://klepto.readthedocs.io/en/latest/
https://github.com/uqfoundation/klepto
Description:
klepto extends Python's lru_cache to utilize different keymaps and alternate caching algorithms, such as lfu_cache and mru_cache. While caching is meant for fast access to saved results, klepto also has archiving capabilities, for longer-term storage. klepto uses a simple dictionary-sytle interface for all caches and archives, and all caches can be applied to any Python function as a decorator. Keymaps are algorithms for converting a function's input signature to a unique dictionary, where the function's results are the dictionary value. Thus for y = f(x), y will be stored in cache[x] (e.g. {x:y}). klepto provides both standard and "safe" caching, where "safe" caches are slower but can recover from hashing errors. klepto is intended to be used for distributed and parallel computing, where several of the keymaps serialize the stored objects. Caches and archives are intended to be read/write accessible from different threads and processes. klepto enables a user to decorate a function, save the results to a file or database archive, close the interpreter, start a new session, and reload the function and it's cache.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}klepto>0:devel/py-klepto@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-klepto/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-klepto
  • pkg install py39-klepto
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-klepto listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-klepto
Package flavors (<flavor>: <package>)
  • py39: py39-klepto
distinfo:
TIMESTAMP = 1708449208 SHA256 (klepto-0.2.5.tar.gz) = 31db560f1c5d6af49e699c42d622428fd150c69308a1b134643e97b66d0334e9 SIZE (klepto-0.2.5.tar.gz) = 158278

Packages (timestamps in pop-ups are UTC):
py39-klepto
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.2.50.2.5-0.2.50.2.5---
FreeBSD:13:quarterly0.2.50.2.50.2.30.2.50.2.50.2.40.2.40.2.4
FreeBSD:14:latest0.2.50.2.5-0.2.50.2.50.2.3-0.2.3
FreeBSD:14:quarterly0.2.40.2.5-0.2.40.2.50.2.40.2.40.2.4
FreeBSD:15:latest0.2.50.2.5n/a0.2.4n/a0.2.40.2.40.2.5
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=42 : devel/py-setuptools@py39
  2. py39-wheel>=0 : devel/py-wheel@py39
  3. python3.9 : lang/python39
  4. py39-build>=0 : devel/py-build@py39
  5. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-dill>=0.3.8 : devel/py-dill@py39
  2. py39-pox>=0.3.4 : devel/py-pox@py39
  3. python3.9 : lang/python39
This port is required by:
for Run
  1. devel/py-mystic

Configuration Options:
No options to configure
Options name:
devel_py-klepto
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/k/klepto/
  2. https://pypi.org/packages/source/k/klepto/
Collapse this list.

Number of commits found: 6

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.2.5
09 Mar 2024 14:05:50
commit hash: 948683ceab2f71dd540ba96c04739e7954bf933acommit hash: 948683ceab2f71dd540ba96c04739e7954bf933acommit hash: 948683ceab2f71dd540ba96c04739e7954bf933acommit hash: 948683ceab2f71dd540ba96c04739e7954bf933a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-klepto: Update version requirement of RUN_DEPENDS
0.2.5
21 Feb 2024 15:07:25
commit hash: dc58ef254fe37d74dd53cf9f9171a658bc136ec8commit hash: dc58ef254fe37d74dd53cf9f9171a658bc136ec8commit hash: dc58ef254fe37d74dd53cf9f9171a658bc136ec8commit hash: dc58ef254fe37d74dd53cf9f9171a658bc136ec8 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-klepto: Update to 0.2.5

Changes:	https://github.com/uqfoundation/klepto/releases
0.2.4
16 Aug 2023 18:25:27
commit hash: cae7c487a3f650fd4e434886b44ff4dbba82f3c8commit hash: cae7c487a3f650fd4e434886b44ff4dbba82f3c8commit hash: cae7c487a3f650fd4e434886b44ff4dbba82f3c8commit hash: cae7c487a3f650fd4e434886b44ff4dbba82f3c8 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-klepto: Update to 0.2.4

- Update WWW

Changes:	https://github.com/uqfoundation/klepto/releases
0.2.3
18 Jul 2023 00:53:09
commit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0a files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}

Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.

With hat: python
PR: 270510, 270358
0.2.3
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.2.3
18 Apr 2023 18:00:40
commit hash: 36ae8f643ea4d811693c6cf3af8cc0fee8e8df65commit hash: 36ae8f643ea4d811693c6cf3af8cc0fee8e8df65commit hash: 36ae8f643ea4d811693c6cf3af8cc0fee8e8df65commit hash: 36ae8f643ea4d811693c6cf3af8cc0fee8e8df65 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-klepto: Add py-klepto 0.2.3

klepto extends Python's lru_cache to utilize different keymaps and alternate
caching algorithms, such as lfu_cache and mru_cache. While caching is meant for
fast access to saved results, klepto also has archiving capabilities, for
longer-term storage. klepto uses a simple dictionary-sytle interface for all
caches and archives, and all caches can be applied to any Python function as a
decorator. Keymaps are algorithms for converting a function's input signature to
a unique dictionary, where the function's results are the dictionary value. Thus
for y = f(x), y will be stored in cache[x] (e.g. {x:y}).

klepto provides both standard and "safe" caching, where "safe" caches are slower
but can recover from hashing errors. klepto is intended to be used for
distributed and parallel computing, where several of the keymaps serialize the
stored objects. Caches and archives are intended to be read/write accessible
from different threads and processes. klepto enables a user to decorate a
function, save the results to a file or database archive, close the interpreter,
start a new session, and reload the function and it's cache.

Number of commits found: 6