app-portage/euscan-ng: add 1.0.1_alpha1

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-11-16 01:51:42 +02:00
parent 574a7216eb
commit 1651941393
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
3 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1 @@
DIST euscan-ng-1.0.1a1.tar.gz 39963 BLAKE2B 023fa5ee14a417a03a756d808cf738d039265cff3cad0462fd93c16b13f63ceb219e1f478d722d71bd3e5845810cd531bd1bf550ed137ba2bcee523c47d96ddf SHA512 e0a3daa9db4aa33fad3b77436094509be302ac5b7eb938a3fecba2a711052dda5207b0c8f6bde3b6d286137a5d3e31b94b97588bba701a76f83da40c4b79a8dc

View File

@ -0,0 +1,39 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Check if a given package has new upstream versions"
HOMEPAGE="https://gitlab.com/src_prepare/euscan-ng"
MY_PV="$(pypi_translate_version ${PV})"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/src_prepare/${PN}.git"
else
# GITLAB WHY DO NOT HAVE NON SHA256 URLS
SHA256="573c400924f9ca4163c5cf41c124bec0896ec9e1e6fb0bbc297aff2ff15a001c"
SRC_URI="https://gitlab.com/api/v4/projects/21075613/packages/pypi/files/${SHA256}/${PN}-${MY_PV}.tar.gz"
S="${WORKDIR}/${PN}-${MY_PV}"
KEYWORDS="~amd64"
fi
LICENSE="GPL-2"
SLOT="0"
# no tests
RESTRICT="test"
# Right now euscan-ng and euscan can't be both installed on the same system
RDEPEND="
!app-portage/euscan
app-portage/gentoolkit
>=dev-python/beautifulsoup4-4.8.2[${PYTHON_USEDEP}]
sys-apps/portage
"

View File

@ -18,10 +18,12 @@ else
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
# no tests
RESTRICT="test"
# Right now euscan-ng and euscan can't be both installed on the same system
RDEPEND="
!app-portage/euscan