summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-19 09:53:44 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-19 10:04:42 +0200
commit69c80220fd544023b03418faab5ed23149496613 (patch)
tree55f8699f98b6b75d8ec4e28c1953fb223ea0c70c /app-text/txt2tags
parentapp-text/stardict: Eradicate python2 (diff)
downloadgentoo-69c80220fd544023b03418faab5ed23149496613.tar.gz
gentoo-69c80220fd544023b03418faab5ed23149496613.tar.bz2
gentoo-69c80220fd544023b03418faab5ed23149496613.zip
app-text/txt2tags: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-text/txt2tags')
-rw-r--r--app-text/txt2tags/Manifest1
-rw-r--r--app-text/txt2tags/files/51txt2tags-gentoo.el6
-rw-r--r--app-text/txt2tags/txt2tags-2.6-r1.ebuild80
3 files changed, 0 insertions, 87 deletions
diff --git a/app-text/txt2tags/Manifest b/app-text/txt2tags/Manifest
index c8f8198a601..5f5f5cd56c5 100644
--- a/app-text/txt2tags/Manifest
+++ b/app-text/txt2tags/Manifest
@@ -1,2 +1 @@
-DIST txt2tags-2.6.tgz 544724 BLAKE2B 9c8c37c6e003c7252276b32bacd373fe9143fdd93fdbc2bf0c23a83e2123c2a9636be5f106d248f2f0ecccd71eb9bc68cf8343557f10a7e6f8deacd8ade975ee SHA512 716e975f45dd304b6fd7d4e5aa8bd12e57c54120d892ae9abe11f1f3b5aeb747d8df0a9ffd34b8b5e6c8d422aac8830477f9a332c9e94040e1aa9946ebfe051e
DIST txt2tags-3.3.tar.gz 261417 BLAKE2B 6070c23faafc9283e48efdab165c9a0050703d5d04a5ce557afc693161af5e1105435ddb9c991c0e8ef5dbd1e6d25f77c915e8be3f349b790636c904df7553f3 SHA512 a52de3f5226d85af006304a9063b5dd01df2627a45670a91b954f758cb920648f86699acab5cd7822c0183e93eed110ddc7dd8d156b0eccbe1541e7fbc2bdb22
diff --git a/app-text/txt2tags/files/51txt2tags-gentoo.el b/app-text/txt2tags/files/51txt2tags-gentoo.el
deleted file mode 100644
index 0b98bd66b8b..00000000000
--- a/app-text/txt2tags/files/51txt2tags-gentoo.el
+++ /dev/null
@@ -1,6 +0,0 @@
-
-;;; txt2tags site-lisp configuration
-
-(add-to-list 'load-path "@SITELISP@")
-(autoload 't2t-mode "txt2tags-mode" "Major mode for editing Txt2Tags files" t)
-(add-to-list 'auto-mode-alist '("\\.t2t\\'" . t2t-mode))
diff --git a/app-text/txt2tags/txt2tags-2.6-r1.ebuild b/app-text/txt2tags/txt2tags-2.6-r1.ebuild
deleted file mode 100644
index 142ed1befe0..00000000000
--- a/app-text/txt2tags/txt2tags-2.6-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="tk?"
-
-inherit eutils elisp-common python-single-r1
-
-DESCRIPTION="Generate marked up documents (HTML, etc.)from a plain text file with markup"
-HOMEPAGE="https://txt2tags.org"
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
-IUSE="emacs tk vim-syntax"
-
-DEPEND="${PYTHON_DEPS}
- tk? ( dev-lang/tk )
- vim-syntax? (
- || (
- app-editors/vim
- app-editors/gvim
- )
- )
- emacs? ( >=app-editors/emacs-23.1:* )"
-
-RDEPEND="${DEPEND}"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-SITEFILE="51${PN}-gentoo.el"
-
-src_compile() {
- if use emacs; then
- elisp-compile extras/txt2tags-mode.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- dobin txt2tags
-
- dodoc README ChangeLog*
- dodoc doc/*.{pdf,t2t}
- dodoc -r samples extras
- newman doc/manpage.man txt2tags.1
-
- # make .po files
- for pofile in "${S}"/po/*.po; do
- msgfmt -o ${pofile%%.po}.mo ${pofile}
- done
- domo po/*.mo
-
- # emacs support
- if use emacs; then
- elisp-install ${PN} extras/txt2tags-mode.{el,elc}
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax/
- doins extras/txt2tags.vim
-
- echo 'au BufNewFile,BufRead *.t2t set ft=txt2tags' > "${T}/${PN}.vim"
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${T}/${PN}.vim"
- fi
-
- python_fix_shebang "${D}"
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}