mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-catalogue: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-catalogue): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [inputs]: Remove them. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: Idb5e65667e1ddd060e79e947482a3603e00841f3 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
f777c53cd1
commit
83e4ee7168
1 changed files with 19 additions and 17 deletions
|
@ -39072,26 +39072,28 @@ to void* values.")
|
||||||
(package
|
(package
|
||||||
(name "python-catalogue")
|
(name "python-catalogue")
|
||||||
(version "2.0.7")
|
(version "2.0.7")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (pypi-uri "catalogue" version))
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/explosion/catalogue")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0f7dqd8swycnspwfka79whr0v630v52hdmkmd1x7l920h33pg467"))))
|
||||||
"0srdxiil2xys8q1gpc1nvzhvis3a33d8a7amk2i1rlpbg6p36pak"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
(native-inputs (list python-pytest python-setuptools python-wheel))
|
||||||
(native-inputs (list python-pytest))
|
|
||||||
(inputs (list python python-zipp python-typing-extensions python-mypy))
|
|
||||||
(home-page "https://github.com/explosion/catalogue")
|
(home-page "https://github.com/explosion/catalogue")
|
||||||
(synopsis "Lightweight function registries for your library")
|
(synopsis "Lightweight function registries for your library")
|
||||||
(description
|
(description
|
||||||
"\"catalogue\" is a tiny, zero-dependencies library that
|
"This package is a tiny, zero-dependencies library that makes it easy to
|
||||||
makes it easy to add function (or object) registries to your code. Function
|
add function (or object) registries to your code. Function registries are
|
||||||
registries are helpful when you have objects that need to be both easily
|
helpful when you have objects that need to be both easily serializable and
|
||||||
serializable and fully customizable. Instead of passing a function into your
|
fully customizable. Instead of passing a function into your object, you pass
|
||||||
object, you pass in an identifier name, which the object can use to lookup the
|
in an identifier name, which the object can use to lookup the function from
|
||||||
function from the registry. This makes the object easy to serialize, because the
|
the registry. This makes the object easy to serialize, because the name is a
|
||||||
name is a simple string. If you instead saved the function, you'd have to use
|
simple string. If you instead saved the function, you'd have to use Pickle
|
||||||
Pickle for serialization, which has many drawbacks.")
|
for serialization, which has many drawbacks.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-wasabi
|
(define-public python-wasabi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue