[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/28: gnu: Add python-pypa-build.
From: |
guix-commits |
Subject: |
02/28: gnu: Add python-pypa-build. |
Date: |
Fri, 15 Jan 2021 16:34:44 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 7bca632098600a96998b5ea713831e31f5ed2a1a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 15 07:57:03 2021 -0500
gnu: Add python-pypa-build.
* gnu/packages/python-build.scm (python-pypa-build): New variable.
---
gnu/packages/python-build.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index b0940b6..65b90dd 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
-;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2018, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -113,6 +113,32 @@ Language (TOML) configuration files.")
"Wrappers to build Python packages using PEP 517 hooks.")
(license license:expat))))
+;;; The name 'python-pypa-build' is chosen rather than 'python-build' to avoid
+;;; a name clash with python-build from (guix build-system python).
+(define-public python-pypa-build
+ (package
+ (name "python-pypa-build")
+ (version "0.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "build" version))
+ (sha256
+ (base32
+ "1d6m21lijwm04g50nwgsgj7x3vhblzw7jv05ah8psqgzk20bbch8"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ;to tests in the PyPI release
+ (propagated-inputs
+ `(("python-pep517", python-pep517-bootstrap)
+ ("python-toml" ,python-toml)))
+ (home-page "https://pypa-build.readthedocs.io/en/latest/")
+ (synopsis "Simple Python PEP 517 package builder")
+ (description "The @command{build} command invokes the PEP 517 hooks to
+build a distribution package. It is a simple build tool and does not perform
+any dependency management. It aims to keep dependencies to a minimum, in
+order to make bootstrapping easier.")
+ (license license:expat)))
+
(define-public python-poetry-core
(package
(name "python-poetry-core")
- branch core-updates updated (9621809 -> 812a293), guix-commits, 2021/01/15
- 01/28: gnu: python-xyz: Move a few modules to (gnu packages python-build)., guix-commits, 2021/01/15
- 02/28: gnu: Add python-pypa-build.,
guix-commits <=
- 03/28: gnu: python-decorator: Update to 4.4.2., guix-commits, 2021/01/15
- 04/28: gnu: python-mypy: Fix build., guix-commits, 2021/01/15
- 05/28: gnu: python-pytest: Propagate python-iniconfig, python-toml., guix-commits, 2021/01/15
- 10/28: gnu: python-pytest-forked: Update to 1.3.0., guix-commits, 2021/01/15
- 06/28: gnu: python-mccabe: Add missing python-toml input., guix-commits, 2021/01/15
- 07/28: gnu: python-pyflakes: Fix build., guix-commits, 2021/01/15
- 08/28: gnu: python-mccabe: Fix indentation., guix-commits, 2021/01/15
- 09/28: gnu: python-typed-ast: Update to 1.4.2., guix-commits, 2021/01/15
- 13/28: gnu: python-babel: Fix build., guix-commits, 2021/01/15
- 14/28: gnu: python-simplejson: Update to 3.17.2, fixing build., guix-commits, 2021/01/15