public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/giara/
Date: Thu, 30 Mar 2023 15:26:09 +0000 (UTC)	[thread overview]
Message-ID: <1680187391.12dc87173a5b3a94ef07741c28822eb16e7a136c.cybertailor@gentoo> (raw)

commit:     12dc87173a5b3a94ef07741c28822eb16e7a136c
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Mar 30 14:43:11 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Mar 30 14:43:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=12dc8717

net-misc/giara: add 1.1.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 net-misc/giara/Manifest           |  1 +
 net-misc/giara/giara-1.1.0.ebuild | 70 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/net-misc/giara/Manifest b/net-misc/giara/Manifest
index e7e531d42..e6720c859 100644
--- a/net-misc/giara/Manifest
+++ b/net-misc/giara/Manifest
@@ -1 +1,2 @@
 DIST giara-1.0.1.tar.bz2 152103 BLAKE2B 615724317b29b1ba0743edbd9bc0190ec1647ef61aff02aa833d6fe19c375afda3bcc8293f38cb067d31d71b8e269ffca510320f275ebca9b803d9096f470608 SHA512 75cc9ce9fb2baea5919c8da4f1a18d73602a753ee92e9ad660814b5c97f879b04474f338f2b4c91336fae9b1469e78bfc68ccb78ddd17af459276bd13042c6ac
+DIST giara-1.1.0.tar.bz2 160995 BLAKE2B bbaaeccd05ca51236447faec1839c87adbd4acf0ef24cf5f644aaa8e8d254b916ee948c96bd469ed0fd0214f416c09bf63384b41ed78694ae63b840f8f6df97d SHA512 60dee316f5fdd93787cac05844436aa53649f7304528f086dbdfa7f486b2adbcaf1f3d4440bd6bc9bdfea33acf2504ffc567200110b4f90df29758b146559fa6

diff --git a/net-misc/giara/giara-1.1.0.ebuild b/net-misc/giara/giara-1.1.0.ebuild
new file mode 100644
index 000000000..309296fad
--- /dev/null
+++ b/net-misc/giara/giara-1.1.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit gnome2-utils meson python-single-r1 xdg
+
+DESCRIPTION="An app for Reddit"
+HOMEPAGE="https://giara.gabmus.org https://gitlab.gnome.org/World/giara"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://gitlab.gnome.org/World/${PN}.git"
+else
+	SRC_URI="https://gitlab.gnome.org/World/${PN}/-/archive/${PV}/${P}.tar.bz2"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	dev-libs/glib:2
+	dev-libs/gobject-introspection
+	>=gui-libs/gtk-4.10:4[introspection]
+	gui-libs/gtksourceview:5[introspection]
+	>=gui-libs/libadwaita-1.3:1[introspection]
+	$(python_gen_cond_dep '
+		dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+		dev-python/mistune[${PYTHON_USEDEP}]
+		dev-python/pillow[${PYTHON_USEDEP}]
+		dev-python/praw[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+	')
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-util/blueprint-compiler
+	sys-devel/gettext
+"
+
+src_prepare() {
+	default
+
+	# fix broken shebang
+	sed "s|py_installation.full_path()|'${PYTHON}'|" -i bin/meson.build || die
+}
+
+# skip AppStream test
+src_test() {
+:
+}
+
+src_install() {
+	meson_src_install
+	python_optimize
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	gnome2_schemas_update
+}
+
+pkg_postrm() {
+	xdg_pkg_postrm
+	gnome2_schemas_update
+}


             reply	other threads:[~2023-03-30 15:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30 15:26 Anna Vyalkova [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-25  0:00 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/giara/ Anna Vyalkova
2022-12-12 20:26 Anna Vyalkova
2022-12-12 20:26 Anna Vyalkova
2022-12-12 20:26 Anna Vyalkova
2022-05-30 19:26 Anna Vyalkova
2022-02-20 19:02 Anna Vyalkova

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=1680187391.12dc87173a5b3a94ef07741c28822eb16e7a136c.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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