Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-text/komikku/
Date: Thu, 15 Apr 2021 14:18:17
Message-Id: 1618496285.572d3f976a947e423cd0b1700accfb53a5740262.xgqt@gentoo
1 commit: 572d3f976a947e423cd0b1700accfb53a5740262
2 Author: Maciej Barć <xgqt <AT> riseup <DOT> net>
3 AuthorDate: Thu Apr 15 14:17:49 2021 +0000
4 Commit: Maciej Barć <xgqt <AT> riseup <DOT> net>
5 CommitDate: Thu Apr 15 14:18:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=572d3f97
7
8 app-text/komikku: bump to 0.27.0
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
12
13 app-text/komikku/Manifest | 1 +
14 app-text/komikku/komikku-0.27.0.ebuild | 75 ++++++++++++++++++++++++++++++++++
15 2 files changed, 76 insertions(+)
16
17 diff --git a/app-text/komikku/Manifest b/app-text/komikku/Manifest
18 index 7ce7193be..ecee05fcf 100644
19 --- a/app-text/komikku/Manifest
20 +++ b/app-text/komikku/Manifest
21 @@ -1,2 +1,3 @@
22 DIST komikku-0.24.0.tar.gz 1585185 BLAKE2B 5d41162c9cfb1ecdc5127d3dd71789ef6e9688c2ca0eb201964362eb8d8c74b0b85ecd05841eb70834cebefcabc269f1c0659944d9e47447055a9a2bc0a23373 SHA512 aaa98f6e4e736ca8185c734885f3b9ae741f5656d090ae9647c7c4eb0815f28801907044b2107df4a5d1d05a1a85c738c1220aa4434f8c7529d1f70644d82666
23 DIST komikku-0.26.1.tar.gz 1614455 BLAKE2B ef58a7ac497f29c182788c3f827e83c8561ab5bf91598a051c1ca9784b5eafcd3573f1835572e67cd11e02043c902513e2ef86e68d2b33e310363967067ad955 SHA512 73409c51a44f333e3bb0e47e2480099f3a05a1e88dc3c8c96846c18caf7ee61d99e81fe5e47991bd93f76e36fccad73f4bcf406bd744a9fc6ca860b2feef4efc
24 +DIST komikku-0.27.0.tar.gz 1633581 BLAKE2B 828e5942995fa8cda4c90739595a132f9f755423637c26d309deb56545a68c751bfbbc8a5ae5bdcd6f233a6608d247a952039f331b56d06b4ea4e9bb264dc1d8 SHA512 6358442189416125d172b4f0408c86e52456994e3e451d125bd2253c4b41d9b4534f5b1d42128b0ed1d4c8559df0abea4287f243e74d4fdedb74ef4d2eb43ba9
25
26 diff --git a/app-text/komikku/komikku-0.27.0.ebuild b/app-text/komikku/komikku-0.27.0.ebuild
27 new file mode 100644
28 index 000000000..4f537246b
29 --- /dev/null
30 +++ b/app-text/komikku/komikku-0.27.0.ebuild
31 @@ -0,0 +1,75 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +MY_PN="Komikku"
38 +MY_P="${MY_PN}-${PV}"
39 +
40 +PYTHON_COMPAT=( python3_{7,8} )
41 +
42 +inherit python-single-r1 meson gnome2-utils xdg
43 +
44 +DESCRIPTION="An online/offline manga reader for GNOME"
45 +HOMEPAGE="https://gitlab.com/valos/Komikku"
46 +SRC_URI="https://gitlab.com/valos/${MY_PN}/-/archive/v${PV}/${MY_PN}-v${PV}.tar.gz -> ${P}.tar.gz"
47 +
48 +RESTRICT="test"
49 +KEYWORDS="~amd64"
50 +LICENSE="GPL-3"
51 +SLOT="0"
52 +
53 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
54 +
55 +DEPEND="
56 + >=gui-libs/libhandy-1.0.2
57 + >=x11-libs/gtk+-3.24.10
58 + $(python_gen_cond_dep '
59 + dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
60 + dev-python/cloudscraper[${PYTHON_USEDEP}]
61 + dev-python/dateparser[${PYTHON_USEDEP}]
62 + dev-python/keyring[${PYTHON_USEDEP}]
63 + dev-python/lxml[${PYTHON_USEDEP}]
64 + dev-python/pillow[${PYTHON_USEDEP}]
65 + dev-python/pure-protobuf[${PYTHON_USEDEP}]
66 + dev-python/pygobject[${PYTHON_USEDEP}]
67 + dev-python/python-magic[${PYTHON_USEDEP}]
68 + dev-python/unidecode[${PYTHON_USEDEP}]
69 + ')
70 +"
71 +RDEPEND="
72 + ${PYTHON_DEPS}
73 + ${DEPEND}
74 +"
75 +
76 +S="${WORKDIR}/${MY_PN}-v${PV}"
77 +
78 +pkg_setup() {
79 + python-single-r1_pkg_setup
80 +}
81 +
82 +src_install() {
83 + meson_src_install
84 + python_optimize
85 +
86 + # Dirty hack (python_doscript doesn't work)
87 + echo "#!/usr/bin/${EPYTHON}
88 + $(cat ${D}/usr/bin/${PN})" > "${D}/usr/bin/${PN}"
89 +}
90 +
91 +pkg_preinst() {
92 + gnome2_schemas_savelist
93 + xdg_pkg_preinst
94 +}
95 +
96 +pkg_postinst() {
97 + gnome2_gconf_install
98 + gnome2_schemas_update
99 + xdg_pkg_postinst
100 +}
101 +
102 +pkg_postrm() {
103 + gnome2_gconf_uninstall
104 + gnome2_schemas_update
105 + xdg_pkg_postrm
106 +}