From cd9a869e28ae39b75a0a4cbf5ab2536f3076d421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Fri, 23 Oct 2020 16:10:24 +0200 Subject: [PATCH] app-portage/euscan-ng: add version 1.0.0; remove inherit eutils MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Maciej Barć --- app-portage/euscan-ng/Manifest | 1 + app-portage/euscan-ng/euscan-ng-1.0.0.ebuild | 47 ++++++++++++++++++++ app-portage/euscan-ng/euscan-ng-9999.ebuild | 3 +- 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 app-portage/euscan-ng/Manifest create mode 100644 app-portage/euscan-ng/euscan-ng-1.0.0.ebuild diff --git a/app-portage/euscan-ng/Manifest b/app-portage/euscan-ng/Manifest new file mode 100644 index 0000000..31a7ad8 --- /dev/null +++ b/app-portage/euscan-ng/Manifest @@ -0,0 +1 @@ +DIST euscan-ng-1.0.0.tar.gz 7059426 BLAKE2B e926381049fff7b5053c023d66804121c24dc97713a9cd68ad227e0afffbdb12439362c2a389c0dbd76934a12f1e7aff36a81086b27bc70fec951c3c5cd90106 SHA512 c3519e9db3fcf9b1495c881a0816350a1103785b0ba6d2293747ef5aae3d7ec0802ade4c199c0568a91e2b6a1c7ab242627fb4e31dc8c2fb61b1c4ec6b1daa74 diff --git a/app-portage/euscan-ng/euscan-ng-1.0.0.ebuild b/app-portage/euscan-ng/euscan-ng-1.0.0.ebuild new file mode 100644 index 0000000..0a35d0b --- /dev/null +++ b/app-portage/euscan-ng/euscan-ng-1.0.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit distutils-r1 + +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 + EGIT_REPO_URI="https://gitlab.com/src_prepare/${PN}.git" +else + SRC_URI="https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz" + 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 +# ) + +# Right now euscan-ng and euscan can't be both installed on the same system +DEPEND=" + !app-portage/euscan + >=dev-python/beautifulsoup-4.8.2[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" diff --git a/app-portage/euscan-ng/euscan-ng-9999.ebuild b/app-portage/euscan-ng/euscan-ng-9999.ebuild index 2a85d7c..0a35d0b 100644 --- a/app-portage/euscan-ng/euscan-ng-9999.ebuild +++ b/app-portage/euscan-ng/euscan-ng-9999.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9} ) -inherit eutils distutils-r1 +inherit distutils-r1 DESCRIPTION="Check if a given package has new upstream versions" HOMEPAGE="https://gitlab.com/src_prepare/euscan-ng" @@ -38,7 +38,6 @@ IUSE="" # ) # Right now euscan-ng and euscan can't be both installed on the same system - DEPEND=" !app-portage/euscan >=dev-python/beautifulsoup-4.8.2[${PYTHON_USEDEP}]