From 7915352846a2eaebc2fa1d6bc1e5d94031c791da Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Mon, 28 Sep 2020 12:04:14 +0200 Subject: app-text/komikku: bump to 0.15.0; add python3_8 impl compat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Maciej Barć --- app-text/komikku/Manifest | 1 + app-text/komikku/komikku-0.12.0.ebuild | 2 +- app-text/komikku/komikku-0.15.0.ebuild | 73 ++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 app-text/komikku/komikku-0.15.0.ebuild diff --git a/app-text/komikku/Manifest b/app-text/komikku/Manifest index 3519c24a7..46b1b087f 100644 --- a/app-text/komikku/Manifest +++ b/app-text/komikku/Manifest @@ -1 +1,2 @@ DIST komikku-0.12.0.tar.gz 769028 BLAKE2B f2304f2faff4df5ecb0d45ba51bed35093a4e2eb539603060da279d1fce14753f85fa3262e971f3dec0e17ea65d17560f92ad84510f1a0519ab9a7f443e59c92 SHA512 ba9af4c5eff5b9814e8262e8e325ba2d64cbcc73faa53133fdfc839b0e1b558538c08acf26c981cf417a313f5d36c981afb3b9cd5c7a57f899fa774aa51f138c +DIST komikku-0.15.0.tar.gz 1393312 BLAKE2B a9eba44119226c1e2de4403432cdf35758e41919a763e669592616ced82a530319b531dfa97844b14b189e75df84a16d3748b294dac72aefc1546d87f3c689bb SHA512 a819a95b8726929b78837ea0bedd12860ce30aa01616a54bab71efbc5216bd135cd96c717aa1a629ea4e9c29a176307039c22244ffee205e25db28ce0ddf08b4 diff --git a/app-text/komikku/komikku-0.12.0.ebuild b/app-text/komikku/komikku-0.12.0.ebuild index b5b816fe1..0198a0a29 100644 --- a/app-text/komikku/komikku-0.12.0.ebuild +++ b/app-text/komikku/komikku-0.12.0.ebuild @@ -6,7 +6,7 @@ EAPI=7 MY_PN="Komikku" MY_P="${MY_PN}-${PV}" -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{7,8} ) DISTUTILS_USE_SETUPTOOLS=no inherit distutils-r1 meson gnome2-utils xdg diff --git a/app-text/komikku/komikku-0.15.0.ebuild b/app-text/komikku/komikku-0.15.0.ebuild new file mode 100644 index 000000000..0198a0a29 --- /dev/null +++ b/app-text/komikku/komikku-0.15.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 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} ) + +DISTUTILS_USE_SETUPTOOLS=no +inherit distutils-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" + +KEYWORDS="~amd64" +LICENSE="GPL-3" +SLOT="0" + +# Requires network connection to test +RESTRICT="test" + +DEPEND=" + >=gui-libs/libhandy-0.0.10:0.0/0 + >=x11-libs/gtk+-3.24.10 + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/cloudscraper[${PYTHON_USEDEP}] + dev-python/dateparser[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pure-protobuf[${PYTHON_USEDEP}] + dev-python/python-magic[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" + +S="${WORKDIR}/${MY_PN}-v${PV}" + +distutils_enable_tests pytest + +src_install() { + meson_src_install + python_foreach_impl python_optimize +} + +src_test() { + PYTHONPATH="${S}:${PYTHONPATH}" python_foreach_impl python_test +} + +pkg_preinst() { + gnome2_schemas_savelist + xdg_environment_reset +} + +pkg_postinst() { + gnome2_gconf_install + gnome2_schemas_update + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + gnome2_gconf_uninstall + gnome2_schemas_update + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} -- cgit v1.2.3-65-gdbad