diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2023-04-27 09:11:05 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2023-04-27 09:11:05 +0200 |
| commit | f196b3b7a53b94fb855cb2e5365468feedda750c (patch) | |
| tree | 250909dc0aed061b659e9de17bf4c3cf6b65ba22 /gnu/packages/python-web.scm | |
| parent | 0dc7f773fd08f21a94779484ed947dedc1c15fdd (diff) | |
gnu: python-tinycss2: Simplify.
* gnu/packages/python-web.scm (python-tinycss2)[build-system]: Use
pyproject-build-system.
[arguments]: Remove.
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0111d5508f6..d7ad0510070 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -5291,31 +5291,7 @@ modules: | |||
| 5291 | (file-name (git-file-name name version)) | 5291 | (file-name (git-file-name name version)) |
| 5292 | (sha256 | 5292 | (sha256 |
| 5293 | (base32 "0zyc48vbmczpqj7f3f0d7zb3bz29fyj50dg0m6bbwbr5i88kq3sq")))) | 5293 | (base32 "0zyc48vbmczpqj7f3f0d7zb3bz29fyj50dg0m6bbwbr5i88kq3sq")))) |
| 5294 | (build-system python-build-system) | 5294 | (build-system pyproject-build-system) |
| 5295 | (arguments | ||
| 5296 | `(#:phases | ||
| 5297 | (modify-phases %standard-phases | ||
| 5298 | (replace 'build | ||
| 5299 | (lambda _ | ||
| 5300 | ;; A ZIP archive should be generated, but it fails with "ZIP does | ||
| 5301 | ;; not support timestamps before 1980". Luckily, | ||
| 5302 | ;; SOURCE_DATE_EPOCH is respected, which we set to some time in | ||
| 5303 | ;; 1980. | ||
| 5304 | (setenv "SOURCE_DATE_EPOCH" "315532800") | ||
| 5305 | (invoke "flit" "build"))) | ||
| 5306 | (replace 'install | ||
| 5307 | (lambda* (#:key inputs outputs #:allow-other-keys) | ||
| 5308 | (add-installed-pythonpath inputs outputs) | ||
| 5309 | (let ((out (assoc-ref outputs "out"))) | ||
| 5310 | (for-each (lambda (wheel) | ||
| 5311 | (format #true wheel) | ||
| 5312 | (invoke "python" "-m" "pip" "install" | ||
| 5313 | wheel (string-append "--prefix=" out))) | ||
| 5314 | (find-files "dist" "\\.whl$"))))) | ||
| 5315 | (replace 'check | ||
| 5316 | (lambda* (#:key inputs outputs tests? #:allow-other-keys) | ||
| 5317 | (add-installed-pythonpath inputs outputs) | ||
| 5318 | (invoke "pytest" "-vv")))))) | ||
| 5319 | (propagated-inputs | 5295 | (propagated-inputs |
| 5320 | (list python-webencodings)) | 5296 | (list python-webencodings)) |
| 5321 | (native-inputs | 5297 | (native-inputs |
