diff options
| author | Andreas Enge <andreas@enge.fr> | 2026-03-25 14:53:20 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-03-25 14:54:39 +0100 |
| commit | 20aaf45aca3b5eafb84604b186324d5e29d2d99a (patch) | |
| tree | be5bed42603980f7dc78e79e2e85df16c60cd218 /gnu/packages/python-build.scm | |
| parent | 230222f384a8f3aa00186e1b4e81677c5888e5f6 (diff) | |
gnu: Remove python-flit-scm.
* gnu/packages/python-build.scm (python-flit-scm): Delete variable.
* guix/lint.scm (%python-native-inputs): Remove entry.
Fixes: guix/guix#2360
Change-Id: I38040bdff8cd7d74c272abf466897a446ce6d045
Diffstat (limited to 'gnu/packages/python-build.scm')
| -rw-r--r-- | gnu/packages/python-build.scm | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index 6bead13ba17..a475fd0f8ee 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm | |||
| @@ -1191,44 +1191,6 @@ specified by PEP 517, @code{flit_core.buildapi}.") | |||
| 1191 | (delete "python-toml") | 1191 | (delete "python-toml") |
| 1192 | (prepend python-tomli))))) | 1192 | (prepend python-tomli))))) |
| 1193 | 1193 | ||
| 1194 | (define-public python-flit-scm | ||
| 1195 | (package | ||
| 1196 | (name "python-flit-scm") | ||
| 1197 | (version "1.7.0") | ||
| 1198 | (source | ||
| 1199 | (origin | ||
| 1200 | (method url-fetch) | ||
| 1201 | (uri (pypi-uri "flit_scm" version)) | ||
| 1202 | (sha256 | ||
| 1203 | (base32 "1ckbkykfr7f7wzjzgh0gm7h6v3pqzx2l28rw6dsvl6zk4kxxc6wn")))) | ||
| 1204 | (build-system pyproject-build-system) | ||
| 1205 | (arguments | ||
| 1206 | (list | ||
| 1207 | #:tests? #f ;no tests in PyPI archive or Git checkout | ||
| 1208 | #:phases | ||
| 1209 | #~(modify-phases %standard-phases | ||
| 1210 | (add-after 'unpack 'fix-backend | ||
| 1211 | ;; flit_scm imports flit_core's buildapi and tries to make it | ||
| 1212 | ;; available as "flit_scm:buildapi", see comment in | ||
| 1213 | ;; <flit_scm/__init__.py>; but it fails during build phase with | ||
| 1214 | ;; error: ModuleNotFoundError: No module named | ||
| 1215 | ;; 'flit_scm:buildapi'. | ||
| 1216 | ;; | ||
| 1217 | ;; Use flit_core.buildapi directly to build flit_scm. | ||
| 1218 | (lambda _ | ||
| 1219 | (substitute* "pyproject.toml" | ||
| 1220 | (("flit_scm:buildapi") "flit_core.buildapi"))))))) | ||
| 1221 | (propagated-inputs | ||
| 1222 | (list python-flit-core | ||
| 1223 | python-setuptools-scm | ||
| 1224 | python-tomli)) | ||
| 1225 | (home-page "https://gitlab.com/WillDaSilva/flit_scm") | ||
| 1226 | (synopsis "PEP 518 build backend combining flit_core and setuptools_scm") | ||
| 1227 | (description "This package provides a PEP 518 build backend that uses | ||
| 1228 | @code{setuptools_scm} to generate a version file from your version control | ||
| 1229 | system, then @code{flit_core} to build the package.") | ||
| 1230 | (license license:expat))) | ||
| 1231 | |||
| 1232 | (define-public python-setuptools-scm | 1194 | (define-public python-setuptools-scm |
| 1233 | (package | 1195 | (package |
| 1234 | (name "python-setuptools-scm") | 1196 | (name "python-setuptools-scm") |
