GNU bug report logs - #41227
[PATCH] gnu: Add python-random-user-agent.

Previous Next

Package: guix-patches;

Reported by: Edouard Klein <edk <at> beaver-labs.com>

Date: Wed, 13 May 2020 07:54:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#41227: closed ([PATCH] gnu: Add python-random-user-agent.)
Date: Wed, 20 May 2020 21:36:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 20 May 2020 23:35:46 +0200
with message-id <87lflm9tn1.fsf <at> devup.no>
and subject line Re: [bug#41227] [PATCH] gnu: Add python-random-user-agent.
has caused the debbugs.gnu.org bug report #41227,
regarding [PATCH] gnu: Add python-random-user-agent.
to be marked as done.

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


-- 
41227: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41227
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Edouard Klein <edk <at> beaver-labs.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add python-random-user-agent.
Date: Wed, 13 May 2020 09:52:45 +0200
* gnu/packages/python-web.scm (python-random-user-agent): New variable.
---
 gnu/packages/python-web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 32a4d2b756..c6d8c3744b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3769,3 +3769,24 @@ Selenium specifically provides infrastructure for the W3C WebDriver specificatio
 — a platform and language-neutral coding interface compatible with all
 major web browsers.")
     (license license:asl2.0)))
+
+(define-public python-random-user-agent
+  (package
+    (name "python-random-user-agent")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "random_user_agent" version))
+       (sha256
+        (base32
+         "04nhzdh2ki7ybhjrmghxci6hcm6i03vvin2q2ynj87fbr1pa534g"))))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/Luqman-Ud-Din/random_user_agent")
+    (synopsis
+     "Random user agents based on filters provided by the user")
+    (description
+     "Provides list of user agents, from a collection of more than
+ 326,000 user agents, based on filters.")
+    (license license:expat)))
-- 
2.26.2


[Message part 3 (message/rfc822, inline)]
From: Marius Bakke <mbakke <at> fastmail.com>
To: Edouard Klein <edk <at> beaver-labs.com>, 41227-done <at> debbugs.gnu.org
Subject: Re: [bug#41227] [PATCH] gnu: Add python-random-user-agent.
Date: Wed, 20 May 2020 23:35:46 +0200
[Message part 4 (text/plain, inline)]
Edouard Klein <edk <at> beaver-labs.com> writes:

> * gnu/packages/python-web.scm (python-random-user-agent): New variable.

Thanks!

A few cosmetic comments:

> +    (home-page
> +     "https://github.com/Luqman-Ud-Din/random_user_agent")

This line break is unnecessary.

> +    (synopsis
> +     "Random user agents based on filters provided by the user")

I shortened this to "List of user agents".

> +    (description
> +     "Provides list of user agents, from a collection of more than
> + 326,000 user agents, based on filters.")

And expanded on this a bit, to turn it into a full sentence and provide
a little more context.

Applied!
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 6 days ago.

Previous Next


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