diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-26 10:33:31 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-26 10:37:54 +0000 |
| commit | e2d6046754439ed1553645992b6155bb2f18bd7b (patch) | |
| tree | a920bd614d7b493b66270e5e3afa99ba652672c2 /gnu | |
| parent | 6e55c13795222039c68fbceeef4efc9fe25c2daa (diff) | |
gnu: python-pure-protobuf: Update to 3.1.5.
* gnu/packages/protobuf.scm (python-pure-protobuf): Update to 3.1.5.
[build-system]: Switch to pyproject-build-system.
[arguments] <build-backend>: Use "poetry.core.masonry.api".
[native-inputs]: Remove python-flake8 and python-isort; add
python-poetry-core, python-poetry-dynamic-versioning, python-pydantic-2,
and python-pytest-benchmark.
Change-Id: Ie43a664a862377629c05a0dc921d06495b1d1b4c
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/protobuf.scm | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 2b18129a4f2..8b3606654c1 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -584,30 +584,27 @@ mechanism for serializing structured data.") (define-public python-pure-protobuf (package (name "python-pure-protobuf") - (version "2.0.1") + (version "3.1.5") (source (origin - ;; The PyPI tarball is broken: it has no tests. (method git-fetch) (uri (git-reference - (url "https://github.com/eigenein/protobuf") - (commit version))) + (url "https://github.com/eigenein/protobuf") + (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "15dp5pvazd0jx4wzzh79080ah7hkpd3axh40al9vhzs2hf3v90hx")))) - (build-system python-build-system) - (native-inputs - (list python-flake8 python-pytest python-pytest-cov python-isort)) + (base32 "1ab665h5nmvg52zqdaa0pnmvimh6m6zis2l2vz3lqjd0jqm5zghs")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "pytest" "--cov-report" "term-missing" "--cov" - "pure_protobuf") - (invoke "flake8" "pure_protobuf" "tests" - "--ignore=F541") - (invoke "isort" "-rc" "-c" "pure_protobuf" "tests")))))) + (list + #:build-backend "poetry.core.masonry.api")) + (native-inputs + (list python-poetry-core + python-poetry-dynamic-versioning + python-pydantic-2 + python-pytest + python-pytest-benchmark + python-pytest-cov)) (home-page "https://pypi.org/project/pure-protobuf/") (synopsis "Protobuf implementation using dataclasses") (description |
