commit: 572d3f976a947e423cd0b1700accfb53a5740262
Author: Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Thu Apr 15 14:17:49 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Apr 15 14:18:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=572d3f97
app-text/komikku: bump to 0.27.0
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
app-text/komikku/Manifest | 1 +
app-text/komikku/komikku-0.27.0.ebuild | 75 ++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
diff --git a/app-text/komikku/Manifest b/app-text/komikku/Manifest
index 7ce7193be..ecee05fcf 100644
--- a/app-text/komikku/Manifest
+++ b/app-text/komikku/Manifest
@@ -1,2 +1,3 @@
DIST komikku-0.24.0.tar.gz 1585185 BLAKE2B
5d41162c9cfb1ecdc5127d3dd71789ef6e9688c2ca0eb201964362eb8d8c74b0b85ecd05841eb70834cebefcabc269f1c0659944d9e47447055a9a2bc0a23373
SHA512
aaa98f6e4e736ca8185c734885f3b9ae741f5656d090ae9647c7c4eb0815f28801907044b2107df4a5d1d05a1a85c738c1220aa4434f8c7529d1f70644d82666
DIST komikku-0.26.1.tar.gz 1614455 BLAKE2B
ef58a7ac497f29c182788c3f827e83c8561ab5bf91598a051c1ca9784b5eafcd3573f1835572e67cd11e02043c902513e2ef86e68d2b33e310363967067ad955
SHA512
73409c51a44f333e3bb0e47e2480099f3a05a1e88dc3c8c96846c18caf7ee61d99e81fe5e47991bd93f76e36fccad73f4bcf406bd744a9fc6ca860b2feef4efc
+DIST komikku-0.27.0.tar.gz 1633581 BLAKE2B
828e5942995fa8cda4c90739595a132f9f755423637c26d309deb56545a68c751bfbbc8a5ae5bdcd6f233a6608d247a952039f331b56d06b4ea4e9bb264dc1d8
SHA512
6358442189416125d172b4f0408c86e52456994e3e451d125bd2253c4b41d9b4534f5b1d42128b0ed1d4c8559df0abea4287f243e74d4fdedb74ef4d2eb43ba9
diff --git a/app-text/komikku/komikku-0.27.0.ebuild
b/app-text/komikku/komikku-0.27.0.ebuild
new file mode 100644
index 000000000..4f537246b
--- /dev/null
+++ b/app-text/komikku/komikku-0.27.0.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_{7,8} )
+
+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.0.2
+ >=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
+}