diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-07-10 22:01:20 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-07-10 22:01:20 +0200 |
commit | bb093efdbdd232cc9950959c64a5a06e9c26ec0c (patch) | |
tree | e95ee35830c9d973275a521809e5ab785c8457cf /app-misc/gentoo-elections | |
parent | dev-python/cmd2: Add missing dep on setuptools_scm (diff) | |
download | gentoo-bb093efdbdd232cc9950959c64a5a06e9c26ec0c.tar.gz gentoo-bb093efdbdd232cc9950959c64a5a06e9c26ec0c.tar.bz2 gentoo-bb093efdbdd232cc9950959c64a5a06e9c26ec0c.zip |
app-misc/gentoo-elections: Package the election data
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-misc/gentoo-elections')
-rw-r--r-- | app-misc/gentoo-elections/Manifest | 1 | ||||
-rw-r--r-- | app-misc/gentoo-elections/gentoo-elections-0_p20190710.ebuild | 36 | ||||
-rw-r--r-- | app-misc/gentoo-elections/metadata.xml | 8 |
3 files changed, 45 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> +</pkgmetadata> |