diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-07-20 20:49:06 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-07-20 20:49:06 +0200 |
commit | 96e6d4f24621731b72babe13e5cc2cb98a8de8e4 (patch) | |
tree | 8128ca30b2e40c725878737a347a85d8e174208d /app-misc/votrify/votrify-2.ebuild | |
parent | app-misc/votrify: Fix missing deps & REQUIRED_USE (diff) | |
download | gentoo-96e6d4f24621731b72babe13e5cc2cb98a8de8e4.tar.gz gentoo-96e6d4f24621731b72babe13e5cc2cb98a8de8e4.tar.bz2 gentoo-96e6d4f24621731b72babe13e5cc2cb98a8de8e4.zip |
app-misc/votrify: Drop old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-misc/votrify/votrify-2.ebuild')
-rw-r--r-- | app-misc/votrify/votrify-2.ebuild | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/app-misc/votrify/votrify-2.ebuild b/app-misc/votrify/votrify-2.ebuild deleted file mode 100644 index 278667874da3..000000000000 --- a/app-misc/votrify/votrify-2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{5,6,7} ) - -inherit python-single-r1 - -DESCRIPTION="Tool for community verification of Gentoo elections" -HOMEPAGE="https://github.com/mgorny/votrify" -SRC_URI="https://github.com/mgorny/votrify/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="app-misc/gentoo-elections" - -src_configure() { - # update default location for election scripts - sed -i -e "s^os.path.dirname(__file__)^'${EPREFIX}/usr/lib'^" \ - votrify-make-confirmation || die - - python_fix_shebang votrify-{make,verify}-* -} - -make_wrappers() { - local election=${1} - - newbin - "votrify-${election}-make" \ - < <(sed -e "s^@ELECTION@^${election}^" \ - votrify-wrapper-make.bash.in || die) - newbin - "votrify-${election}-verify" \ - < <(sed -e "s^@ELECTION@^${election}^" \ - votrify-wrapper-verify.bash.in || die) -} - -src_install() { - dobin votrify-{make,verify}-* - make_wrappers council-201906 - einstalldocs -} - -pkg_postinst() { - elog "In order to interactively create confirmation for Council 2019 election:" - elog " votrify-council-201906-make" - elog - elog "In order to verify the results for Council 2019 election:" - elog " votrify-council-201906-verify" -} |