GNU bug report logs -
#68191
[PATCH] gnu: Add python-portend.
Previous Next
Reported by: Troy Figiel <troy <at> troyfigiel.com>
Date: Mon, 1 Jan 2024 18:01:02 UTC
Severity: normal
Tags: patch
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68191 in the body.
You can then email your comments to 68191 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#68191
; Package
guix-patches
.
(Mon, 01 Jan 2024 18:01:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Troy Figiel <troy <at> troyfigiel.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 01 Jan 2024 18:01:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-web.scm (python-portend): New variable.
---
gnu/packages/python-web.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 06b578dac7..8eed01c3e2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -60,6 +60,7 @@
;;; Copyright © 2022 Baptiste Strazzulla <bstrazzull <at> hotmail.fr>
;;; Copyright © 2023 John Kehayias <john.kehayias <at> protonmail.com>
;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan <at> selidor.net>
+;;; Copyright © 2024 Troy Figiel <troy <at> troyfigiel.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -201,6 +202,38 @@ (define-public python-lazr-uri
reusable library for parsing, manipulating, and generating URIs.")
(license license:lgpl3)))
+(define-public python-portend
+ (package
+ (name "python-portend")
+ (version "3.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "portend" version))
+ (sha256
+ (base32 "0wpvixicc3d0lack65554mvdrrckkn18p1xcgiv9v5cwq59a6l2j"))))
+ (build-system pyproject-build-system)
+ ;; Do not test pyproject.toml with python-pytest-checkdocs as it tries to
+ ;; download dependencies.
+ (arguments
+ '(#:test-flags '("-k" "not project")))
+ (propagated-inputs (list python-tempora))
+ ;; TODO: Add python-pytest-ruff to native-inputs once it has been packaged.
+ (native-inputs (list python-pytest
+ python-pytest-black
+ python-pytest-checkdocs
+ python-pytest-cov
+ python-pytest-enabler
+ python-pytest-mypy))
+ (home-page "https://github.com/jaraco/portend")
+ (synopsis "Monitor TCP ports for bound or unbound states")
+ (description
+ "@code{python-portend} can be used to monitor TCP ports for bound or
+unbound states. For example, waiting for a port to be occupied or freed
+within a set timeout. @code{python-portend} can also be used directly from
+the command line.")
+ (license license:expat)))
+
(define-public python-prawcore
(package
(name "python-prawcore")
base-commit: ff586211aaf0e3b468ff3cedc5ede18e8ab529dd
--
2.40.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68191
; Package
guix-patches
.
(Thu, 04 Jan 2024 13:12:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 68191 <at> debbugs.gnu.org (full text, mbox):
Hi,
It looks good to me, passed all phases from comiit:
guix describe
Generation 498 Jan 04 2024 10:55:58 (current)
guix 7b0863f
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 7b0863f07a113caef26fea13909bd97d250b629e
guix build --quiet --rounds=2 -L . python-portend
/gnu/store/gl6n6pbk5y1hxv6s8xrj02j0lw41a4ll-python-portend-3.2.0
guix lint -L . python-portend
etching CVE database for 2024...e]...
fetching CVE database for 2023...
fetching CVE database for 2022...
./ffab/packages/python-xyz.scm:557:5: python-portend <at> 3.2.0: source not
archived on Software Heritage and missing from the Disarchive database
It would be nice to start packing python-ruff as it's required for
python-huggingface-hub
which I try to bring to Guix.
Thanks,
Oleg
--
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68191
; Package
guix-patches
.
(Sun, 07 Jan 2024 10:34:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 68191 <at> debbugs.gnu.org (full text, mbox):
Sharlatan Hellseher <sharlatanus <at> gmail.com> writes:
> Hi,
>
> It looks good to me, passed all phases from comiit:
>
> guix describe
> Generation 498 Jan 04 2024 10:55:58 (current)
> guix 7b0863f
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 7b0863f07a113caef26fea13909bd97d250b629e
>
> guix build --quiet --rounds=2 -L . python-portend
> /gnu/store/gl6n6pbk5y1hxv6s8xrj02j0lw41a4ll-python-portend-3.2.0
>
> guix lint -L . python-portend
> etching CVE database for 2024...e]...
> fetching CVE database for 2023...
> fetching CVE database for 2022...
> ./ffab/packages/python-xyz.scm:557:5: python-portend <at> 3.2.0: source not
> archived on Software Heritage and missing from the Disarchive database
>
> It would be nice to start packing python-ruff as it's required for
> python-huggingface-hub
> which I try to bring to Guix.
>
> Thanks,
> Oleg
Hi Oleg,
I have been looking at python-ruff for a bit now. Since it is a Python
package with Rust bindings, it will require a bit more experience
packaging Rust from my side. Plus, we will likely have to add a fair
number of Rust crates first, due to the sheer amount of dependencies.
I was planning to start packaging some of these Rust dependencies, since
we would need these anyway for a recent version of Ruff and the Rust
ecosystem might benefit along the way.
Best wishes,
Troy
Information forwarded
to
guix-patches <at> gnu.org
:
bug#68191
; Package
guix-patches
.
(Sun, 07 Jan 2024 15:53:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 68191 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Pinging Rust-team here, some of the packages might be coveted already.
Thanks,
Oleg
[Message part 2 (text/html, inline)]
Reply sent
to
Mathieu Othacehe <othacehe <at> gnu.org>
:
You have taken responsibility.
(Tue, 09 Jan 2024 09:07:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Troy Figiel <troy <at> troyfigiel.com>
:
bug acknowledged by developer.
(Tue, 09 Jan 2024 09:07:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 68191-done <at> debbugs.gnu.org (full text, mbox):
> * gnu/packages/python-web.scm (python-portend): New variable.
Applied, thanks,
Mathieu
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 06 Feb 2024 12:24:16 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 132 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.