From: | "Dirkjan Ochtman (djc)" <djc@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-apps/trac: trac-1.0.ebuild ChangeLog |
Date: | Sun, 30 Sep 2012 11:43:34 |
Message-Id: | 20120930114324.067A321600@flycatcher.gentoo.org |
1 | djc 12/09/30 11:43:23 |
2 | |
3 | Modified: ChangeLog |
4 | Added: trac-1.0.ebuild |
5 | Log: |
6 | Version bump trac to 1.0 (bug 436026). |
7 | |
8 | (Portage version: 2.1.11.23/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.128 www-apps/trac/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/ChangeLog?rev=1.128&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/ChangeLog?rev=1.128&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/ChangeLog?r1=1.127&r2=1.128 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v |
20 | retrieving revision 1.127 |
21 | retrieving revision 1.128 |
22 | diff -u -r1.127 -r1.128 |
23 | --- ChangeLog 2 Jul 2012 21:46:07 -0000 1.127 |
24 | +++ ChangeLog 30 Sep 2012 11:43:23 -0000 1.128 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for www-apps/trac |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.127 2012/07/02 21:46:07 johu Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.128 2012/09/30 11:43:23 djc Exp $ |
30 | + |
31 | +*trac-1.0 (30 Sep 2012) |
32 | + |
33 | + 30 Sep 2012; Dirkjan Ochtman <djc@g.o> +trac-1.0.ebuild: |
34 | + Version bump to 1.0 (for bug 436026). |
35 | |
36 | 02 Jul 2012; Johannes Huber <johu@g.o> trac-0.12.3.ebuild: |
37 | Stable for x86, wrt bug #422241 |
38 | |
39 | |
40 | |
41 | 1.1 www-apps/trac/trac-1.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/trac-1.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/trac-1.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: trac-1.0.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-1.0.ebuild,v 1.1 2012/09/30 11:43:23 djc Exp $ |
51 | |
52 | EAPI="4" |
53 | PYTHON_DEPEND="2" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | RESTRICT_PYTHON_ABIS="3.* *-jython" |
56 | |
57 | inherit distutils user webapp |
58 | |
59 | MY_PV=${PV/_beta/b} |
60 | MY_P=Trac-${MY_PV} |
61 | |
62 | DESCRIPTION="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system." |
63 | HOMEPAGE="http://trac.edgewall.com/ http://pypi.python.org/pypi/Trac" |
64 | SRC_URI="http://ftp.edgewall.com/pub/trac/${MY_P}.tar.gz" |
65 | |
66 | LICENSE="BSD" |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
69 | IUSE="cgi fastcgi i18n mysql postgres +sqlite subversion" |
70 | REQUIRED_USE="|| ( mysql postgres sqlite )" |
71 | |
72 | RDEPEND=" |
73 | dev-python/setuptools |
74 | dev-python/docutils |
75 | dev-python/genshi |
76 | dev-python/pygments |
77 | dev-python/pytz |
78 | i18n? ( >=dev-python/Babel-0.9.5 ) |
79 | cgi? ( virtual/httpd-cgi ) |
80 | fastcgi? ( virtual/httpd-fastcgi ) |
81 | mysql? ( dev-python/mysql-python ) |
82 | postgres? ( >=dev-python/psycopg-2 ) |
83 | sqlite? ( |
84 | >=dev-db/sqlite-3.3.4 |
85 | || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] >=dev-python/pysqlite-2.3.2 ) |
86 | ) |
87 | subversion? ( dev-vcs/subversion[python] ) |
88 | " |
89 | DEPEND="${RDEPEND}" |
90 | |
91 | S="${WORKDIR}/${MY_P}" |
92 | |
93 | WEBAPP_MANUAL_SLOT="yes" |
94 | |
95 | pkg_setup() { |
96 | python_pkg_setup |
97 | webapp_pkg_setup |
98 | |
99 | enewgroup tracd |
100 | enewuser tracd -1 -1 -1 tracd |
101 | } |
102 | |
103 | src_test() { |
104 | testing() { |
105 | PYTHONPATH=. "$(PYTHON)" trac/test.py |
106 | } |
107 | python_execute_function testing |
108 | |
109 | if use i18n; then |
110 | make check |
111 | fi |
112 | } |
113 | |
114 | # the default src_compile just calls setup.py build |
115 | # currently, this switches i18n catalog compilation based on presence of Babel |
116 | |
117 | src_install() { |
118 | webapp_src_preinst |
119 | distutils_src_install |
120 | |
121 | # project environments might go in here |
122 | keepdir /var/lib/trac |
123 | |
124 | # Use this as the egg-cache for tracd |
125 | dodir /var/lib/trac/egg-cache |
126 | keepdir /var/lib/trac/egg-cache |
127 | fowners tracd:tracd /var/lib/trac/egg-cache |
128 | |
129 | # documentation |
130 | dodoc -r contrib |
131 | |
132 | # tracd init script |
133 | newconfd "${FILESDIR}"/tracd.confd tracd |
134 | newinitd "${FILESDIR}"/tracd.initd tracd |
135 | |
136 | if use cgi; then |
137 | cp cgi-bin/trac.cgi "${ED}${MY_CGIBINDIR}" || die |
138 | fi |
139 | if use fastcgi; then |
140 | cp cgi-bin/trac.fcgi "${ED}${MY_CGIBINDIR}" || die |
141 | fi |
142 | |
143 | for lang in en; do |
144 | webapp_postinst_txt ${lang} "${FILESDIR}"/postinst-${lang}.txt |
145 | webapp_postupgrade_txt ${lang} "${FILESDIR}"/postupgrade-${lang}.txt |
146 | done |
147 | |
148 | webapp_src_install |
149 | } |
150 | |
151 | pkg_postinst() { |
152 | distutils_pkg_postinst |
153 | webapp_pkg_postinst |
154 | } |