diff options
Diffstat (limited to 'gnu/packages/python-build.scm')
| -rw-r--r-- | gnu/packages/python-build.scm | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index be107be6ff0..77cbef14ed8 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm | |||
| @@ -1352,12 +1352,7 @@ reflected in the package visible to Python, without needing a reinstall.") | |||
| 1352 | (arguments | 1352 | (arguments |
| 1353 | (list | 1353 | (list |
| 1354 | #:tests? #f ;to keep dependencies to a minimum | 1354 | #:tests? #f ;to keep dependencies to a minimum |
| 1355 | #:build-backend "setuptools.build_meta" | 1355 | #:build-backend "setuptools.build_meta")) |
| 1356 | #:phases | ||
| 1357 | #~(modify-phases %standard-phases | ||
| 1358 | (add-before 'build 'set-version | ||
| 1359 | (lambda _ | ||
| 1360 | (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) | ||
| 1361 | (native-inputs | 1356 | (native-inputs |
| 1362 | (list python-flit-scm)) | 1357 | (list python-flit-scm)) |
| 1363 | (propagated-inputs | 1358 | (propagated-inputs |
| @@ -1777,13 +1772,6 @@ module with a few extra procedures.") | |||
| 1777 | (sha256 | 1772 | (sha256 |
| 1778 | (base32 "12bj9za1yp0yn0ppya6a4kwgmh7hvmw64x7ivp4y0sbv20r0vfdq")))) | 1773 | (base32 "12bj9za1yp0yn0ppya6a4kwgmh7hvmw64x7ivp4y0sbv20r0vfdq")))) |
| 1779 | (build-system pyproject-build-system) | 1774 | (build-system pyproject-build-system) |
| 1780 | (arguments | ||
| 1781 | (list | ||
| 1782 | #:phases | ||
| 1783 | #~(modify-phases %standard-phases | ||
| 1784 | (add-after 'unpack 'set-version | ||
| 1785 | (lambda _ | ||
| 1786 | (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) | ||
| 1787 | (native-inputs | 1775 | (native-inputs |
| 1788 | (list python-pytest-bootstrap | 1776 | (list python-pytest-bootstrap |
| 1789 | python-setuptools-bootstrap | 1777 | python-setuptools-bootstrap |
