From: Vinicius Monego <monego@posteo.net>
To: 72144@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#72144] [PATCH 1/2] gnu: Add python-property-cached.
Date: Tue, 16 Jul 2024 23:38:21 +0000 [thread overview]
Message-ID: <3ef79164bb4520b45043f7e7f0410de79c3b0283.1721163251.git.monego@posteo.net> (raw)
In-Reply-To: <cover.1721163251.git.monego@posteo.net>
* gnu/packages/python-xyz.scm (python-property-cached): New variable.
Change-Id: I173c358bd8cf6d536cc984c3d9c76e0bad41dad4
---
gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 88f19c0f55..2a13097e8b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10011,6 +10011,28 @@ (define-public python-olefile
the OleFileIO module from PIL, the Python Image Library.")
(license license:bsd-3)))
+(define-public python-property-cached
+ (package
+ (name "python-property-cached")
+ (version "1.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "property-cached" version ".zip"))
+ (sha256
+ (base32 "0wxv5sdx1p7ils36j6j6hfscz8v2vzbq212i8y8r0lrnxpqlx71y"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; AssertionError.
+ #:test-flags #~(list "-k" "not test_threads_ttl_expiry")))
+ (native-inputs (list python-freezegun python-pytest unzip))
+ (home-page "https://github.com/althonos/property-cached/")
+ (synopsis "Decorator for caching properties in classes")
+ (description "This package provides a decorator for caching properties in
+classes. It is forked from @code{cached-property}.")
+ (license license:bsd-3)))
+
(define-public python-pypdf3
(package
(name "python-pypdf3")
--
2.39.2
next prev parent reply other threads:[~2024-07-16 23:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-16 20:55 [bug#72144] [PATCH 0/2] Add python-lcapy Vinicius Monego
2024-07-16 23:38 ` Vinicius Monego [this message]
2024-07-17 1:57 ` bug#72144: " jgart via Guix-patches via
2024-07-16 23:38 ` [bug#72144] [PATCH 2/2] gnu: " Vinicius Monego
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ef79164bb4520b45043f7e7f0410de79c3b0283.1721163251.git.monego@posteo.net \
--to=monego@posteo.net \
--cc=72144@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.