mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
app-text/komikku: fix variables; GTK slot 3
also, change src_install to use sed to fix EPYTHON Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
MY_PN="Komikku"
|
MY_PN="${PN^}"
|
||||||
MY_P="${MY_PN}-${PV}"
|
MY_P="${MY_PN}-v${PV}"
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8,9} )
|
PYTHON_COMPAT=( python3_{8,9} )
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@ inherit python-single-r1 meson gnome2-utils xdg
|
|||||||
|
|
||||||
DESCRIPTION="An online/offline manga reader for GNOME"
|
DESCRIPTION="An online/offline manga reader for GNOME"
|
||||||
HOMEPAGE="https://gitlab.com/valos/Komikku"
|
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"
|
SRC_URI="https://gitlab.com/valos/${MY_PN}/-/archive/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
RESTRICT="test"
|
RESTRICT="test"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
@@ -23,7 +23,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
>=gui-libs/libhandy-1.2.0
|
>=gui-libs/libhandy-1.2.0
|
||||||
>=x11-libs/gtk+-3.24.10
|
>=x11-libs/gtk+-3.24.10:3
|
||||||
$(python_gen_cond_dep '
|
$(python_gen_cond_dep '
|
||||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||||
dev-python/cloudscraper[${PYTHON_USEDEP}]
|
dev-python/cloudscraper[${PYTHON_USEDEP}]
|
||||||
@@ -42,7 +42,7 @@ RDEPEND="
|
|||||||
${DEPEND}
|
${DEPEND}
|
||||||
"
|
"
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_PN}-v${PV}"
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
python-single-r1_pkg_setup
|
python-single-r1_pkg_setup
|
||||||
@@ -52,9 +52,8 @@ src_install() {
|
|||||||
meson_src_install
|
meson_src_install
|
||||||
python_optimize
|
python_optimize
|
||||||
|
|
||||||
# Dirty hack (python_doscript doesn't work)
|
sed -i "s/#!.*/#!${EPYTHON}/" "${D}/usr/bin/${PN}" ||
|
||||||
echo "#!/usr/bin/${EPYTHON}
|
die "Failed to fix ${D}/usr/bin/${PN} interpreter"
|
||||||
$(cat ${D}/usr/bin/${PN})" > "${D}/usr/bin/${PN}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_preinst() {
|
pkg_preinst() {
|
||||||
|
|||||||
Reference in New Issue
Block a user