[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/96: gnu: python-hatchling: Move to (gnu packages python-build).
From: |
guix-commits |
Subject: |
17/96: gnu: python-hatchling: Move to (gnu packages python-build). |
Date: |
Wed, 19 Apr 2023 21:41:06 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 59deb3878a7db700736da25c69eb2a7373d09248
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Apr 15 23:53:28 2023 -0400
gnu: python-hatchling: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-hatchling): Move to...
* gnu/packages/python-build.scm (python-hatchling): ... here.
---
gnu/packages/python-build.scm | 47 ++++++++++++++++++++++++++++++++++++++++++-
gnu/packages/python-xyz.scm | 45 -----------------------------------------
2 files changed, 46 insertions(+), 46 deletions(-)
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 161d334051..16a47f151a 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -7,7 +7,7 @@
;;; Copyright © 2018, 2021, 2022, 2023 Maxim Cournoyer
<maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org>
;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2020, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org>
;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
@@ -637,3 +637,48 @@ installed, will expose packages in a local directory on
@code{sys.path} in
``editable mode''. In other words, changes to the package source will be
reflected in the package visible to Python, without needing a reinstall.")
(license license:expat)))
+
+(define-public python-hatchling
+ (package
+ (name "python-hatchling")
+ (version "1.13.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "hatchling" version))
+ (sha256
+ (base32
+ "1isk1kqra0sm2sj2yp39sgk62mx0bp1jnbkwdcl3a1vjrji7blpq"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:tests? #false ;there are none
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'do-not-depend-on-hatchling
+ (lambda _
+ ;; We don't use hatchling.
+ (delete-file "pyproject.toml")
+ (call-with-output-file "pyproject.toml"
+ (lambda (port)
+ (format port "\
+[build-system]
+build-backend = 'setuptools.build_meta'
+requires = ['setuptools']
+")))
+ (call-with-output-file "setup.cfg"
+ (lambda (port)
+ (format port "\
+[metadata]
+name = hatchling
+version = '~a' " #$version))))))))
+ (propagated-inputs
+ (list python-editables
+ python-importlib-metadata
+ python-packaging
+ python-pathspec
+ python-pluggy
+ python-tomli))
+ (home-page "https://pypi.org/project/hatchling/")
+ (synopsis "Extensible Python build backend")
+ (description "Hatchling is an extensible Python build backend.")
+ (license license:expat)))
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a595ec3a21..7a1edd82fd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1761,51 +1761,6 @@ compositions like @code{XOR} and @code{NAND} are
emulated on top of them.
Expressions are constructed from parsed strings or directly in Python.")
(license license:bsd-2)))
-(define-public python-hatchling
- (package
- (name "python-hatchling")
- (version "1.13.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "hatchling" version))
- (sha256
- (base32
- "1isk1kqra0sm2sj2yp39sgk62mx0bp1jnbkwdcl3a1vjrji7blpq"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:tests? #false ;there are none
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'do-not-depend-on-hatchling
- (lambda _
- ;; We don't use hatchling.
- (delete-file "pyproject.toml")
- (call-with-output-file "pyproject.toml"
- (lambda (port)
- (format port "\
-[build-system]
-build-backend = 'setuptools.build_meta'
-requires = ['setuptools']
-")))
- (call-with-output-file "setup.cfg"
- (lambda (port)
- (format port "\
-[metadata]
-name = hatchling
-version = '~a' " #$version))))))))
- (propagated-inputs
- (list python-editables
- python-importlib-metadata
- python-packaging
- python-pathspec
- python-pluggy
- python-tomli))
- (home-page "https://pypi.org/project/hatchling/")
- (synopsis "Extensible Python build backend")
- (description "Hatchling is an extensible Python build backend.")
- (license license:expat)))
-
(define-public python-hdf4
(package
(name "python-hdf4")
- 27/96: gnu: poetry: Update to 1.1.12., (continued)
- 27/96: gnu: poetry: Update to 1.1.12., guix-commits, 2023/04/19
- 30/96: gnu: Add python-asynctest., guix-commits, 2023/04/19
- 33/96: gnu: python-pytest-asyncio: Update to 0.21.0., guix-commits, 2023/04/19
- 36/96: gnu: python-aiohttp: Update to 3.8.4., guix-commits, 2023/04/19
- 52/96: gnu: usbutils: Use G-Expressions., guix-commits, 2023/04/19
- 16/96: gnu: python-flit-scm: Update to 1.7.0., guix-commits, 2023/04/19
- 01/96: gnu: python-xyz: Move some packages to (gnu packages python-build)., guix-commits, 2023/04/19
- 05/96: gnu: python-tomli-w: Use pyproject-build-system., guix-commits, 2023/04/19
- 02/96: gnu: Add python-trove-classifiers., guix-commits, 2023/04/19
- 14/96: gnu: python-typing-extensions: Move to (gnu packages python-build)., guix-commits, 2023/04/19
- 17/96: gnu: python-hatchling: Move to (gnu packages python-build).,
guix-commits <=
- 19/96: gnu: Add python-hatch-vcs., guix-commits, 2023/04/19
- 22/96: gnu: opendht: Fix build., guix-commits, 2023/04/19
- 24/96: gnu: python-packaging: Remove labels., guix-commits, 2023/04/19
- 26/96: gnu: python-isort: Use gexps., guix-commits, 2023/04/19
- 28/96: gnu: python-numpydoc: Update to 1.5.0., guix-commits, 2023/04/19
- 29/96: gnu: python-typing-extensions: Update to 4.5.0., guix-commits, 2023/04/19
- 31/96: gnu: python-pycares: Update to 4.3.0., guix-commits, 2023/04/19
- 32/96: gnu: python-aiodns: Update to 3.0.0., guix-commits, 2023/04/19
- 34/96: gnu: python-aiosignal: Update to 1.3.1., guix-commits, 2023/04/19
- 35/96: gnu: python-pyzmq: Disable two tests to fix build., guix-commits, 2023/04/19