From bb093efdbdd232cc9950959c64a5a06e9c26ec0c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 10 Jul 2019 22:01:20 +0200 Subject: [PATCH] app-misc/gentoo-elections: Package the election data MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- app-misc/gentoo-elections/Manifest | 1 + .../gentoo-elections-0_p20190710.ebuild | 36 +++++++++++++++++++ app-misc/gentoo-elections/metadata.xml | 8 +++++ 3 files changed, 45 insertions(+) create mode 100644 app-misc/gentoo-elections/Manifest create mode 100644 app-misc/gentoo-elections/gentoo-elections-0_p20190710.ebuild create mode 100644 app-misc/gentoo-elections/metadata.xml diff --git a/app-misc/gentoo-elections/Manifest b/app-misc/gentoo-elections/Manifest new file mode 100644 index 000000000000..061dbbf847b8 --- /dev/null +++ b/app-misc/gentoo-elections/Manifest @@ -0,0 +1 @@ +DIST elections-20e84ba8cc3b328fccdc15219540443315ef4c20.tar.bz2 80881 BLAKE2B 4009834986ea6cbff84dd0b250af95fa79c45c35bbf54a6a36543383a7cd5d18294070e51d499f74ad3e8de6a1ab8c17813838b8e57c2268e6736e53523951e9 SHA512 c8b4203707713a11564b93598d8bdcfcc3b9bfdc35b664ccc52d1eb8f81f9539cdcef619687cd1ab18b2c8ba9008685641482395c2a5badb4c19ece0c02e8824 diff --git a/app-misc/gentoo-elections/gentoo-elections-0_p20190710.ebuild b/app-misc/gentoo-elections/gentoo-elections-0_p20190710.ebuild new file mode 100644 index 000000000000..719ceb3fa342 --- /dev/null +++ b/app-misc/gentoo-elections/gentoo-elections-0_p20190710.ebuild @@ -0,0 +1,36 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="elections-20e84ba8cc3b328fccdc15219540443315ef4c20" +DESCRIPTION="Gentoo election control data and scripts" +HOMEPAGE="https://gitweb.gentoo.org/proj/elections.git/" +SRC_URI="https://gitweb.gentoo.org/proj/elections.git/snapshot/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-lang/perl + dev-perl/Carp-Always + virtual/perl-Data-Dumper + virtual/perl-File-Spec + virtual/perl-Getopt-Long + virtual/perl-Scalar-List-Utils" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + + # delete obsolete, broken symlinks + find completed -name Votify.pm -delete || die +} + +src_install() { + insinto /usr/lib/gentoo-elections + doins -r completed countify Votify.pm +} diff --git a/app-misc/gentoo-elections/metadata.xml b/app-misc/gentoo-elections/metadata.xml new file mode 100644 index 000000000000..0319eec4c8be --- /dev/null +++ b/app-misc/gentoo-elections/metadata.xml @@ -0,0 +1,8 @@ + + + + + mgorny@gentoo.org + Michał Górny + + -- 2.26.2