From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 01 16:44:42 2021 Received: (at submit) by debbugs.gnu.org; 1 Mar 2021 21:44:42 +0000 Received: from localhost ([127.0.0.1]:51056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGqLK-0001dX-2i for submit@debbugs.gnu.org; Mon, 01 Mar 2021 16:44:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:54908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGqLI-0001dO-15 for submit@debbugs.gnu.org; Mon, 01 Mar 2021 16:44:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGqLH-0004ns-Ow for guix-patches@gnu.org; Mon, 01 Mar 2021 16:44:39 -0500 Received: from out2.migadu.com ([188.165.223.204]:14531) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGqL9-0001Vl-4P for guix-patches@gnu.org; Mon, 01 Mar 2021 16:44:39 -0500 To: guix-patches@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1614635066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=pi3oHBHTJAVVYO7G2TfTNKL9oTDDfZReWMKQrp3g9hw=; b=BQw8LM8Ui9TM8JctJjp4URxJgkOe+v990UFnfjMApnbJlGRNLvDubzwYHeMj3RYreVi53L I1N1Ev857UX1xds2nBbMEe9PCrnZA065SIKKq8GytmfXvv/LL93r8AzZeupM5DGvy4Kgkl GcO7Alabg5JrhRatwt+aGeY3WJUCrFEK98V+UXoHA2ZLPxirsvzjtX1STzI8fBGDe7yC63 vxabh/Ei9/5CK+NMpU+sKyMDWEJFLgn93j5FqurmsCeqzVgf8EobEs3tzjBlXT7R3HFHWT 00UvD7dzlLiqkuw4iQ9H++AzuB2ky3ar9qHyqeO8tr+zQ61gQwi/3Oe+2cQX+A== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Raghav Gururajan Subject: Giara - A free-software client for Reddit Message-ID: Date: Mon, 1 Mar 2021 16:44:23 -0500 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="b6kynPUfkJLrYTeOBnZQMWIP3a1iZzZhM" X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name Received-SPF: pass client-ip=188.165.223.204; envelope-from=rg@raghavgururajan.name; helo=out2.migadu.com 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_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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: -2.4 (--) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --b6kynPUfkJLrYTeOBnZQMWIP3a1iZzZhM Content-Type: multipart/mixed; boundary="L0sV04iMFUyC2EDfKEYqeCOMHm7OW6Xt7"; protected-headers="v1" From: Raghav Gururajan To: guix-patches@gnu.org Message-ID: Subject: Giara - A free-software client for Reddit --L0sV04iMFUyC2EDfKEYqeCOMHm7OW6Xt7 Content-Type: multipart/mixed; boundary="------------A54CF2B83634D7B48BB7AE69" Content-Language: en-US This is a multi-part message in MIME format. --------------A54CF2B83634D7B48BB7AE69 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable --------------A54CF2B83634D7B48BB7AE69 Content-Type: text/x-patch; charset=UTF-8; name="0001-gnu-Add-python-betamax-serializers.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-gnu-Add-python-betamax-serializers.patch" =46rom 20c12e445cdca94ca8277b89d16c69ad5cd1af79 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Mon, 1 Mar 2021 15:10:06 -0500 Subject: [PATCH 1/5] gnu: Add python-betamax-serializers. * gnu/packages/python-check.scm (python-betamax-serializers): New variabl= e. --- gnu/packages/python-check.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.sc= m index c23741825b..ac96310cd0 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -40,6 +40,27 @@ #:use-module (guix download) #:use-module (guix build-system python)) =20 +(define-public python-betamax-serializers + (package + (name "python-betamax-serializers") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "betamax-serializers" version)) + (sha256 + (base32 "0ja9isbjmzzhxdj69s0kdsvw8nkp073w6an6a4liy5vk3fdl2p1l"))= )) + (build-system python-build-system) + (propagated-inputs + `(("python-betamax" ,python-betamax) + ("python-pyyaml" ,python-pyyaml))) + (synopsis "Set of third-party serializers for Betamax") + (description "Betamax-Serializers are an experimental set of Seriali= zers for +Betamax that may possibly end up in the main package.") + (home-page "https://gitlab.com/betamax/serializers") + (license license:asl2.0))) + (define-public python-coveralls (package (name "python-coveralls") --=20 2.30.1 --------------A54CF2B83634D7B48BB7AE69 Content-Type: text/x-patch; charset=UTF-8; name="0002-gnu-Add-python-testfixtures.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0002-gnu-Add-python-testfixtures.patch" =46rom 2bc948be9324add1b6b15795c5d65dda2d956d6e Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Mon, 1 Mar 2021 15:33:33 -0500 Subject: [PATCH 2/5] gnu: Add python-testfixtures. * gnu/packages/python-check.scm (python-testfixtures): New variable. --- gnu/packages/python-check.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.sc= m index ac96310cd0..10b35846f5 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -28,7 +28,9 @@ (define-module (gnu packages python-check) #:use-module (gnu packages) #:use-module (gnu packages check) + #:use-module (gnu packages django) #:use-module (gnu packages openstack) + #:use-module (gnu packages python-build) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages web) @@ -40,6 +42,32 @@ #:use-module (guix download) #:use-module (guix build-system python)) =20 +(define-public python-testfixtures + (package + (name "python-testfixtures") + (version "6.17.1") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "testfixtures" version)) + (sha256 + (base32 "1nlv2hz20czjp4a811ichl5kwg99rh84l0mw9wq4rk3idzfs1hsy"))= )) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; PyTest-Django fails to build in master + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ;;("python-pytest-django" ,python-pytest-django) + ("python-twine" ,python-twine) + ("python-wheel" ,python-wheel))) + (synopsis "Tests components for Python") + (description "Testfixtures is a collection of helpers and mock objec= ts that +are useful when writing automated tests in Python.") + (home-page "https://testfixtures.readthedocs.io/en/latest/") + (license license:expat))) + (define-public python-betamax-serializers (package (name "python-betamax-serializers") --=20 2.30.1 --------------A54CF2B83634D7B48BB7AE69 Content-Type: text/x-patch; charset=UTF-8; name="0003-gnu-Add-python-prawcore.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0003-gnu-Add-python-prawcore.patch" =46rom 8ff9766b7228d5772c5b7f5449031163e8e7ecd1 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Mon, 1 Mar 2021 15:37:23 -0500 Subject: [PATCH 3/5] gnu: Add python-prawcore. * gnu/packages/python-web.scm (python-prawcore): New variable. --- gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index ab3769b360..27b31143ea 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -91,6 +91,32 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (srfi srfi-1)) =20 +(define-public python-prawcore + (package + (name "python-prawcore") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "prawcore" version)) + (sha256 + (base32 "1l9nrn4s03xl8fvkyybdk86bm9cyyk43alkxf9g014a9ynvdk65l"))= )) + (build-system python-build-system) + (native-inputs + `(("python-betamax" ,python-betamax) + ("python-betamax-matchers" ,python-betamax-matchers) + ("python-betamax-serializers" ,python-betamax-serializers) + ("python-mock" ,python-mock) + ("python-pytest" ,python-pytest) + ("python-testfixtures" ,python-testfixtures))) + (propagated-inputs + `(("python-requests" ,python-requests))) + (synopsis "Core component of PRAW") + (description "PRAWcore is a low-level communication layer used by PR= AW.") + (home-page "https://praw.readthedocs.io/en/latest/") + (license license:bsd-2))) + (define-public python-aiohttp (package (name "python-aiohttp") --=20 2.30.1 --------------A54CF2B83634D7B48BB7AE69 Content-Type: text/x-patch; charset=UTF-8; name="0004-gnu-Add-python-praw.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0004-gnu-Add-python-praw.patch" =46rom a5e10670128fb2a7fcffa4a03e979231cc403a6d Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Mon, 1 Mar 2021 16:01:21 -0500 Subject: [PATCH 4/5] gnu: Add python-praw. * gnu/packages/python-web.scm (python-raw): New variable. --- gnu/packages/python-web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 27b31143ea..9acafd14e3 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -117,6 +117,34 @@ (home-page "https://praw.readthedocs.io/en/latest/") (license license:bsd-2))) =20 +(define-public python-praw + (package + (name "python-praw") + (version "7.2.0") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "praw" version)) + (sha256 + (base32 "0ll1a0n8xs8gykizdsfrw63jp6bc39ab0pk3yzwcak96fyxh0ij3"))= )) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; https://github.com/praw-dev/praw/issues/1699 + (native-inputs + `(("python-betamax" ,python-betamax) + ("python-betamax-matchers" ,python-betamax-matchers) + ("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-prawcore" ,python-prawcore) + ("python-websocket-client" ,python-websocket-client))) + (synopsis "Python Reddit API Wrapper") + (description "PRAW is a Python package that allows for simple access= to +Reddit=E2=80=99s API. It aims to be easy to use and internally follows = all of Reddit=E2=80=99s +API rules.") + (home-page "https://praw.readthedocs.io/en/latest/") + (license license:bsd-2))) + (define-public python-aiohttp (package (name "python-aiohttp") --=20 2.30.1 --------------A54CF2B83634D7B48BB7AE69 Content-Type: text/x-patch; charset=UTF-8; name="0005-gnu-Add-giara.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0005-gnu-Add-giara.patch" =46rom d7a3665d04a70e1d0a09da805a3d3974e8c9ce5c Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Mon, 1 Mar 2021 16:40:12 -0500 Subject: [PATCH 5/5] gnu: Add giara. * gnu/packages/web.scm (giara): New variable. --- gnu/packages/web.scm | 67 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 3e9fdbb7f6..cbceb36dea 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -164,13 +164,80 @@ #:use-module (gnu packages sphinx) #:use-module (gnu packages texinfo) #:use-module (gnu packages textutils) + #:use-module (gnu packages time) #:use-module (gnu packages tls) #:use-module (gnu packages valgrind) #:use-module (gnu packages version-control) #:use-module (gnu packages vim) + #:use-module (gnu packages webkit) #:use-module (gnu packages xml) #:use-module ((srfi srfi-1) #:select (delete-duplicates))) =20 +(define-public giara + (package + (name "giara") + (version "0.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.gnome.org/World/giara") + (commit version))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "004qmkfrgd37axv0b6hfh6v7nx4pvy987k5yv4bmlmkj9sbqm6f9"))= )) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t + #:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-programs + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin/")) + (lib (string-append out "/lib/python" + ,(version-major+minor + (package-version python)) + "/site-packages"))) + (for-each + (lambda (program) + (wrap-program program + `("PYTHONPATH" =3D (,(getenv "PYTHONPATH") ,lib)) + `("GI_TYPELIB_PATH" =3D (,(getenv "GI_TYPELIB_PATH")= )))) + (append + (map (lambda (prog) (string-append bin prog)) + '("giara")))) + #t)))))) + (native-inputs + `(("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gtk+:bin" ,gtk+ "bin") + ("pkg-config" ,pkg-config) + ("xmllint" ,libxml2))) + (inputs + `( ;; ("appstream-cli" ,appstream-cli) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gtksourceview" ,gtksourceview) + ("libhandy" ,libhandy) + ("python" ,python) + ("python-beautifulsoup" ,python-beautifulsoup4) + ("python-dateutil" ,python-dateutil) + ("python-mistune" ,python-mistune) + ("python-pillow" ,python-pillow) + ("python-praw" ,python-praw) + ("python-pycairo" ,python-pycairo) + ("python-pygobject" ,python-pygobject) + ("python-requests" ,python-requests) + ("webkitgtk" ,webkitgtk))) + (synopsis "Client for Reddit") + (description "Giara is a reddit app, built with Python, GTK and Hand= y.") + (home-page "https://giara.gabmus.org/") + (license license:gpl3+))) + (define-public qhttp (package (name "qhttp") --=20 2.30.1 --------------A54CF2B83634D7B48BB7AE69-- --L0sV04iMFUyC2EDfKEYqeCOMHm7OW6Xt7-- --b6kynPUfkJLrYTeOBnZQMWIP3a1iZzZhM Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYD1gNwUDAAAAAAAKCRBfWBZkf4vlUdw5 AQCvyEemTqZ2bt5TPLgIyHq/qM6rO0xuhjCC8Re7slHb7gEA21fxvFsoCHLRznjqW73P7y5zLF1o AS1JOBn5wpSbHwI= =t4Zx -----END PGP SIGNATURE----- --b6kynPUfkJLrYTeOBnZQMWIP3a1iZzZhM--