diff options
author | 2012-06-05 00:52:17 -0500 | |
---|---|---|
committer | 2012-06-05 00:52:17 -0500 | |
commit | e7ee4609e41fe3fea4ec3f293b8e35780f9a8733 (patch) | |
tree | 05616e9925409fe0571c4fb9aa417c3cd10346f5 | |
parent | Adding missing profiles (diff) | |
download | dMaggot-e7ee4609e41fe3fea4ec3f293b8e35780f9a8733.tar.gz dMaggot-e7ee4609e41fe3fea4ec3f293b8e35780f9a8733.tar.bz2 dMaggot-e7ee4609e41fe3fea4ec3f293b8e35780f9a8733.zip |
Adding txt2tags to the overlay to have Python support
-rw-r--r-- | app-text/txt2tags/ChangeLog | 191 | ||||
-rw-r--r-- | app-text/txt2tags/Manifest | 6 | ||||
-rw-r--r-- | app-text/txt2tags/files/51txt2tags-gentoo.el | 6 | ||||
-rw-r--r-- | app-text/txt2tags/metadata.xml | 8 | ||||
-rw-r--r-- | app-text/txt2tags/txt2tags-2.6-r1.ebuild | 102 |
5 files changed, 313 insertions, 0 deletions
diff --git a/app-text/txt2tags/ChangeLog b/app-text/txt2tags/ChangeLog new file mode 100644 index 0000000..b150dd7 --- /dev/null +++ b/app-text/txt2tags/ChangeLog @@ -0,0 +1,191 @@ +# ChangeLog for app-text/txt2tags +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/txt2tags/ChangeLog,v 1.48 2012/03/22 21:49:41 floppym Exp $ + + 05 Jun 2012; David E. Narváez <david.narvaez@computer.org> + -txt2tags-2.6-r1.ebuild: + Reviewed Python status including python module, but still not + possible to use it n Python 3 + + 22 Mar 2012; Mike Gilbert <floppym@gentoo.org> -txt2tags-2.3-r1.ebuild, + -txt2tags-2.5.ebuild, txt2tags-2.6.ebuild: + Set PYTHON_DEPEND=2, bug 312125. Remove old. + + 06 Mar 2012; Brent Baude <ranger@gentoo.org> txt2tags-2.6.ebuild: + Marking txt2tags-2.6 ppc for bug 357995 + + 05 Feb 2012; Raúl Porcel <armin76@gentoo.org> txt2tags-2.3-r1.ebuild, + txt2tags-2.5.ebuild, txt2tags-2.6.ebuild: + Drop sparc keywords + + 06 Jan 2012; Christoph Junghans <ottxor@gentoo.org> txt2tags-2.6.ebuild: + keyword ~x86-macos + + 12 Dec 2011; Gilles Dartiguelongue <eva@gentoo.org> txt2tags-2.6.ebuild: + Fix run when python3 is selected as the main python interpreter, refs: + #312125. + + 17 Nov 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> txt2tags-2.6.ebuild: + x86 stable wrt bug #357995 + + 16 Nov 2011; Tony Vroon <chainsaw@gentoo.org> txt2tags-2.6.ebuild: + Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian + "idella4" Delaney in bug #357995. + + 05 Apr 2011; Ulrich Mueller <ulm@gentoo.org> txt2tags-2.3-r1.ebuild, + txt2tags-2.5.ebuild, txt2tags-2.6.ebuild: + Depend on dev-lang/python because virtual/python will go away, bug 358849. + +*txt2tags-2.6 (12 Nov 2010) + + 12 Nov 2010; Rafael G. Martins <rafaelmartins@gentoo.org> + +txt2tags-2.6.ebuild: + Version bump. + + 25 Feb 2010; Justin Lecher <jlec@gentoo.org> + txt2tags-2.5.ebuild: + Add support for vim-syntax, #278317. Thanks Christoph Junghans for + providing the patch + + 02 Jan 2010; Christian Faulhammer <fauli@gentoo.org> txt2tags-2.5.ebuild: + Transfer Prefix keywords + + 15 Aug 2009; Petteri Räty <betelgeuse@gentoo.org> txt2tags-2.5.ebuild: + EAPI 2 to get rid of built_with_use. + + 15 Aug 2009; Petteri Räty <betelgeuse@gentoo.org> -txt2tags-2.4.ebuild: + Remove old version. + + 27 Jul 2009; Alexis Ballier <aballier@gentoo.org> txt2tags-2.5.ebuild: + keyword ~ppc64, working fine on a PowerMac 970 + +*txt2tags-2.5 (15 Feb 2009) + + 15 Feb 2009; Patrick Lauer <patrick@gentoo.org> +txt2tags-2.5.ebuild: + Bump to 2.5, closes #234844 + + 01 Oct 2007; Christian Faulhammer <opfer@gentoo.org> + -files/50txt2tags-gentoo.el, -txt2tags-2.1.ebuild, -txt2tags-2.3.ebuild: + clean up + + 28 Sep 2007; Christoph Mende <angelos@gentoo.org> txt2tags-2.3-r1.ebuild: + Stable on amd64 wrt bug #182295 + + 22 Sep 2007; nixnut <nixnut@gentoo.org> txt2tags-2.3-r1.ebuild: + Stable on ppc wrt bug 182295 + + 21 Sep 2007; Ferris McCormick <fmccor@gentoo.org> txt2tags-2.3-r1.ebuild: + Sparc stable --- Bug #182295 --- nice. + + 21 Sep 2007; Christian Faulhammer <opfer@gentoo.org> + txt2tags-2.3-r1.ebuild: + stable x86, bug 182295 + +*txt2tags-2.4 (21 Sep 2007) + + 21 Sep 2007; Christian Faulhammer <opfer@gentoo.org> +txt2tags-2.4.ebuild: + version bump, fixing bug 181035 by Pablo Nehab-Hess <natunobilis@gentoobr.org> + + 20 Aug 2007; Fabian Groffen <grobian@gentoo.org> txt2tags-2.3.ebuild, + txt2tags-2.3-r1.ebuild: + Dropped ppc-macos keyword, see you in prefix + +*txt2tags-2.3-r1 (20 Aug 2007) + + 20 Aug 2007; Ulrich Mueller <ulm@gentoo.org> +files/51txt2tags-gentoo.el, + +txt2tags-2.3-r1.ebuild: + Update Emacs support, bug #184261. + + 12 Mar 2007; Leonardo Boshell <leonardop@gentoo.org> metadata.xml, + -txt2tags-1.7.ebuild, -txt2tags-2.2.ebuild: + Replacing text-markup herd with the new sgml herd. Pruning old ebuilds. + + 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: + Transition to Manifest2. + + 28 Jan 2007; Marius Mauch <genone@gentoo.org> txt2tags-2.1.ebuild, + txt2tags-2.2.ebuild: + Replacing einfo with elog + + 28 Nov 2006; Christian Faulhammer <opfer@gentoo.org> txt2tags-1.7.ebuild, + txt2tags-2.1.ebuild, txt2tags-2.2.ebuild, txt2tags-2.3.ebuild: + moved tcltk USE flag over to separate tk and tcl flags, see bug #17808 + + 27 Apr 2006; Marien Zwart <marienz@gentoo.org> files/digest-txt2tags-1.7, + files/digest-txt2tags-2.1, files/digest-txt2tags-2.2, Manifest: + Fixing SHA256 digest, pass four + +*txt2tags-2.3 (14 Apr 2006) + + 14 Apr 2006; Martin Ehmsen <ehmsen@gentoo.org> +txt2tags-2.3.ebuild: + Version bump to 2.3, thanks to Pablo Nehab-Hess <natunobilis@gentoobr.org>, + bug #102874. + + 26 Nov 2005; Fabian Groffen <grobian@gentoo.org> txt2tags-2.2.ebuild: + Marked ~ppc-macos (bug #109432) + + 24 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> txt2tags-2.1.ebuild: + Stable on ppc. + + 21 Apr 2005; Simon Stelling <blubb@gentoo.org> txt2tags-2.1.ebuild: + stable on amd64 + + 07 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org> txt2tags-2.1.ebuild: + Stable on sparc + +*txt2tags-2.2 (06 Mar 2005) + + 06 Mar 2005; Mamoru KOMACHI <usata@gentoo.org> -txt2tags-2.0.ebuild, + txt2tags-2.1.ebuild, +txt2tags-2.2.ebuild: + Version bumped. This closes bug #84086. + + 03 Dec 2004; Mamoru KOMACHI <usata@gentoo.org> txt2tags-2.1.ebuild: + Updated documentations; thanks to Bardur Arantsson <gentoo@@scientician.net>. + +*txt2tags-2.1 (03 Dec 2004) + + 03 Dec 2004; Mamoru KOMACHI <usata@gentoo.org> -txt2tags-1.6.ebuild, + +txt2tags-2.1.ebuild: + Version bumped. This closes bug #72789. + + 24 Sep 2004; <blubb@gentoo.org> txt2tags-2.0.ebuild: + added ~amd64 + +*txt2tags-2.0 (18 Aug 2004) + + 18 Aug 2004; Mamoru KOMACHI <usata@gentoo.org> txt2tags-1.7.ebuild, + +txt2tags-2.0.ebuild: + Version bumped. Ebuild provided by Aaron Walker + <ka0ttic@butsugenjitemple.org>, closing bug #58386. + + 02 Jun 2004; Aron Griffis <agriffis@gentoo.org> txt2tags-1.6.ebuild: + Fix use invocation + + 07 May 2004; Ciaran McCreesh <ciaranm@gentoo.org> txt2tags-1.6.ebuild, + txt2tags-1.7.ebuild: + Stable on sparc, #50392 + + 03 May 2004; David Holm <dholm@gentoo.org> txt2tags-1.7.ebuild: + Added to ~ppc. + +*txt2tags-1.7 (02 May 2004) + + 02 May 2004; Mamoru KOMACHI <usata@gentoo.org> txt2tags-1.4.ebuild, + txt2tags-1.7.ebuild, files/50txt2tags-gentoo.el: + Version bumped. Thanks to Bardur Arantsson <gentoo@scientician.net> + for emacs USE flag support. Closing bug #49685 + + 14 Jan 2004; Mike Gardiner <obz@gentoo.org> txt2tags-1.6.ebuild: + Marked stable on x86 + +*txt2tags-1.6 (19 Sep 2003) + + 19 Sep 2003; Mike Gardiner <obz@gentoo.org> metadata.xml, txt2tags-1.6.ebuild: + New version, added support for tcltk. Added metadata.xml, placed under the + text-markup herd. + +*txt2tags-1.4 (28 Apr 2003) + + 28 Apr 2003; Alastair Tse <liquidx@gentoo.org> txt2tags-1.4.ebuild: + Initial ebuild submitted by Bardur Arantsson (#18687) + diff --git a/app-text/txt2tags/Manifest b/app-text/txt2tags/Manifest new file mode 100644 index 0000000..7c2170c --- /dev/null +++ b/app-text/txt2tags/Manifest @@ -0,0 +1,6 @@ +AUX 51txt2tags-gentoo.el 214 RMD160 b162a69905e85070e3742a88df7fbe3e17e6e942 SHA1 9357bdddf4dd14d81530bf32bdefe9f3b29e13a2 SHA256 ebefc58e46587b96af6900100ed655b28a346841fc6f23ffdab2b2a35e390969 +DIST txt2tags-2.6.py 199178 RMD160 500b0aa5b03ec318218528bb8180127a2b8d4054 SHA1 f8e1313d6066f4d5a4c90a094897e235ac240f8c SHA256 bbfa2187f793be580948e58794f25f8b5bd1f18fdcb5fc011899fa7782591ac8 +DIST txt2tags-2.6.tgz 544724 RMD160 2b8b3fdc29b898a46c011801a92b6872cf17d70e SHA1 91bc47e02b9ec7f2fa39c8f7ff5c260164a74718 SHA256 601467d7860f3cfb3d48050707c6277ff3ceb22fa7be4f5bd968de540ac5b05c +EBUILD txt2tags-2.6-r1.ebuild 2457 RMD160 012578a08e22c8dd429d7ae0a37ee5821d955d01 SHA1 7d72c47b5e9b60be99c0375820c9aaf4951694f6 SHA256 b36b6d42d5c8d7fc925cbe78257c4e7576481d68978b1e7209debda8c12a5f45 +MISC ChangeLog 6702 RMD160 d12ff788295554fa71a79e63a5e1a93019f53bcd SHA1 75bca2198e936b48f38524fa9de4954606b6af8d SHA256 4e51a482219ff6e045ea7ca98bd0bbd18a65801f64a8f1ed89059e3533967af3 +MISC metadata.xml 236 RMD160 a055d83d427de4077bf3ac0adbe0203c3074fc6b SHA1 360d944e053645f929cbbb363f78c5171b731e7c SHA256 59505d40c212fff57e0d6fd0772805468dc9bef3aa27953bc182a4a047bd64ba diff --git a/app-text/txt2tags/files/51txt2tags-gentoo.el b/app-text/txt2tags/files/51txt2tags-gentoo.el new file mode 100644 index 0000000..0b98bd6 --- /dev/null +++ b/app-text/txt2tags/files/51txt2tags-gentoo.el @@ -0,0 +1,6 @@ + +;;; 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/metadata.xml b/app-text/txt2tags/metadata.xml new file mode 100644 index 0000000..7bcad8b --- /dev/null +++ b/app-text/txt2tags/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sgml</herd> + <upstream> + <remote-id type="google-code">txt2tags</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-text/txt2tags/txt2tags-2.6-r1.ebuild b/app-text/txt2tags/txt2tags-2.6-r1.ebuild new file mode 100644 index 0000000..af90869 --- /dev/null +++ b/app-text/txt2tags/txt2tags-2.6-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/txt2tags/txt2tags-2.6.ebuild,v 1.9 2012/03/22 21:49:41 floppym Exp $ + +EAPI="2" +PYTHON_USE_WITH="tk" +PYTHON_USE_WITH_OPT="tk" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit eutils elisp-common python + +DESCRIPTION="A tool for generating marked up documents (HTML, SGML, ...) from a plain text file with markup" +HOMEPAGE="http://txt2tags.org/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tgz +python? ( http://txt2tags.googlecode.com/svn/trunk/old/txt2tags-${PV}.py )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" +IUSE="emacs tk vim-syntax python" + +DEPEND="dev-lang/python + tk? ( dev-lang/tk ) + vim-syntax? ( + || ( + app-editors/vim + app-editors/gvim + ) + ) + emacs? ( virtual/emacs )" + +RDEPEND="${DEPEND}" + +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 || die + + dodoc README ChangeLog* || die + insinto /usr/share/doc/${PF} + doins doc/*.{pdf,t2t} || die + # samples go into "samples" doc directory + docinto samples + dodoc samples/sample.* || die + docinto samples/css + dodoc samples/css/* || die + docinto samples/img + dodoc samples/img/* || die + docinto samples/module + dodoc samples/module/* || die + # extras go into "extras" doc directory + insinto /usr/share/doc/${PF}/extras + doins -r extras/* || die + newman doc/manpage.man txt2tags.1 || die + + # 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 || die + + echo 'au BufNewFile,BufRead *.t2t set ft=txt2tags' > "${T}/${PN}.vim" + insinto /usr/share/vim/vimfiles/ftdetect + doins "${T}/${PN}.vim" || die + fi + + python_convert_shebangs -r 2 "${D}" + + install_txt2tags_module() { + if use python; then + insinto "$(python_get_sitedir)" + newins "${DISTDIR}/txt2tags-${PV}.py" txt2tags.py + fi + } + + python_execute_function install_txt2tags_module +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |