[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates-frozen updated: gnu: python-google-api-client: Rewri
From: |
guix-commits |
Subject: |
branch core-updates-frozen updated: gnu: python-google-api-client: Rewrite invalid setup.py. |
Date: |
Tue, 31 Aug 2021 12:40:01 -0400 |
This is an automated email from the git hooks/post-receive script.
lbraun pushed a commit to branch core-updates-frozen
in repository guix.
The following commit(s) were added to refs/heads/core-updates-frozen by this
push:
new bac072e gnu: python-google-api-client: Rewrite invalid setup.py.
bac072e is described below
commit bac072e09bb80c172672e13782e1ed25ce04d6d5
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Tue Aug 31 18:33:58 2021 +0200
gnu: python-google-api-client: Rewrite invalid setup.py.
The packages argument accepts package names only, not paths. Replacing
the slash with a dot allows passing the sanity-check phase, because the
submodule will not be listed in top_level.txt any more.
* gnu/packages/python-web.scm (python-google-api-client) [#:phases]:
Add new phase 'fix-setup-py.
---
gnu/packages/python-web.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 91b68cf..4763abc 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4338,7 +4338,15 @@ Google search engine. Its module is called
@code{googlesearch}.")
"1wpbbbxfpy9mwxdy3kn352cb590ladv574j1aa2l4grjdqw3ln05"))))
(build-system python-build-system)
(arguments
- '(#:tests? #f)) ; tests require internet access
+ `(#:tests? #f ; tests require internet access
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-setup-py
+ (lambda _
+ (substitute* "setup.py"
+ (("googleapiclient/discovery_cache")
+ "googleapiclient.discovery_cache"))
+ #t)))))
(native-inputs
`(("python-httplib2" ,python-httplib2)
("python-six" ,python-six)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates-frozen updated: gnu: python-google-api-client: Rewrite invalid setup.py.,
guix-commits <=