2021-01-18 12:07:10 +01:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2020-09-11 21:47:27 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
2021-01-18 12:07:10 +01:00
|
|
|
PYTHON_COMPAT=( python3_{7..9} )
|
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"
|
|
|
|
|
|
|
|
if [[ "${PV}" == *9999* ]]; then
|
|
|
|
inherit git-r3
|
2020-10-24 09:28:31 +02:00
|
|
|
EGIT_REPO_URI="
|
|
|
|
https://gitlab.com/src_prepare/${PN}.git
|
|
|
|
https://github.com/xgqt/${PN}.git
|
|
|
|
"
|
2020-09-11 21:47:27 +02:00
|
|
|
else
|
2020-10-24 09:28:31 +02:00
|
|
|
SRC_URI="
|
|
|
|
https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz
|
|
|
|
https://github.com/xgqt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
|
|
|
"
|
2020-09-11 21:47:27 +02:00
|
|
|
KEYWORDS="~amd64"
|
|
|
|
fi
|
|
|
|
|
|
|
|
RESTRICT="mirror"
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
# 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
|
2020-09-11 21:47:27 +02:00
|
|
|
DEPEND="
|
2020-10-03 03:26:53 +02:00
|
|
|
!app-portage/euscan
|
2020-09-11 21:47:27 +02:00
|
|
|
>=dev-python/beautifulsoup-4.8.2[${PYTHON_USEDEP}]
|
|
|
|
"
|
|
|
|
RDEPEND="
|
|
|
|
${DEPEND}
|
|
|
|
"
|