From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: giara-0.3
Date: Thu, 01 Apr 2021 13:19:48 +0200 [thread overview]
Message-ID: <20210401111948.d_cLHLlRxWKXg--vqcL885TAS1RU1_dh74uLIA2l6fI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28453@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1599 bytes --]
There is an updated pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages new-package-giara
https://github.com/void-linux/void-packages/pull/28453
New package: giara-0.3
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/28453.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-giara-28453.patch --]
[-- Type: text/x-diff, Size: 5196 bytes --]
From 6d6a7a0be24eba09c3f4cd8229566629bfc3a174 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Fri, 12 Mar 2021 22:03:31 +0000
Subject: [PATCH 1/3] New package: python3-prawcore-2.0.0
---
srcpkgs/python3-prawcore/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-prawcore/template
diff --git a/srcpkgs/python3-prawcore/template b/srcpkgs/python3-prawcore/template
new file mode 100644
index 000000000000..1eb18f23ec75
--- /dev/null
+++ b/srcpkgs/python3-prawcore/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-prawcore'
+pkgname=python3-prawcore
+version=2.0.0
+revision=1
+wrksrc="prawcore-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+short_desc="Low-level communication layer for PRAW 4+"
+maintainer="Paper <paper@tilde.institute>"
+license="BSD-2-Clause"
+homepage="https://github.com/praw-dev/prawcore"
+changelog="https://raw.githubusercontent.com/praw-dev/prawcore/master/CHANGES.rst"
+distfiles="https://github.com/praw-dev/prawcore/archive/v$version.tar.gz"
+checksum=71f216beac824a58413c35ea61aea5bef1c1b90d6ae2a01d9640c6a9b73a0e56
+make_check=no # needs python3-betamax, python3-betamax-matches, python3-betamax-serializers and python3-textfixtures which are not packaged
+
+post_install() {
+ vlicense LICENSE.txt LICENSE
+}
From 802a5de78ce64b8a7b16097aa9b5fd0f56ca8f78 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Fri, 12 Mar 2021 22:05:04 +0000
Subject: [PATCH 2/3] New package: python3-praw-7.2.0
---
srcpkgs/python3-praw/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-praw/template
diff --git a/srcpkgs/python3-praw/template b/srcpkgs/python3-praw/template
new file mode 100644
index 000000000000..2ee680954895
--- /dev/null
+++ b/srcpkgs/python3-praw/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-praw'
+pkgname=python3-praw
+version=7.2.0
+revision=1
+wrksrc="praw-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-prawcore python3-websocket-client"
+short_desc="Python Reddit API Wrapper"
+maintainer="Paper <paper@tilde.institute>"
+license="BSD-2-Clause"
+homepage="https://github.com/praw-dev/praw/"
+changelog="https://raw.githubusercontent.com/praw-dev/praw/master/CHANGES.rst"
+distfiles="https://github.com/praw-dev/praw/archive/v$version.tar.gz"
+checksum=20804681e7aa4d2a0789663f61f8996a04455dde718ff667fb1800e3db7c8716
+make_check=no # needs python3-betamax and python3-betamax-matches which are not packaged
+
+post_install() {
+ vlicense LICENSE.txt LICENSE
+}
From a19423d4d97d3ebc2b840d163b977ec44f008364 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Fri, 12 Mar 2021 22:09:44 +0000
Subject: [PATCH 3/3] New package: giara-0.3
---
srcpkgs/giara/patches/fix-login.patch | 28 +++++++++++++++++++++++++++
srcpkgs/giara/template | 16 +++++++++++++++
2 files changed, 44 insertions(+)
create mode 100644 srcpkgs/giara/patches/fix-login.patch
create mode 100644 srcpkgs/giara/template
diff --git a/srcpkgs/giara/patches/fix-login.patch b/srcpkgs/giara/patches/fix-login.patch
new file mode 100644
index 000000000000..b68f79b461a3
--- /dev/null
+++ b/srcpkgs/giara/patches/fix-login.patch
@@ -0,0 +1,28 @@
+https://gitlab.gnome.org/World/giara/-/merge_requests/12
+From f4adc1f52d777cea3331b4acae0c3bdec4d0eb70 Mon Sep 17 00:00:00 2001
+From: Paper <paper@tilde.institute>
+Date: Fri, 12 Mar 2021 21:10:34 +0000
+Subject: [PATCH] fix login by removing everything after # from URL
+
+---
+ giara/__main__.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/giara/__main__.py b/giara/__main__.py
+index 10b9ae2..d235332 100644
+--- a/giara/__main__.py
++++ b/giara/__main__.py
+@@ -53,8 +53,9 @@ class GApplication(Gtk.Application):
+ def open(self, app, files, *args):
+ target = files[0].get_uri()
+ print(target)
++ code = target.split('=')[-1].split('#')[0]
+ get_authorized_client(
+- reddit=self._unauth_reddit, code=target.split('=')[-1]
++ reddit=self._unauth_reddit, code=code
+ )
+ self.continue_activate(self._unauth_reddit)
+
+--
+GitLab
+
diff --git a/srcpkgs/giara/template b/srcpkgs/giara/template
new file mode 100644
index 000000000000..28f53be673b6
--- /dev/null
+++ b/srcpkgs/giara/template
@@ -0,0 +1,16 @@
+# Template file for 'giara'
+pkgname=giara
+version=0.3
+revision=1
+build_style=meson
+hostmakedepends="gobject-introspection python3-setuptools pkg-config glib-devel gettext"
+makedepends="gtk+3-devel libhandy1-devel"
+depends="python3-BeautifulSoup4 python3-cairo python3-dateutil python3-gobject
+ python3-mistune python3-Pillow python3-praw gtksourceview4 webkit2gtk"
+short_desc="Reddit client for GNOME"
+maintainer="Paper <paper@tilde.institute>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/giara"
+distfiles="https://gitlab.gnome.org/World/giara/-/archive/$version/giara-$version.tar.gz"
+checksum=111d9f2aa46c58cf5cfe3e677988a2726701ca7ba1cc94948176d2345d80ff7f
+patch_args="-Np1"
next prev parent reply other threads:[~2021-04-01 11:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-03 21:58 [PR PATCH] " paper42
2021-02-04 1:10 ` [PR REVIEW] " ericonr
2021-02-04 1:10 ` ericonr
2021-02-04 10:55 ` paper42
2021-02-24 4:31 ` ericonr
2021-03-02 19:42 ` [PR PATCH] [Updated] " paper42
2021-03-02 19:43 ` paper42
2021-03-12 22:10 ` [PR PATCH] [Updated] " paper42
2021-03-12 22:12 ` paper42
2021-04-01 11:19 ` paper42 [this message]
2021-08-03 3:14 ` [PR REVIEW] " ericonr
2021-08-03 3:14 ` ericonr
2021-08-03 3:14 ` ericonr
2021-08-05 21:38 ` [PR PATCH] [Updated] " paper42
2021-08-05 21:39 ` [PR REVIEW] " paper42
2021-12-16 20:35 ` [PR PATCH] [Updated] " paper42
2022-03-29 20:51 ` paper42
2022-03-29 20:51 ` [PR PATCH] [Closed]: " paper42
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210401111948.d_cLHLlRxWKXg--vqcL885TAS1RU1_dh74uLIA2l6fI@z \
--to=paper42@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).