* [bug#52210] [PATCH] gnu: Add python-unalix.
@ 2021-12-01 0:17 jgart via Guix-patches via
2022-02-24 4:11 ` bug#52210: " Maxim Cournoyer
0 siblings, 1 reply; 3+ messages in thread
From: jgart via Guix-patches via @ 2021-12-01 0:17 UTC (permalink / raw)
To: 52210; +Cc: jgart
* 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#52210: [PATCH] gnu: Add python-unalix.
2021-12-01 0:17 [bug#52210] [PATCH] gnu: Add python-unalix jgart via Guix-patches via
@ 2022-02-24 4:11 ` Maxim Cournoyer
2022-02-24 23:42 ` [bug#52210] " jgart via Guix-patches via
0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2022-02-24 4:11 UTC (permalink / raw)
To: jgart; +Cc: 52210-done
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#52210] [PATCH] gnu: Add python-unalix.
2022-02-24 4:11 ` bug#52210: " Maxim Cournoyer
@ 2022-02-24 23:42 ` jgart via Guix-patches via
0 siblings, 0 replies; 3+ messages in thread
From: jgart via Guix-patches via @ 2022-02-24 23:42 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 52210-done
On Wed, 23 Feb 2022 23:11:25 -0500 Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
> Hi,
>
> jgart <jgart@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-02-24 23:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 0:17 [bug#52210] [PATCH] gnu: Add python-unalix jgart via Guix-patches via
2022-02-24 4:11 ` bug#52210: " Maxim Cournoyer
2022-02-24 23:42 ` [bug#52210] " jgart via Guix-patches via
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.