2023-11-15 23:32:24 +01:00
|
|
|
# Copyright 1999-2023 Gentoo Authors
|
2020-09-11 21:47:27 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2022-07-04 16:23:23 +02:00
|
|
|
EAPI=8
|
2020-09-11 21:47:27 +02:00
|
|
|
|
2023-11-15 23:32:24 +01:00
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
|
|
PYTHON_COMPAT=( python3_{10..12} )
|
2020-10-23 16:10:24 +02:00
|
|
|
inherit distutils-r1
|
2020-09-11 21:47:27 +02:00
|
|
|
|
|
|
|
DESCRIPTION="Check if a given package has new upstream versions"
|
|
|
|
HOMEPAGE="https://gitlab.com/src_prepare/euscan-ng"
|
|
|
|
|
2022-07-04 16:23:23 +02:00
|
|
|
if [[ "${PV}" == *9999* ]] ; then
|
2020-09-11 21:47:27 +02:00
|
|
|
inherit git-r3
|
2022-07-04 16:23:23 +02:00
|
|
|
EGIT_REPO_URI="https://gitlab.com/src_prepare/${PN}.git"
|
2020-09-11 21:47:27 +02:00
|
|
|
else
|
2023-11-15 23:32:24 +01:00
|
|
|
SRC_URI="https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
2020-09-11 21:47:27 +02:00
|
|
|
KEYWORDS="~amd64"
|
|
|
|
fi
|
|
|
|
|
2023-11-15 23:32:24 +01:00
|
|
|
LICENSE="GPL-2"
|
2020-09-11 21:47:27 +02:00
|
|
|
SLOT="0"
|
|
|
|
|
2023-11-16 00:51:42 +01:00
|
|
|
# no tests
|
|
|
|
RESTRICT="test"
|
|
|
|
|
2020-09-12 04:03:07 +02:00
|
|
|
# Right now euscan-ng and euscan can't be both installed on the same system
|
2022-07-04 16:23:23 +02:00
|
|
|
RDEPEND="
|
2020-10-03 03:26:53 +02:00
|
|
|
!app-portage/euscan
|
2023-11-15 23:32:24 +01:00
|
|
|
app-portage/gentoolkit
|
2021-09-09 10:44:23 +02:00
|
|
|
>=dev-python/beautifulsoup4-4.8.2[${PYTHON_USEDEP}]
|
2023-11-15 23:32:24 +01:00
|
|
|
sys-apps/portage
|
2020-09-11 21:47:27 +02:00
|
|
|
"
|