GNU bug report logs - #52210
[PATCH] gnu: Add python-unalix.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Wed, 1 Dec 2021 00:18:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

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 52210 in the body.
You can then email your comments to 52210 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#52210; Package guix-patches. (Wed, 01 Dec 2021 00:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 01 Dec 2021 00:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add python-unalix.
Date: Tue, 30 Nov 2021 19:17:38 -0500
* gnu/packages/python-xyz.scm (python-unalix): New variable.
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1693221ff0..989bd4b3b4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -272,6 +272,37 @@ (define-public python-janus
 design}.")
     (license license:asl2.0)))
 
+(define-public python-unalix
+  (package
+    (name "python-unalix")
+    (version "0.9")
+    (source
+     (origin
+       ;; There's only a wheel on PyPI.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/AmanoTeam/Unalix")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0h8wc1axv26h753a8brc6dccqndx005c2bhr09gwg5c1hj9zsfml"))))
+    (build-system python-build-system)
+    (native-inputs
+      `(("python-pytest" ,python-pytest)))
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "python" "-m" "pytest")))))))
+    (home-page "https://pypi.org/project/Unalix/")
+    (synopsis "Python library for removing tracking fields from URLs")
+    (description
+"Unalix is a library written in Python, it implements the specification
+used by the ClearURLs addon for removing tracking fields from URLs.")
+    (license license:bsd-2)))
+
 (define-public python-logbook
   (package
     (name "python-logbook")
-- 
2.34.0





Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Thu, 24 Feb 2022 04:12:01 GMT) Full text and rfc822 format available.

Notification sent to jgart <jgart <at> dismail.de>:
bug acknowledged by developer. (Thu, 24 Feb 2022 04:12:02 GMT) Full text and rfc822 format available.

Message #10 received at 52210-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: jgart <jgart <at> dismail.de>
Cc: 52210-done <at> debbugs.gnu.org
Subject: Re: bug#52210: [PATCH] gnu: Add python-unalix.
Date: Wed, 23 Feb 2022 23:11:25 -0500
Hi,

jgart <jgart <at> dismail.de> writes:

> * gnu/packages/python-xyz.scm (python-unalix): New variable.
> ---
>  gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 1693221ff0..989bd4b3b4 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -272,6 +272,37 @@ (define-public python-janus
>  design}.")
>      (license license:asl2.0)))
>  
> +(define-public python-unalix
> +  (package
> +    (name "python-unalix")
> +    (version "0.9")
> +    (source
> +     (origin
> +       ;; There's only a wheel on PyPI.
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/AmanoTeam/Unalix")
> +             (commit (string-append "v" version))))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "0h8wc1axv26h753a8brc6dccqndx005c2bhr09gwg5c1hj9zsfml"))))
> +    (build-system python-build-system)
> +    (native-inputs
> +      `(("python-pytest" ,python-pytest)))
> +    (arguments
> +     '(#:phases
> +       (modify-phases %standard-phases
> +         (replace 'check
> +           (lambda* (#:key tests? #:allow-other-keys)
> +             (when tests?
> +               (invoke "python" "-m" "pytest")))))))
> +    (home-page "https://pypi.org/project/Unalix/")
> +    (synopsis "Python library for removing tracking fields from URLs")
> +    (description
> +"Unalix is a library written in Python, it implements the specification
> +used by the ClearURLs addon for removing tracking fields from URLs.")
> +    (license license:bsd-2)))
> +

I've selected (gnu packages python-web) instead as its home, fixed some
light indentation problem with Emacs, used new style for the
native-inputs field, fixed the license (it's LGPL v3 or later, not
BSD-2), and pushed as 3609dcd200059dee96fedc02dedca2b352345757.

Thanks!

Closing.

Maxim




Information forwarded to guix-patches <at> gnu.org:
bug#52210; Package guix-patches. (Thu, 24 Feb 2022 23:44:02 GMT) Full text and rfc822 format available.

Message #13 received at 52210-done <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 52210-done <at> debbugs.gnu.org
Subject: Re: bug#52210: [PATCH] gnu: Add python-unalix.
Date: Thu, 24 Feb 2022 18:42:47 -0500
On Wed, 23 Feb 2022 23:11:25 -0500 Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
> Hi,
> 
> jgart <jgart <at> dismail.de> writes:
> I've selected (gnu packages python-web) instead as its home, fixed some
> light indentation problem with Emacs, used new style for the
> native-inputs field, fixed the license (it's LGPL v3 or later, not
> BSD-2), and pushed as 3609dcd200059dee96fedc02dedca2b352345757.

Thank you for the review and fixes. Much appreciated!

all best,

jgart





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 25 Mar 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 33 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.