From debbugs-submit-bounces@debbugs.gnu.org Wed May 13 03:53:20 2020 Received: (at submit) by debbugs.gnu.org; 13 May 2020 07:53:20 +0000 Received: from localhost ([127.0.0.1]:57276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYmCQ-0002JL-Fe for submit@debbugs.gnu.org; Wed, 13 May 2020 03:53:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:34570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYmCP-0002JE-4u for submit@debbugs.gnu.org; Wed, 13 May 2020 03:53:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYmCO-0002es-Sz for guix-patches@gnu.org; Wed, 13 May 2020 03:53:04 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jYmCN-0008FA-NF for guix-patches@gnu.org; Wed, 13 May 2020 03:53:04 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1589356378; cv=none; d=zohomail.com; s=zohoarc; b=MwrmMKtbyrfbJT7bspgzxTGu7XTjp+KVr62N2/OqwEuDeDaLejkh0zl1NrGPCxHt/8Ia47KmQ+TlqM9AhZ+MKRPOkrANB45bIzFm2rUJCs+ilLbs++JDPUKq+X1GVGg91MTFVeBh0tw6/DyvW60P1zrpdHy8nhvg0GJVXfjVHLc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589356378; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=F/aHkQS3LrHCeWlXHr5kbie/Wyj6BnBC6GOJk8j4UN4=; b=JzZ0+xgVvxClNUXkGFuVgdFgs1PDt9roNRXc1l6K8BtNzUblQxapD0EDwRD9CgNzx/bNGMid1ACwBDoqRKnlf/+W8/uz3pCY+/fF8RCrse535fhOCQToaL/FleWzONgQzqptPnWeHVORSBUS2zNikpUF2PGDaEHPmU/QaTH7oeU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589356378; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=F/aHkQS3LrHCeWlXHr5kbie/Wyj6BnBC6GOJk8j4UN4=; b=N2gL0gm84BaX7PJ8oZThpG2CYh2u8loVK6N32ns+tJ5/Nq3i/BtVyVz0Azm9nzfQ OVihbSVLKIUSp7sIw8nrOk5b0Q+mGqDsWxo6J52j9Gym9R9xRNACsYG/DkRsrlbJwJ7 AM4nSfuYFJfxJCAqrnJYyoo8y8GU0FjI2pBq3BKA= Received: from alice.lan (lfbn-idf1-1-1299-119.w90-79.abo.wanadoo.fr [90.79.23.119]) by mx.zohomail.com with SMTPS id 1589356376769453.8213597057071; Wed, 13 May 2020 00:52:56 -0700 (PDT) User-agent: mu4e 1.4.4; emacs 26.3 From: Edouard Klein To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-random-user-agent. Message-ID: <87mu6cgtkj.fsf@alice.lan> Date: Wed, 13 May 2020 09:52:45 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.11; envelope-from=edk@beaver-labs.com; helo=sender4-op-o11.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/13 03:53:00 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * 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 th= e W3C WebDriver specificatio =E2=80=94 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))) --=20 2.26.2