emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52210: closed ([PATCH] gnu: Add python-unalix.)


From: GNU bug Tracking System
Subject: bug#52210: closed ([PATCH] gnu: Add python-unalix.)
Date: Thu, 24 Feb 2022 04:12:01 +0000

Your message dated Wed, 23 Feb 2022 23:11:25 -0500
with message-id <87k0dklx8y.fsf@gmail.com>
and subject line Re: bug#52210: [PATCH] gnu: Add python-unalix.
has caused the debbugs.gnu.org bug report #52210,
regarding [PATCH] gnu: Add python-unalix.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
52210: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52210
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- Subject: Re: bug#52210: [PATCH] gnu: Add python-unalix. Date: Wed, 23 Feb 2022 23:11:25 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hi,

jgart <jgart@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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]