[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
61/131: gnu: python-pure-protobuf: Do not alter PYTHONPATH.
From: |
guix-commits |
Subject: |
61/131: gnu: python-pure-protobuf: Do not alter PYTHONPATH. |
Date: |
Fri, 29 Jan 2021 09:21:59 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit e33d33999d2da49d8e3429c79e8455bddc997991
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jan 23 23:10:18 2021 -0500
gnu: python-pure-protobuf: Do not alter PYTHONPATH.
* gnu/packages/protobuf.scm (python-pure-protobuf)
[phases]{setup-test-env}: Delete phase.
{check}: Delete trailing #t.
---
gnu/packages/protobuf.scm | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
index 61dee46..50caccc 100644
--- a/gnu/packages/protobuf.scm
+++ b/gnu/packages/protobuf.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
;;;
@@ -255,26 +255,13 @@ mechanism for serializing structured data.")
(arguments
`(#:phases
(modify-phases %standard-phases
- (add-before 'check 'setup-test-env
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (py3sitedir
- (string-append out "/lib/python"
- ,(version-major+minor
- (package-version python))
- "/site-packages")))
- (setenv "PYTHONPATH"
- (string-append py3sitedir ":"
- (getenv "PYTHONPATH"))))
- #t))
(replace 'check
(lambda _
(invoke "pytest" "--cov-report" "term-missing" "--cov"
"pure_protobuf")
(invoke "flake8" "pure_protobuf" "tests"
"--ignore=F541")
- (invoke "isort" "-rc" "-c" "pure_protobuf" "tests")
- #t)))))
+ (invoke "isort" "-rc" "-c" "pure_protobuf" "tests"))))))
(home-page "https://pypi.org/project/pure-protobuf/")
(synopsis "Protobuf implementation using dataclasses")
(description
- 78/131: gnu: python-pygithub: Do not set PYTHONPATH., (continued)
- 78/131: gnu: python-pygithub: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 83/131: gnu: python-msgpack: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 56/131: gnu: python-fenics-ufl: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 89/131: gnu: python-odfpy: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 99/131: gnu: python-aiohttp: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 102/131: gnu: python-cfn-lint: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 103/131: gnu: python-jsonpickle: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 111/131: gnu: redshift: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 129/131: gnu: mpd: Update comment., guix-commits, 2021/01/29
- 58/131: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 61/131: gnu: python-pure-protobuf: Do not alter PYTHONPATH.,
guix-commits <=
- 85/131: gnu: python-tblib: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 81/131: gnu: python2-backports-shutil-get-terminal-size: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 88/131: gnu: python-binwalk: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 98/131: gnu: python2-send2trash: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 100/131: gnu: python-asgiref: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 120/131: gnu: hplip: Adjust to use GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 114/131: gnu: gpodder: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 126/131: gnu: kaldi-gstreamer-server: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 127/131: gnu: manuskript: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 80/131: gnu: python-multidict: Do not set PYTHONPATH., guix-commits, 2021/01/29