2022-07-04 16:23:23 +02:00
|
|
|
# Copyright 1999-2022 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
|
|
|
|
2022-07-04 16:23:23 +02:00
|
|
|
PYTHON_COMPAT=( python3_{8..11} )
|
2020-09-11 21:47:27 +02:00
|
|
|
|
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
|
2022-07-04 16:23:23 +02:00
|
|
|
SRC_URI="https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz"
|
2020-09-11 21:47:27 +02:00
|
|
|
KEYWORDS="~amd64"
|
|
|
|
fi
|
|
|
|
|
|
|
|
RESTRICT="mirror"
|
2022-07-04 16:23:23 +02:00
|
|
|
LICENSE="GPL-2+"
|
2020-09-11 21:47:27 +02:00
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
# web (
|
|
|
|
# 'Django>=1.4', dev-python/django OK
|
|
|
|
# 'South>=0.7', None
|
|
|
|
# 'ansi2html>=0.9.1', dev-python/ansi2html PY
|
|
|
|
# 'django-annoying>=0.7.6', None
|
|
|
|
# 'django-auth-ldap>=1.1', dev-python/django-auth-ldap PY
|
|
|
|
# 'django-celery>=3.0.1', dev-python/celery PY
|
|
|
|
# 'django-piston>=0.2.3', None
|
|
|
|
# 'django-recaptcha>=0.0.4', None
|
|
|
|
# 'django-registration>=0.8', None
|
|
|
|
# 'matplotlib>=1.1.0', dev-python/matplotlib OK
|
|
|
|
# 'python-ldap>=2.4.10', dev-python/python-ldap OK
|
|
|
|
# )
|
|
|
|
|
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
|
2021-09-09 10:44:23 +02:00
|
|
|
>=dev-python/beautifulsoup4-4.8.2[${PYTHON_USEDEP}]
|
2020-09-11 21:47:27 +02:00
|
|
|
"
|
2022-07-04 16:23:23 +02:00
|
|
|
BDEPEND="${RDEPEND}"
|