app-misc/gtypist: Remove 2.9.2

Uses deprecated EAPI 4 and overshadowed by 2.9.5.

Package-Manager: Portage-2.3.38, Repoman-2.3.9
This commit is contained in:
Johannes Huber
2018-05-20 13:50:18 +02:00
parent 364ea486a8
commit 323b529959
2 changed files with 0 additions and 68 deletions

View File

@@ -1,3 +1,2 @@
DIST colemak.typ 8922 BLAKE2B e3c422e9172e215406a5165a44c51c38f3372c9988f1bafdb537463a9a3209f1759a312c2a5d316ec3a2a0b39563521b87aa6944cdd0b4cf94c960cbe70c7ca3 SHA512 f2c2816836c83d7b640f7f703a4924c62ff0746e0d4cf2a2ca36d434017770272518b835ea273815c93ab9df1c0e4d142f5fea1e5f0b1484ecdc652a53bdc499
DIST gtypist-2.9.2.tar.xz 956252 BLAKE2B e9b5ff106c9b102a012d5dd9d9f64b64f07c8ef05090732685b277851c76b0eabc9eec38f1021b983cfc790d46e72de4a064f5ea3b956733b0039aaa60eac349 SHA512 6191735c383aeedf3017f9bcd1897d35b2f40ea9de74e94d5c544708e4eca86585ce11984ace75945ac5b61e0f5b73c0f2461c55a6dd3b5d2833b4ceeee90c3f
DIST gtypist-2.9.5.tar.xz 929356 BLAKE2B d83506ee8ab26290fae47f98aed4e5e63260f39d5391a9a735d009f34a787cd670b034375c946c7562545b84ed4655d51c385209d676de76cf4891ead9845ea9 SHA512 d6891cd58d23f9b023aec97dc825cb15f7371ab18e82133b9a284d3329b1526bda8e1c5d7225f335c5ec673280cbbe3ad92471eeb15db4ecf29e7feffe27e095

View File

@@ -1,67 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit eutils elisp-common
DESCRIPTION="Universal typing tutor"
HOMEPAGE="https://www.gnu.org/software/gtypist/"
SRC_URI="mirror://gnu/gtypist/${P}.tar.xz
http://colemak.com/pub/learn/colemak.typ"
LICENSE="GPL-2 public-domain"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
IUSE="nls emacs xemacs"
DEPEND=">=sys-libs/ncurses-5.2
emacs? ( virtual/emacs )
xemacs? ( !emacs? ( app-editors/xemacs app-xemacs/fsf-compat ) )"
RDEPEND="${DEPEND}"
SITEFILE=50${PN}-gentoo.el
src_unpack() {
unpack ${P}.tar.xz
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
}
src_configure() {
local lispdir=""
if use emacs; then
lispdir="${SITELISP}/${PN}"
einfo "Configuring to build with GNU Emacs support"
elif use xemacs; then
lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/lisp/${PN}"
einfo "Configuring to build with XEmacs support"
fi
econf $(use_enable nls) \
EMACS=$(usev emacs || usev xemacs || echo no) \
--with-lispdir="${lispdir}"
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
insinto /usr/share/gtypist
doins "${DISTDIR}"/colemak.typ
if use emacs; then
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
fi
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}