mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 06:10:56 +02:00
fuxploider: migrate to PYTHON_MULTI_USEDEP
This commit is contained in:
parent
e7381f1d5f
commit
9790902ccf
2 changed files with 16 additions and 14 deletions
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
|
|
@ -20,14 +20,15 @@ fi
|
|||
|
||||
LICENSE="GPL-3"
|
||||
SLOT=0
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/coloredlogs[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/requests[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/coloredlogs[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
|
||||
')"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
|
|
@ -46,7 +47,7 @@ src_install() {
|
|||
doins -r *
|
||||
|
||||
make_wrapper "fuxploider" \
|
||||
"python3 /usr/share/${PN}/fuxploider.py" \
|
||||
"${EPYTHON} /usr/share/${PN}/fuxploider.py" \
|
||||
"/usr/share/${PN}"
|
||||
|
||||
dodoc README.md
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
|
|
@ -20,14 +20,15 @@ fi
|
|||
|
||||
LICENSE="GPL-3"
|
||||
SLOT=0
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/coloredlogs[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/requests[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/coloredlogs[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
|
||||
')"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
|
|
@ -46,7 +47,7 @@ src_install() {
|
|||
doins -r *
|
||||
|
||||
make_wrapper "fuxploider" \
|
||||
"python3 /usr/share/${PN}/fuxploider.py" \
|
||||
"${EPYTHON} /usr/share/${PN}/fuxploider.py" \
|
||||
"/usr/share/${PN}"
|
||||
|
||||
dodoc README.md
|
||||
|
|
|
|||
Loading…
Reference in a new issue