[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
116/233: gnu: python-send2trash: Update to 1.8.0 and update home page.
From: |
guix-commits |
Subject: |
116/233: gnu: python-send2trash: Update to 1.8.0 and update home page. |
Date: |
Sun, 24 Apr 2022 23:39:51 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit a373af9888ca52103cdcf1abc21afb2cc5aa6ba2
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 13 21:35:02 2022 -0400
gnu: python-send2trash: Update to 1.8.0 and update home page.
* gnu/packages/python-xyz.scm (python-send2trash): Update to 1.8.0.
[source]: Update Git URL.
[phases]{pre-check}: Set HOME to /tmp directly.
{check}: Override phase.
[native-inputs]: Add python-pytest.
[properties]: Delete field.
(python2-send2trash): Delete variable.
[home-page]: Update URL.
---
gnu/packages/python-xyz.scm | 31 ++++++++++---------------------
1 file changed, 10 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 399cc5c4ee..69e531004d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22037,46 +22037,35 @@ systems policies.")
(define-public python-send2trash
(package
(name "python-send2trash")
- (version "1.5.0")
+ (version "1.8.0")
(source
(origin (method git-fetch)
;; Source tarball on PyPI doesn't include tests.
(uri (git-reference
- (url "https://github.com/hsoft/send2trash")
+ (url "https://github.com/arsenetar/send2trash")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
- "1c76zldhw2ay7q7r00nnzcampjz9lkqfcbzqpm0iqp5i6bmmv30v"))))
+ "1k7dfypaaq4f36fbciaasv72j6wgjihw8d88axmz9c329bz8v5qx"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
- (mkdir-p "/tmp/foo")
- (setenv "HOME" "/tmp/foo")
- #t)))))
- (home-page "https://github.com/hsoft/send2trash")
+ (setenv "HOME" "/tmp")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
+ (native-inputs (list python-pytest))
+ (home-page "https://github.com/arsenetar/send2trash")
(synopsis "Send files to the user's @file{~/Trash} directory")
(description "This package provides a Python library to send files to the
user's @file{~/Trash} directory.")
- (properties `((python2-variant . ,(delay python2-send2trash))))
(license license:bsd-3)))
-(define-public python2-send2trash
- (let ((base (package-with-python2
- (strip-python2-variant python-send2trash))))
- (package/inherit base
- (arguments
- (substitute-keyword-arguments (package-arguments python-send2trash)
- ((#:phases phases)
- `(modify-phases ,phases
- (add-before 'check 'setenv
- (lambda _
- (setenv "GUIX_PYTHONPATH"
- (string-append (getcwd) ":" (getenv
"GUIX_PYTHONPATH"))))))))))))
-
(define-public python-pyfavicon
(package
(name "python-pyfavicon")
- 148/233: gnu: Add python-aioredis., (continued)
- 148/233: gnu: Add python-aioredis., guix-commits, 2022/04/24
- 164/233: gnu: python-voila: Update to 0.3.5., guix-commits, 2022/04/24
- 190/233: gnu: python-mkdocs: Update to 1.3.0., guix-commits, 2022/04/24
- 192/233: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/04/24
- 195/233: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/04/24
- 100/233: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/04/24
- 103/233: gnu: python-jupyter-core: Update to 4.10.0., guix-commits, 2022/04/24
- 102/233: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/04/24
- 109/233: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/04/24
- 111/233: gnu: Add texlive-unicode-math., guix-commits, 2022/04/24
- 116/233: gnu: python-send2trash: Update to 1.8.0 and update home page.,
guix-commits <=
- 117/233: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/04/24
- 118/233: gnu: Add python-nbdime., guix-commits, 2022/04/24
- 120/233: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/04/24
- 121/233: gnu: Add python-pep621., guix-commits, 2022/04/24
- 123/233: gnu: Add python-sphinx-sitemap., guix-commits, 2022/04/24
- 124/233: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/04/24
- 128/233: download: Add a mirror for CTAN., guix-commits, 2022/04/24
- 136/233: gnu: Add python-openapi-schema-validator., guix-commits, 2022/04/24
- 138/233: gnu: Add python-cbor2., guix-commits, 2022/04/24
- 157/233: gnu: python-numba: Update to 0.55.1., guix-commits, 2022/04/24