unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41227] [PATCH] gnu: Add python-random-user-agent.
@ 2020-05-13  7:52 Edouard Klein
  2020-05-20 21:35 ` bug#41227: " Marius Bakke
  0 siblings, 1 reply; 2+ messages in thread
From: Edouard Klein @ 2020-05-13  7:52 UTC (permalink / raw)
  To: 41227


* 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




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#41227: [PATCH] gnu: Add python-random-user-agent.
  2020-05-13  7:52 [bug#41227] [PATCH] gnu: Add python-random-user-agent Edouard Klein
@ 2020-05-20 21:35 ` Marius Bakke
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2020-05-20 21:35 UTC (permalink / raw)
  To: Edouard Klein, 41227-done

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

Edouard Klein <edk@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!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-20 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13  7:52 [bug#41227] [PATCH] gnu: Add python-random-user-agent Edouard Klein
2020-05-20 21:35 ` bug#41227: " Marius Bakke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).