diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-23 22:07:17 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-27 00:25:49 +0100 |
| commit | db5bd02c932d045acc8c14ea964dc0fe656c0b2b (patch) | |
| tree | dd1fb6a6a6ea5b599b8bc756d2ecfea5af4d71fa /gnu/packages/openstack.scm | |
| parent | dfb49bb8eda76e8a3606e2362512a1472113a7b7 (diff) | |
gnu: python-oslosphinx: Switch to pyproject.
* gnu/packages/openstack.scm (python-oslosphinx):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Improve style.
[native-inputs]: Add python-setuptools, python-wheel.
Change-Id: Ic03946b922712821b8de0654b17fc3749fd54f0d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/openstack.scm')
| -rw-r--r-- | gnu/packages/openstack.scm | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 3d897fcf2e0..55b75ffaab4 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm | |||
| @@ -674,23 +674,27 @@ and building documentation from them.") | |||
| 674 | (method url-fetch) | 674 | (method url-fetch) |
| 675 | (uri (pypi-uri "oslosphinx" version)) | 675 | (uri (pypi-uri "oslosphinx" version)) |
| 676 | (sha256 | 676 | (sha256 |
| 677 | (base32 | 677 | (base32 "1xm41857vzrzjmnyi6bqirg4i5qa61v7wxcsdc4q1nzgr3ndgz5k")))) |
| 678 | "1xm41857vzrzjmnyi6bqirg4i5qa61v7wxcsdc4q1nzgr3ndgz5k")))) | 678 | (build-system pyproject-build-system) |
| 679 | (build-system python-build-system) | ||
| 680 | (arguments | 679 | (arguments |
| 681 | `(#:phases | 680 | (list |
| 682 | (modify-phases %standard-phases | 681 | #:phases |
| 683 | (add-after 'unpack 'relax-requirements | 682 | #~(modify-phases %standard-phases |
| 684 | (lambda _ | 683 | (add-after 'unpack 'relax-requirements |
| 685 | (substitute* "test-requirements.txt" | 684 | (lambda _ |
| 686 | (("hacking!=0.13.0,<0.14,>=0.12.0") | 685 | (substitute* "test-requirements.txt" |
| 687 | "hacking!=0.13.0,>=0.12.0")) | 686 | (("hacking.*") |
| 688 | #t))))) | 687 | "hacking"))))))) |
| 689 | (propagated-inputs | 688 | (propagated-inputs |
| 690 | (list python-requests)) | 689 | (list python-requests)) |
| 691 | (native-inputs | 690 | (native-inputs |
| 692 | (list python-hacking python-openstackdocstheme python-pbr | 691 | (list python-hacking |
| 693 | python-reno python-sphinx)) | 692 | python-openstackdocstheme |
| 693 | python-pbr | ||
| 694 | python-reno | ||
| 695 | python-setuptools | ||
| 696 | python-sphinx | ||
| 697 | python-wheel)) | ||
| 694 | (home-page "https://www.openstack.org/") | 698 | (home-page "https://www.openstack.org/") |
| 695 | (synopsis "OpenStack sphinx extensions and theme") | 699 | (synopsis "OpenStack sphinx extensions and theme") |
| 696 | (description "This package provides themes and extensions for Sphinx | 700 | (description "This package provides themes and extensions for Sphinx |
