1 |
opfer 07/09/21 17:57:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: txt2tags-2.4.ebuild |
5 |
Log: |
6 |
version bump, fixing bug 181035 by Pablo Nehab-Hess <natunobilis@××××××××.org> |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.27 app-text/txt2tags/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/txt2tags/ChangeLog?rev=1.27&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/txt2tags/ChangeLog?rev=1.27&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/txt2tags/ChangeLog?r1=1.26&r2=1.27 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/txt2tags/ChangeLog,v |
19 |
retrieving revision 1.26 |
20 |
retrieving revision 1.27 |
21 |
diff -u -r1.26 -r1.27 |
22 |
--- ChangeLog 20 Aug 2007 16:15:26 -0000 1.26 |
23 |
+++ ChangeLog 21 Sep 2007 17:57:13 -0000 1.27 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-text/txt2tags |
26 |
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/txt2tags/ChangeLog,v 1.26 2007/08/20 16:15:26 grobian Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/txt2tags/ChangeLog,v 1.27 2007/09/21 17:57:13 opfer Exp $ |
29 |
+ |
30 |
+*txt2tags-2.4 (21 Sep 2007) |
31 |
+ |
32 |
+ 21 Sep 2007; Christian Faulhammer <opfer@g.o> +txt2tags-2.4.ebuild: |
33 |
+ version bump, fixing bug 181035 by Pablo Nehab-Hess <natunobilis@××××××××.org> |
34 |
|
35 |
20 Aug 2007; Fabian Groffen <grobian@g.o> txt2tags-2.3.ebuild, |
36 |
txt2tags-2.3-r1.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-text/txt2tags/txt2tags-2.4.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/txt2tags/txt2tags-2.4.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/txt2tags/txt2tags-2.4.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: txt2tags-2.4.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/app-text/txt2tags/txt2tags-2.4.ebuild,v 1.1 2007/09/21 17:57:13 opfer Exp $ |
50 |
|
51 |
inherit eutils elisp-common |
52 |
|
53 |
DESCRIPTION="A tool for generating marked up documents (HTML, SGML, ...) from a plain text file with markup" |
54 |
HOMEPAGE="http://txt2tags.sourceforge.net/" |
55 |
SRC_URI="mirror://sourceforge/txt2tags/${P}.tgz" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
60 |
IUSE="emacs tk" |
61 |
|
62 |
DEPEND="virtual/python |
63 |
tk? ( dev-lang/tk ) |
64 |
emacs? ( virtual/emacs )" |
65 |
|
66 |
SITEFILE="51${PN}-gentoo.el" |
67 |
|
68 |
pkg_setup() { |
69 |
# need to test if the tk support in python is working |
70 |
if use tk; then |
71 |
if ! built_with_use dev-lang/python tk; then |
72 |
eerror "You have requested tk, but your build of Python" |
73 |
eerror "doesn't support import _tkinter. You may need to" |
74 |
eerror "remerge dev-lang/python, or build ${P}" |
75 |
eerror "with USE=\"-tk\"" |
76 |
die "rebuild python with USE=tk" |
77 |
fi |
78 |
fi |
79 |
} |
80 |
|
81 |
src_compile() { |
82 |
if use emacs; then |
83 |
elisp-compile extras/txt2tags-mode.el || die "elisp-compile failed" |
84 |
fi |
85 |
} |
86 |
|
87 |
src_install() { |
88 |
dobin txt2tags |
89 |
|
90 |
dodoc README TODO ChangeLog* |
91 |
insinto /usr/share/doc/${PF} |
92 |
doins doc/*.{pdf,t2t} |
93 |
# samples go into "samples" doc directory |
94 |
docinto samples |
95 |
dodoc samples/sample.* |
96 |
docinto samples/css |
97 |
dodoc samples/css/* |
98 |
docinto samples/img |
99 |
dodoc samples/img/* |
100 |
docinto samples/module |
101 |
dodoc samples/module/* |
102 |
# extras go into "extras" doc directory |
103 |
docinto extras |
104 |
dodoc extras/* |
105 |
newman doc/manpage.man txt2tags.1 |
106 |
|
107 |
# make .po files |
108 |
for pofile in "${S}"/po/*.po; do |
109 |
msgfmt -o ${pofile%%.po}.mo ${pofile} |
110 |
done |
111 |
domo po/*.mo |
112 |
|
113 |
# emacs support |
114 |
if use emacs; then |
115 |
elisp-install ${PN} extras/txt2tags-mode.{el,elc} |
116 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
117 |
fi |
118 |
} |
119 |
|
120 |
pkg_postinst() { |
121 |
use emacs && elisp-site-regen |
122 |
} |
123 |
|
124 |
pkg_postrm() { |
125 |
use emacs && elisp-site-regen |
126 |
} |
127 |
|
128 |
|
129 |
|
130 |
-- |
131 |
gentoo-commits@g.o mailing list |