mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: python-setuptools: Update to 62.0.0.
* gnu/packages/python-xyz.scm (python-setuptools): Update to 62.0.0. [source]: Simplify snippet and strip trailing #t. [arguments]: Re-indent. [synopsis]: Likewise. [description]: Use @itemize. [license]: Strip leading spaces from in-line comments.
This commit is contained in:
parent
5c41c122a5
commit
520cdf8058
1 changed files with 27 additions and 30 deletions
|
@ -1842,44 +1842,41 @@ (define-public python2-serpent
|
||||||
(define-public python-setuptools
|
(define-public python-setuptools
|
||||||
(package
|
(package
|
||||||
(name "python-setuptools")
|
(name "python-setuptools")
|
||||||
(version "52.0.0")
|
(version "62.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "setuptools" version))
|
(uri (pypi-uri "setuptools" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"15ibjdjhkwgj6qbmpsxikkqdfsb1550z46fly7dm15ah4bk1wfpv"))
|
"0sm8n6y6q640cpac9wjyggidbgi4n9la7vs7pwriyvhvgzccp6br"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
;; Remove included binaries which are used to build self-extracting
|
||||||
;; Remove included binaries which are used to build self-extracting
|
;; installers for Windows.
|
||||||
;; installers for Windows.
|
;; TODO: Find some way to build them ourself so we can include them.
|
||||||
;; TODO: Find some way to build them ourself so we can include them.
|
'(for-each delete-file (find-files "setuptools"
|
||||||
(for-each delete-file (find-files "setuptools" "^(cli|gui).*\\.exe$"))
|
"^(cli|gui).*\\.exe$")))))
|
||||||
#t))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
;; FIXME: Tests require pytest, which itself relies on setuptools.
|
;; FIXME: Tests require pytest, which itself relies on setuptools.
|
||||||
;; One could bootstrap with an internal untested setuptools.
|
;; One could bootstrap with an internal untested setuptools.
|
||||||
(arguments
|
(arguments (list #:tests? #f))
|
||||||
`(#:tests? #f))
|
|
||||||
(home-page "https://pypi.org/project/setuptools/")
|
(home-page "https://pypi.org/project/setuptools/")
|
||||||
(synopsis
|
(synopsis "Library designed to facilitate packaging Python projects")
|
||||||
"Library designed to facilitate packaging Python projects")
|
(description "Setuptools is a fully-featured, stable library designed to
|
||||||
(description
|
facilitate packaging Python projects, where packaging includes:
|
||||||
"Setuptools is a fully-featured, stable library designed to facilitate
|
@itemize
|
||||||
packaging Python projects, where packaging includes:
|
@item Python package and module definitions
|
||||||
Python package and module definitions,
|
@item distribution package metadata
|
||||||
distribution package metadata,
|
@item test hooks
|
||||||
test hooks,
|
@item project installation
|
||||||
project installation,
|
@item platform-specific details.
|
||||||
platform-specific details,
|
@end itemize")
|
||||||
Python 3 support.")
|
|
||||||
;; TODO: setuptools now bundles the following libraries:
|
;; TODO: setuptools now bundles the following libraries:
|
||||||
;; packaging, pyparsing, six and appdirs. How to unbundle?
|
;; packaging, pyparsing, six and appdirs. How to unbundle?
|
||||||
(license (list license:psfl ; setuptools itself
|
(license (list license:psfl ;setuptools itself
|
||||||
license:expat ; six, appdirs, pyparsing
|
license:expat ;six, appdirs, pyparsing
|
||||||
license:asl2.0 ; packaging is dual ASL2/BSD-2
|
license:asl2.0 ;packaging is dual ASL2/BSD-2
|
||||||
license:bsd-2))
|
license:bsd-2))
|
||||||
(properties `((python2-variant . ,(delay python2-setuptools))))))
|
(properties `((python2-variant . ,(delay python2-setuptools))))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue