commit:     9f84207f3cd31d1996fad5c3cc3ffa80e1f7be99
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Wed Jun 16 15:26:30 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Wed Jun 16 15:26:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9f84207f

app-text/komikku: bump to 0.29.2

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 app-text/komikku/Manifest              |  1 +
 app-text/komikku/komikku-0.29.2.ebuild | 75 ++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/app-text/komikku/Manifest b/app-text/komikku/Manifest
index e81377b54..c2fd4ac82 100644
--- a/app-text/komikku/Manifest
+++ b/app-text/komikku/Manifest
@@ -1,2 +1,3 @@
 DIST komikku-0.27.0.tar.gz 1633581 BLAKE2B 
828e5942995fa8cda4c90739595a132f9f755423637c26d309deb56545a68c751bfbbc8a5ae5bdcd6f233a6608d247a952039f331b56d06b4ea4e9bb264dc1d8
 SHA512 
6358442189416125d172b4f0408c86e52456994e3e451d125bd2253c4b41d9b4534f5b1d42128b0ed1d4c8559df0abea4287f243e74d4fdedb74ef4d2eb43ba9
 DIST komikku-0.28.1.tar.gz 1670259 BLAKE2B 
bcb89f644eca7b6e322442316234e5d39d9db6d32e31b09b170abac74168f17e39cc2a368fa624edde0e0b3aa3892768d3d6adddf5b649bdf7cf34c775730b98
 SHA512 
c9db5ce5944520802bccdf5ce906fa2f3dea2209ea7fd060e7349944320148350dbfd131acb9b88ffba8d6712d0fd849110345aca625ce2af97e20bd0817d343
+DIST komikku-0.29.2.tar.gz 1675938 BLAKE2B 
b593fa015b0d6b5cf2c2686d60731091a7cf68ba7522712df281cd360bdf61fb46eb33cfecc14301ddc309daccd4607ebd563441bb33cd857ec06f940d4e1956
 SHA512 
3aa286623cd33a787efdd3fde35a67616ef93a542356b1c17fca82d5700b535055eb609393b54bd7e011f7c5949105ddea9b78eb111cc5f4bf2dddbc604c8bc9

diff --git a/app-text/komikku/komikku-0.29.2.ebuild 
b/app-text/komikku/komikku-0.29.2.ebuild
new file mode 100644
index 000000000..f9b769d34
--- /dev/null
+++ b/app-text/komikku/komikku-0.29.2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="Komikku"
+MY_P="${MY_PN}-${PV}"
+
+PYTHON_COMPAT=( python3_{8,9} )
+
+inherit python-single-r1 meson gnome2-utils xdg
+
+DESCRIPTION="An online/offline manga reader for GNOME"
+HOMEPAGE="https://gitlab.com/valos/Komikku";
+SRC_URI="https://gitlab.com/valos/${MY_PN}/-/archive/v${PV}/${MY_PN}-v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+RESTRICT="test"
+KEYWORDS="~amd64"
+LICENSE="GPL-3"
+SLOT="0"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+       >=gui-libs/libhandy-1.2.0
+       >=x11-libs/gtk+-3.24.10
+       $(python_gen_cond_dep '
+               dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
+               dev-python/cloudscraper[${PYTHON_USEDEP}]
+               dev-python/dateparser[${PYTHON_USEDEP}]
+               dev-python/keyring[${PYTHON_USEDEP}]
+               dev-python/lxml[${PYTHON_USEDEP}]
+               dev-python/pillow[${PYTHON_USEDEP}]
+               dev-python/pure-protobuf[${PYTHON_USEDEP}]
+               dev-python/pygobject[${PYTHON_USEDEP}]
+               dev-python/python-magic[${PYTHON_USEDEP}]
+               dev-python/unidecode[${PYTHON_USEDEP}]
+       ')
+"
+RDEPEND="
+       ${PYTHON_DEPS}
+       ${DEPEND}
+"
+
+S="${WORKDIR}/${MY_PN}-v${PV}"
+
+pkg_setup() {
+       python-single-r1_pkg_setup
+}
+
+src_install() {
+       meson_src_install
+       python_optimize
+
+       # Dirty hack (python_doscript doesn't work)
+       echo "#!/usr/bin/${EPYTHON}
+       $(cat ${D}/usr/bin/${PN})" > "${D}/usr/bin/${PN}"
+}
+
+pkg_preinst() {
+       gnome2_schemas_savelist
+       xdg_pkg_preinst
+}
+
+pkg_postinst() {
+       gnome2_gconf_install
+       gnome2_schemas_update
+       xdg_pkg_postinst
+}
+
+pkg_postrm() {
+       gnome2_gconf_uninstall
+       gnome2_schemas_update
+       xdg_pkg_postrm
+}

Reply via email to