diff options
author | Julien Allanos <dju@gentoo.org> | 2006-02-07 19:09:40 +0000 |
---|---|---|
committer | Julien Allanos <dju@gentoo.org> | 2006-02-07 19:09:40 +0000 |
commit | a473dc036f3f5c8041aabdae9dc74a0c8d38338a (patch) | |
tree | 51da3a44cef974af96af11f6431c57ba61235b93 /www-apps | |
parent | Marked ppc-macos stable (bug #118349) (diff) | |
download | gentoo-2-a473dc036f3f5c8041aabdae9dc74a0c8d38338a.tar.gz gentoo-2-a473dc036f3f5c8041aabdae9dc74a0c8d38338a.tar.bz2 gentoo-2-a473dc036f3f5c8041aabdae9dc74a0c8d38338a.zip |
Check if subversion was built with USE python. Added contrib/ dir to docs, closes bug #121601.
(Portage version: 2.0.54)
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/trac/ChangeLog | 6 | ||||
-rw-r--r-- | www-apps/trac/trac-0.9.3.ebuild | 18 |
2 files changed, 19 insertions, 5 deletions
diff --git a/www-apps/trac/ChangeLog b/www-apps/trac/ChangeLog index 6c6105ea6f3b..d7845b4ce6b0 100644 --- a/www-apps/trac/ChangeLog +++ b/www-apps/trac/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-apps/trac # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.29 2006/01/12 22:44:53 dju Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.30 2006/02/07 19:09:40 dju Exp $ + + 07 Feb 2006; Julien Allanos <dju@gentoo.org> trac-0.9.3.ebuild: + Check if subversion was built with USE python. Added contrib/ dir + to docs, closes bug #121601. 12 Jan 2006; Julien Allanos <dju@gentoo.org> -files/0.8.1-postinst-en.txt, -trac-0.8.2.ebuild: diff --git a/www-apps/trac/trac-0.9.3.ebuild b/www-apps/trac/trac-0.9.3.ebuild index d90c4088e347..44a404a0cdef 100644 --- a/www-apps/trac/trac-0.9.3.ebuild +++ b/www-apps/trac/trac-0.9.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.9.3.ebuild,v 1.3 2006/01/11 14:29:05 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.9.3.ebuild,v 1.4 2006/02/07 19:09:40 dju Exp $ inherit distutils webapp @@ -20,7 +20,7 @@ WEBAPP_MANUAL_SLOT="yes" # we need to depend on virtual/httpd-fcgi to bring mod_fastcgi/lighttpd/whatever in when USE fastcgi # we need to depend on virtual/httpd-python to bring mod_python/whatever in when USE python (python # is rather confusing here, as dev-lang/python is a required dependency, but httpd-python isn't) -DEPEND="$DEPEND +DEPEND="${DEPEND} >=dev-lang/python-2.3 app-text/pytextile >=dev-python/docutils-0.3.3 @@ -35,14 +35,21 @@ pkg_setup () { if ! use postgres && ! use sqlite ; then eerror "You must select at least one database backend," eerror "using sqlite or postgres USE flags." - die "no database backend selected!" + die "no database backend selected" + fi + + if ! built_with_use dev-util/subversion python ; then + eerror "Your subversion has been built without python bindings," + eerror "please enable the 'python' useflag and recompile" + eerror "dev-util/subversion." + die "pkg_setup failed" fi webapp_pkg_setup } src_install () { - # project databases might go in here + # project environments might go in here keepdir /var/lib/trac webapp_src_preinst @@ -52,6 +59,9 @@ src_install () { rm ${D}/usr/share/doc/${P}/MANIFEST.in.gz rm ${D}/usr/share/doc/${P}/PKG-INFO.gz + docinto contrib + dodoc contrib/* + # if needed, install cgi/fcgi scripts for webapp-config local my_dir=${D}/usr/share/trac if use cgi ; then |