diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-03 14:05:04 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-24 10:14:57 +0100 |
| commit | eaea62aadb7d6702cf7b4584c991517ac2f3c62c (patch) | |
| tree | f8df87359bf1ee2ab7c347a934636370cd2d995c /gnu/packages/python-check.scm | |
| parent | 98e6b3d1cac753abc49adb2471588213e09a16a6 (diff) | |
gnu: python-cucumber-expressions: Update to 19.0.0.
* gnu/packages/python-check.scm (python-cucumber-expressions): Update to 19.0.0.
[phases]{patch-pyproject}: New phase.
[native-inputs]: Remove python-poetry-core; add python-setuptools.
Change-Id: Ia41ef5b4f4289f69cfe69e7f86cc8ba195f15e35
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 22c626e0075..ac4b9809db9 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -786,7 +786,7 @@ counterexamples for you.") | |||
| 786 | (define-public python-cucumber-expressions | 786 | (define-public python-cucumber-expressions |
| 787 | (package | 787 | (package |
| 788 | (name "python-cucumber-expressions") | 788 | (name "python-cucumber-expressions") |
| 789 | (version "18.0.1") | 789 | (version "19.0.0") |
| 790 | (source | 790 | (source |
| 791 | (origin | 791 | (origin |
| 792 | (method git-fetch) | 792 | (method git-fetch) |
| @@ -795,19 +795,25 @@ counterexamples for you.") | |||
| 795 | (commit (string-append "v" version)))) | 795 | (commit (string-append "v" version)))) |
| 796 | (file-name (git-file-name name version)) | 796 | (file-name (git-file-name name version)) |
| 797 | (sha256 | 797 | (sha256 |
| 798 | (base32 "1syxa142v9sajy7n2az7d0jc6lsjg93kw659pxfs3g6ddrngpdri")))) | 798 | (base32 "1ijjvh9hwfcagawysd4p1xirjpx719i7v4iwkbziwqw73jy8gayh")))) |
| 799 | (build-system pyproject-build-system) | 799 | (build-system pyproject-build-system) |
| 800 | (arguments | 800 | (arguments |
| 801 | (list | 801 | (list |
| 802 | #:build-backend "setuptools.build_meta" ;requires uv_build | ||
| 802 | #:phases | 803 | #:phases |
| 803 | #~(modify-phases %standard-phases | 804 | #~(modify-phases %standard-phases |
| 804 | ;; Project's repository contains go, java, javascript, perl, python | 805 | ;; Project's repository contains go, java, javascript, perl, python |
| 805 | ;; and ruby implementations. | 806 | ;; and ruby implementations. |
| 806 | (add-after 'unpack 'chdir-python | 807 | (add-after 'unpack 'chdir-python |
| 807 | (lambda _ | 808 | (lambda _ |
| 808 | (chdir "python")))))) | 809 | (chdir "python"))) |
| 810 | (add-after 'chdir-python 'patch-pyproject | ||
| 811 | (lambda _ | ||
| 812 | ;; setuptools cannot handle both license and license-files | ||
| 813 | (substitute* "pyproject.toml" | ||
| 814 | (("^license = .*") ""))))))) | ||
| 809 | (native-inputs | 815 | (native-inputs |
| 810 | (list python-poetry-core python-pytest python-pyyaml)) | 816 | (list python-pytest python-pyyaml python-setuptools)) |
| 811 | (home-page "https://github.com/cucumber/cucumber-expressions") | 817 | (home-page "https://github.com/cucumber/cucumber-expressions") |
| 812 | (synopsis "A simpler alternative to Regular Expressions") | 818 | (synopsis "A simpler alternative to Regular Expressions") |
| 813 | (description | 819 | (description |
