app-portage/euscan-ng: bump to EAPI 8; update PYTHON_COMPAT

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2022-07-04 16:23:23 +02:00
parent c70670ab42
commit dc5275f76b
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 18 additions and 36 deletions

View File

@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
PYTHON_COMPAT=( python3_{7..9} ) PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 inherit distutils-r1
@ -12,22 +12,15 @@ HOMEPAGE="https://gitlab.com/src_prepare/euscan-ng"
if [[ "${PV}" == *9999* ]] ; then if [[ "${PV}" == *9999* ]] ; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI=" EGIT_REPO_URI="https://gitlab.com/src_prepare/${PN}.git"
https://gitlab.com/src_prepare/${PN}.git
https://github.com/xgqt/${PN}.git
"
else else
SRC_URI=" SRC_URI="https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz"
https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz
https://github.com/xgqt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
"
KEYWORDS="~amd64" KEYWORDS="~amd64"
fi fi
RESTRICT="mirror" RESTRICT="mirror"
LICENSE="GPL-2" LICENSE="GPL-2+"
SLOT="0" SLOT="0"
IUSE=""
# web ( # web (
# 'Django>=1.4', dev-python/django OK # 'Django>=1.4', dev-python/django OK
@ -44,10 +37,8 @@ IUSE=""
# ) # )
# Right now euscan-ng and euscan can't be both installed on the same system # Right now euscan-ng and euscan can't be both installed on the same system
DEPEND=" RDEPEND="
!app-portage/euscan !app-portage/euscan
>=dev-python/beautifulsoup4-4.8.2[${PYTHON_USEDEP}] >=dev-python/beautifulsoup4-4.8.2[${PYTHON_USEDEP}]
" "
RDEPEND=" BDEPEND="${RDEPEND}"
${DEPEND}
"

View File

@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
PYTHON_COMPAT=( python3_{7..9} ) PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 inherit distutils-r1
@ -12,22 +12,15 @@ HOMEPAGE="https://gitlab.com/src_prepare/euscan-ng"
if [[ "${PV}" == *9999* ]] ; then if [[ "${PV}" == *9999* ]] ; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI=" EGIT_REPO_URI="https://gitlab.com/src_prepare/${PN}.git"
https://gitlab.com/src_prepare/${PN}.git
https://github.com/xgqt/${PN}.git
"
else else
SRC_URI=" SRC_URI="https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz"
https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz
https://github.com/xgqt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
"
KEYWORDS="~amd64" KEYWORDS="~amd64"
fi fi
RESTRICT="mirror" RESTRICT="mirror"
LICENSE="GPL-2" LICENSE="GPL-2+"
SLOT="0" SLOT="0"
IUSE=""
# web ( # web (
# 'Django>=1.4', dev-python/django OK # 'Django>=1.4', dev-python/django OK
@ -44,10 +37,8 @@ IUSE=""
# ) # )
# Right now euscan-ng and euscan can't be both installed on the same system # Right now euscan-ng and euscan can't be both installed on the same system
DEPEND=" RDEPEND="
!app-portage/euscan !app-portage/euscan
>=dev-python/beautifulsoup4-4.8.2[${PYTHON_USEDEP}] >=dev-python/beautifulsoup4-4.8.2[${PYTHON_USEDEP}]
" "
RDEPEND=" BDEPEND="${RDEPEND}"
${DEPEND}
"