From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/elvis/
Date: Mon, 19 Apr 2021 22:41:57 +0000 (UTC) [thread overview]
Message-ID: <1618872076.7b1c43db1f9a77334f4e87b96d8346da905a6380.sam@gentoo> (raw)
commit: 7b1c43db1f9a77334f4e87b96d8346da905a6380
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 21:56:06 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 22:41:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b1c43db
app-editors/elvis: drop 2.2.0-r6, 2.2.0-r7
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-editors/elvis/elvis-2.2.0-r6.ebuild | 96 ------------------------------
app-editors/elvis/elvis-2.2.0-r7.ebuild | 101 --------------------------------
2 files changed, 197 deletions(-)
diff --git a/app-editors/elvis/elvis-2.2.0-r6.ebuild b/app-editors/elvis/elvis-2.2.0-r6.ebuild
deleted file mode 100644
index 9fc2dbe91d1..00000000000
--- a/app-editors/elvis/elvis-2.2.0-r6.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit epatch versionator toolchain-funcs
-
-MY_PV=$(replace_version_separator 2 '_')
-
-DESCRIPTION="A vi/ex clone"
-HOMEPAGE="ftp://ftp.cs.pdx.edu/pub/elvis/"
-SRC_URI="ftp://ftp.cs.pdx.edu/pub/elvis/${PN}-${MY_PV}.tar.gz"
-
-LICENSE="Artistic"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86 ~ppc-macos ~sparc-solaris"
-IUSE="X"
-
-RDEPEND=">=sys-libs/ncurses-5.7-r7:0=
- X? (
- >=x11-libs/libX11-1.0.0
- >=x11-libs/libXt-1.0.0
- >=x11-libs/libXpm-3.5.4.2
- >=x11-libs/libXft-2.1.8.2 )
- app-eselect/eselect-vi"
-DEPEND="${RDEPEND}
- X? ( x11-base/xorg-proto )
- virtual/pkgconfig"
-
-S=${WORKDIR}/${PN}-${MY_PV}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/ft2.3-symbol-collision-fix.patch \
- "${FILESDIR}"/${P}-glibc-2.10.patch \
- "${FILESDIR}"/${P}-interix.patch
-}
-
-src_configure() {
- ./configure \
- --libs="$($(tc-getPKG_CONFIG) --libs ncurses)" \
- --prefix="${EPREFIX}"/usr \
- --bindir="${EPREFIX}"/usr/bin \
- --datadir="${EPREFIX}"/usr/share/elvis \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
- $(use_with X x) \
- || die
-
- # Some Makefile fixups (must happen after configure)
- # Use our CFLAGS
- sed -i -e "s:gcc -O2:$(tc-getCC) ${CFLAGS}:" Makefile || die "sed 1 failed"
-
- # We'll install the man-pages ourselves
- sed -i -e '/^ sh instman.sh/d' Makefile || die "sed 2 failed"
-
- # Don't try to write to /etc
- sed -i -e 's,/etc/elvis,${ED}/etc/elvis,g' Makefile || die "sed 3 failed"
-
- # Use LDFLAGS
- sed -i -e "s#\$(CC) \$(CFLAGS)#\$(CC) \$(CFLAGS) ${LDFLAGS}#" Makefile || \
- die "sed 4 failed"
-}
-
-src_install() {
- dodir /usr/bin
- dodir /usr/share/man/man1
- dodir /usr/share/elvis
- dodir /usr/share/doc/${PF}
- dodir /etc
- emake install \
- PREFIX="${ED}"/usr \
- BINDIR="${ED}"/usr/bin \
- DATADIR="${ED}"/usr/share/elvis \
- DOCDIR="${ED}"/usr/share/doc/${PF}
-
- # Install the man-pages
- mv doc/elvis.man doc/elvis.1
- mv doc/elvtags.man doc/elvtags.1
- mv doc/ref.man doc/ref.1
- doman doc/*.1
-
- # Fixup some READMEs
- sed -i -e "s,${ED},,g" "${ED}"/etc/elvis/README \
- || die 'sed /etc/elvis/README failed'
- sed -i -e "s,${ED},,g" "${ED}"/usr/share/elvis/README \
- || die 'sed /usr/share/elvis/README failed'
-}
-
-pkg_postinst() {
- einfo "Setting /usr/bin/vi symlink"
- eselect vi set "${PN}"
-}
-
-pkg_postrm() {
- einfo "Updating /usr/bin/vi symlink"
- eselect vi update
-}
diff --git a/app-editors/elvis/elvis-2.2.0-r7.ebuild b/app-editors/elvis/elvis-2.2.0-r7.ebuild
deleted file mode 100644
index 5df218c1ee9..00000000000
--- a/app-editors/elvis/elvis-2.2.0-r7.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator toolchain-funcs
-
-MY_PV=$(replace_version_separator 2 '_')
-
-DESCRIPTION="A vi/ex clone"
-HOMEPAGE="http://elvis.the-little-red-haired-girl.org"
-SRC_URI="ftp://ftp.cs.pdx.edu/pub/elvis/${PN}-${MY_PV}.tar.gz"
-
-LICENSE="Artistic"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~sparc-solaris"
-IUSE="X"
-
-RDEPEND="
- sys-libs/ncurses:0=
- app-eselect/eselect-vi
- X? (
- >=x11-libs/libX11-1.0.0
- >=x11-libs/libXt-1.0.0
- >=x11-libs/libXpm-3.5.4.2
- >=x11-libs/libXft-2.1.8.2
- )"
-
-DEPEND="
- ${RDEPEND}
- X? ( x11-base/xorg-proto )
- virtual/pkgconfig"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-PATCHES=(
- "${FILESDIR}"/ft2.3-symbol-collision-fix.patch
- "${FILESDIR}"/${P}-glibc-2.10.patch
- "${FILESDIR}"/${P}-interix.patch
-)
-
-src_configure() {
- ./configure \
- --libs="$($(tc-getPKG_CONFIG) --libs ncurses)" \
- --prefix="${EPREFIX}"/usr \
- --bindir="${EPREFIX}"/usr/bin \
- --datadir="${EPREFIX}"/usr/share/elvis \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
- $(use_with X x) \
- || die
-
- # Some Makefile fixups (must happen after configure)
- # Use our CFLAGS
- sed -i -e "s:gcc -O2:$(tc-getCC) ${CFLAGS}:" Makefile || die "sed 1 failed"
-
- # We'll install the man-pages ourselves
- sed -i -e '/^ sh instman.sh/d' Makefile || die "sed 2 failed"
-
- # Don't try to write to /etc
- sed -i -e 's,/etc/elvis,${ED}/etc/elvis,g' Makefile || die "sed 3 failed"
-
- # Use LDFLAGS
- sed -i -e "s#\$(CC) \$(CFLAGS)#\$(CC) \$(CFLAGS) ${LDFLAGS}#" Makefile || \
- die "sed 4 failed"
-}
-
-src_install() {
- dodir /usr/bin
- dodir /usr/share/man/man1
- dodir /usr/share/elvis
- dodir /usr/share/doc/${PF}
- dodir /etc
-
- emake install \
- PREFIX="${ED}"/usr \
- BINDIR="${ED}"/usr/bin \
- DATADIR="${ED}"/usr/share/elvis \
- DOCDIR="${ED}"/usr/share/doc/${PF}
-
- # Install the man-pages
- mv doc/elvis.man doc/elvis.1 || die
- mv doc/elvtags.man doc/elvtags.1 || die
- mv doc/ref.man doc/ref.1 || die
- doman doc/*.1
-
- # Fixup some READMEs
- sed -i -e "s,${ED},,g" "${ED}"/etc/elvis/README \
- || die 'sed /etc/elvis/README failed'
- sed -i -e "s,${ED},,g" "${ED}"/usr/share/elvis/README \
- || die 'sed /usr/share/elvis/README failed'
-}
-
-pkg_postinst() {
- einfo "Setting /usr/bin/vi symlink"
- eselect vi set "${PN}"
-}
-
-pkg_postrm() {
- einfo "Updating /usr/bin/vi symlink"
- eselect vi update
-}
next reply other threads:[~2021-04-19 22:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-19 22:41 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-19 22:41 [gentoo-commits] repo/gentoo:master commit in: app-editors/elvis/ Sam James
2021-01-06 13:03 Fabian Groffen
2020-12-27 13:40 Fabian Groffen
2020-06-21 14:58 Patrice Clement
2019-12-13 16:35 Patrice Clement
2018-04-27 1:59 Matt Turner
2018-04-27 1:14 Matt Turner
2017-12-10 14:16 David Seifert
2017-08-02 21:27 Patrice Clement
2017-01-29 14:38 Fabian Groffen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1618872076.7b1c43db1f9a77334f4e87b96d8346da905a6380.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox