From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: giara-0.3
Date: Thu, 05 Aug 2021 23:38:37 +0200 [thread overview]
Message-ID: <20210805213837.Wx24IvZV3UOtt7r9xAGet36_0fPGvaX3AqQ5x3LsAkI@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: 4769 bytes --]
From c645b8cf44c78d23752084085188d6c02c8dc030 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 5 Aug 2021 23:38:19 +0200
Subject: [PATCH 1/3] New package: python3-prawcore-2.3.0
---
srcpkgs/python3-prawcore/template | 22 ++++++++++++++++++++++
1 file changed, 22 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..2b7f39770ea4
--- /dev/null
+++ b/srcpkgs/python3-prawcore/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-prawcore'
+pkgname=python3-prawcore
+version=2.3.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="Michal Vasilek <michal@vasilek.cz>"
+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=2ea9e34c02c75ca6d818a497f8854d39cb5f02342b98fced28aaa5ea84abbc5f
+# check needs python3-betamax, python3-betamax-matches,
+# python3-betamax-serializers and python3-textfixtures which are not packaged
+make_check=no
+
+post_install() {
+ vlicense LICENSE.txt LICENSE
+}
From 33b1a2e2422cb110222a970119e82e2f0cd1326c Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 5 Aug 2021 23:23:43 +0200
Subject: [PATCH 2/3] New package: python3-praw-7.4.0
---
srcpkgs/python3-praw/template | 21 +++++++++++++++++++++
1 file changed, 21 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..98c257fef259
--- /dev/null
+++ b/srcpkgs/python3-praw/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-praw'
+pkgname=python3-praw
+version=7.4.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="Michal Vasilek <michal@vasilek.cz>"
+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=da0f97a40fa38835605f3b380240e241f431f5f760c5817e5f0b25c02b8035cb
+# check needs python3-betamax and python3-betamax-matches which are not packaged
+make_check=no
+
+post_install() {
+ vlicense LICENSE.txt LICENSE
+}
From 4039e6dfcf4dea9aa181df733a4150e14342669a Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 5 Aug 2021 23:28:08 +0200
Subject: [PATCH 3/3] New package: giara-0.3
---
srcpkgs/giara/patches/fix-login.patch | 15 +++++++++++++++
srcpkgs/giara/template | 15 +++++++++++++++
2 files changed, 30 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..fd70d3e1c63c
--- /dev/null
+++ b/srcpkgs/giara/patches/fix-login.patch
@@ -0,0 +1,15 @@
+upstream: yes
+
+--- 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)
+
diff --git a/srcpkgs/giara/template b/srcpkgs/giara/template
new file mode 100644
index 000000000000..726d5bd9e99d
--- /dev/null
+++ b/srcpkgs/giara/template
@@ -0,0 +1,15 @@
+# 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="libhandy1-devel"
+depends="python3-BeautifulSoup4 python3-cairo python3-dateutil python3-gobject
+ python3-mistune python3-Pillow python3-praw gtksourceview4 webkit2gtk libhandy1"
+short_desc="Reddit client for GNOME"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+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
next prev parent reply other threads:[~2021-08-05 21:38 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 ` [PR PATCH] [Updated] " paper42
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 ` paper42 [this message]
2021-08-05 21:39 ` paper42
2021-12-16 20:35 ` [PR PATCH] [Updated] " paper42
2022-03-29 20:51 ` [PR PATCH] [Closed]: " paper42
2022-03-29 20:51 ` 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=20210805213837.Wx24IvZV3UOtt7r9xAGet36_0fPGvaX3AqQ5x3LsAkI@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).