summaryrefslogtreecommitdiff
path: root/gnu/packages/openstack.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-24 04:07:52 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-27 00:25:52 +0100
commit2b6ba236074e04f947948381ccc1e43ab518bb29 (patch)
treeffc6b3c2683e46697999e9f3d616ee3636554c40 /gnu/packages/openstack.scm
parent9446a65472ca8e5180382631cdee824a5f935d90 (diff)
gnu: python-oslo-context: Switch to pyproject.
* gnu/packages/openstack.scm (python-oslo-context): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Refresh them. [native-inputs]: Add python-setuptools, python-wheel. Replace python-oslotest by python-oslotest-bootstrap. Remove python-hacking. Change-Id: I1e55cf963c76bb674a8d69fd4c52f58032e0bbf2 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/openstack.scm')
-rw-r--r--gnu/packages/openstack.scm26
1 files changed, 14 insertions, 12 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index b8194d68d47..4f8a8504633 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -661,26 +661,28 @@ for running external processes.")
661 (sha256 661 (sha256
662 (base32 662 (base32
663 "091j2cjh1b60nx6s0a4amb2idh9awijnbmppc3an0738fv8cdh48")))) 663 "091j2cjh1b60nx6s0a4amb2idh9awijnbmppc3an0738fv8cdh48"))))
664 (build-system python-build-system) 664 (build-system pyproject-build-system)
665 (arguments 665 (arguments
666 `(#:phases (modify-phases %standard-phases 666 (list
667 (add-after 'unpack 'relax-requirements 667 #:phases
668 (lambda _ 668 #~(modify-phases %standard-phases
669 (substitute* "test-requirements.txt" 669 (add-after 'unpack 'relax-requirements
670 (("hacking[<>!=].*") "hacking\n") 670 (lambda _
671 ;; unused, code-quality checks only 671 (substitute* "test-requirements.txt"
672 (("bandit[<>!=]" line) (string-append "# " line)) 672 ;; unused, code-quality checks only
673 (("pre-commit[<>!=]" line) (string-append "# " line)))))))) 673 (("(bandit|hacking|pre-commit)[<>!=]" line)
674 (string-append "# " line))))))))
674 (propagated-inputs 675 (propagated-inputs
675 (list python-debtcollector)) 676 (list python-debtcollector))
676 (native-inputs 677 (native-inputs
677 (list python-coverage 678 (list python-coverage
678 python-fixtures 679 python-fixtures
679 python-hacking
680 python-mypy 680 python-mypy
681 python-oslotest 681 python-oslotest-bootstrap
682 python-pbr 682 python-pbr
683 python-stestr)) 683 python-setuptools
684 python-stestr
685 python-wheel))
684 (home-page "https://launchpad.net/oslo") 686 (home-page "https://launchpad.net/oslo")
685 (synopsis "Oslo context library") 687 (synopsis "Oslo context library")
686 (description 688 (description