From 7995bb38f8528897602cb5701015dbd54f76a61a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Fri, 23 Oct 2020 16:11:24 +0200 Subject: [PATCH] app-portage/gen-pkgs: 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/gen-pkgs/Manifest | 1 + app-portage/gen-pkgs/gen-pkgs-1.0.0.ebuild | 33 ++++++++++++++++++++++ app-portage/gen-pkgs/gen-pkgs-9999.ebuild | 2 -- 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 app-portage/gen-pkgs/Manifest create mode 100644 app-portage/gen-pkgs/gen-pkgs-1.0.0.ebuild diff --git a/app-portage/gen-pkgs/Manifest b/app-portage/gen-pkgs/Manifest new file mode 100644 index 0000000..6ec16ed --- /dev/null +++ b/app-portage/gen-pkgs/Manifest @@ -0,0 +1 @@ +DIST gen-pkgs-1.0.0.tar.gz 15378 BLAKE2B dc157a9129557cb7cd9f01ca6f7a8fcd0ac3192e30ac52be289789351f5cfacebb1f184b452e594b42038c6840b61cb1b117167533971a1ac3cf7eab29a4a971 SHA512 b06d810140629d72f9737607d36b45211df6d376bcd0b4d27af28420c4b1e1905181299f6b3d58271e12106c1b728a44401a615d59ca3404d837dbaf9987b274 diff --git a/app-portage/gen-pkgs/gen-pkgs-1.0.0.ebuild b/app-portage/gen-pkgs/gen-pkgs-1.0.0.ebuild new file mode 100644 index 0000000..3bcb951 --- /dev/null +++ b/app-portage/gen-pkgs/gen-pkgs-1.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Create HTML page based off of a given overlay URL" +HOMEPAGE="https://gitlab.com/src_prepare/gen-pkgs" + +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-3" +SLOT="0" +IUSE="" + +RDEPEND=" + app-portage/euscan-ng + app-portage/gentoolkit + app-portage/repoman + sys-apps/busybox +" + +src_install() { + default + + newbin gen-pkgs.sh gen-pkgs +} diff --git a/app-portage/gen-pkgs/gen-pkgs-9999.ebuild b/app-portage/gen-pkgs/gen-pkgs-9999.ebuild index 32f29c2..3bcb951 100644 --- a/app-portage/gen-pkgs/gen-pkgs-9999.ebuild +++ b/app-portage/gen-pkgs/gen-pkgs-9999.ebuild @@ -3,8 +3,6 @@ EAPI=7 -inherit eutils - DESCRIPTION="Create HTML page based off of a given overlay URL" HOMEPAGE="https://gitlab.com/src_prepare/gen-pkgs"