[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: |
Mon, 1 Feb 2021 11:56:48 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 6131b838cab38ff103cccfcead9742aa935cc2df
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
- 50/131: gnu: intel-xed: Update to 12.0.1., (continued)
- 50/131: gnu: intel-xed: Update to 12.0.1., guix-commits, 2021/02/01
- 56/131: gnu: python-fenics-ufl: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 51/131: gnu: fifengine: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 47/131: gnu: python-django-url-filter: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 54/131: gnu: gdk-pixbuf: Update to 2.42.2., guix-commits, 2021/02/01
- 52/131: gnu: meson: Update to 0.56.2., guix-commits, 2021/02/01
- 55/131: gnu: python-fenics-dijitso: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 60/131: gnu: fenics: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 58/131: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 59/131: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 61/131: gnu: python-pure-protobuf: Do not alter PYTHONPATH.,
guix-commits <=
- 62/131: gnu: pagekit: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 66/131: gnu: python-pathos: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 68/131: gnu: python-typed-ast: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 69/131: gnu: python-colorlog: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 70/131: gnu: python-pymediainfo: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 71/131: gnu: python-hdf4: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 45/131: gnu: python-django-appconf: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 57/131: gnu: python-fenics-fiat: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 46/131: gnu: python-django-statici18n: Do not read PYTHONPATH., guix-commits, 2021/02/01
- 48/131: gnu: graphite2: Do not alter PYTHONPATH., guix-commits, 2021/02/01