From: "Jakub Kądziołka" <kuba@kadziolka.net>
To: 39932@debbugs.gnu.org
Subject: [bug#39932] [PATCH 1/3] gnu: python-xyz: Add python-distlib.
Date: Thu, 5 Mar 2020 20:22:02 +0100 [thread overview]
Message-ID: <20200305192204.14973-1-kuba@kadziolka.net> (raw)
In-Reply-To: <20200305191424.12134-1-kuba@kadziolka.net>
* gnu/packages/python-xyz.scm (python-distlib): New variable.
---
gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3cd1686d28..2dfda3d26d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4410,6 +4410,38 @@ by pycodestyle.")
(define-public python2-autopep8
(package-with-python2 python-autopep8))
+(define-public python-distlib
+ (package
+ (name "python-distlib")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "distlib" version ".zip"))
+ (sha256
+ (base32
+ "08fyi2r246733vharl2yckw20rilci28r91mzrnnvcr638inw5if"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'no-/bin/sh
+ (lambda _
+ (substitute* '("distlib/scripts.py" "tests/test_scripts.py")
+ (("/bin/sh") (which "sh")))))
+ (add-before 'check 'prepare-test-env
+ (lambda _
+ (setenv "HOME" "/tmp")
+ ;; NOTE: Any value works, the variable just has to be present.
+ (setenv "SKIP_ONLINE" "1"))))))
+ (native-inputs `(("unzip" ,unzip)))
+ (home-page "https://bitbucket.org/pypa/distlib")
+ (synopsis "Distribution utilities")
+ (description "Distlib is a library which implements low-level functions that
+relate to packaging and distribution of Python software. It is intended to be
+used as the basis for third-party packaging tools.")
+ (license license:psfl)))
+
(define-public python-distutils-extra
(package
(name "python-distutils-extra")
--
2.25.1
next prev parent reply other threads:[~2020-03-05 19:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-05 19:14 [bug#39932] [PATCH 0/3] python-virtualenv: Update to 20.0.8 Jakub Kądziołka
2020-03-05 19:22 ` Jakub Kądziołka [this message]
2020-03-05 19:22 ` [bug#39932] [PATCH 2/3] gnu: python-xyz: Add python-filelock Jakub Kądziołka
2020-03-05 19:22 ` [bug#39932] [PATCH 3/3] gnu: python-virtualenv: Update to 20.0.8 Jakub Kądziołka
2020-03-08 20:18 ` [bug#39932] [PATCH 1/3] gnu: python-xyz: Add python-distlib Ludovic Courtès
2020-03-08 23:22 ` bug#39932: " Jakub Kądziołka
2020-03-05 20:29 ` [bug#39932] Addendum: python-virtualenv: Update to 20.0.8 Jakub Kądziołka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200305192204.14973-1-kuba@kadziolka.net \
--to=kuba@kadziolka.net \
--cc=39932@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).