public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-apps/viewvc: viewvc-1.0.4.ebuild ChangeLog metadata.xml viewvc-1.0.4-r1.ebuild viewvc-1.0.3.ebuild
@ 2008-02-20 13:04 Benedikt Boehm (hollow)
  0 siblings, 0 replies; only message in thread
From: Benedikt Boehm (hollow) @ 2008-02-20 13:04 UTC (permalink / raw
  To: gentoo-commits

hollow      08/02/20 13:04:18

  Modified:             viewvc-1.0.4.ebuild ChangeLog metadata.xml
  Added:                viewvc-1.0.4-r1.ebuild
  Removed:              viewvc-1.0.3.ebuild
  Log:
  webappify viewvc, #182093
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.10                 www-apps/viewvc/viewvc-1.0.4.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/viewvc-1.0.4.ebuild?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/viewvc-1.0.4.ebuild?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/viewvc-1.0.4.ebuild?r1=1.9&r2=1.10

Index: viewvc-1.0.4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.0.4.ebuild,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- viewvc-1.0.4.ebuild	26 Oct 2007 16:13:20 -0000	1.9
+++ viewvc-1.0.4.ebuild	20 Feb 2008 13:04:17 -0000	1.10
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.0.4.ebuild,v 1.9 2007/10/26 16:13:20 wrobel Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.0.4.ebuild,v 1.10 2008/02/20 13:04:17 hollow Exp $
 
 inherit python eutils
 
@@ -42,7 +42,7 @@
 }
 
 src_unpack() {
-	unpack "${A}" && cd "${S}"
+	unpack ${A} && cd "${S}"
 
 	python_version
 	local LIB_DIR="/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}"



1.16                 www-apps/viewvc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/ChangeLog?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/ChangeLog?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/ChangeLog?r1=1.15&r2=1.16

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog	26 Oct 2007 16:13:20 -0000	1.15
+++ ChangeLog	20 Feb 2008 13:04:17 -0000	1.16
@@ -1,6 +1,12 @@
 # ChangeLog for www-apps/viewvc
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.15 2007/10/26 16:13:20 wrobel Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.16 2008/02/20 13:04:17 hollow Exp $
+
+*viewvc-1.0.4-r1 (20 Feb 2008)
+
+  20 Feb 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml,
+  -viewvc-1.0.3.ebuild, viewvc-1.0.4.ebuild, +viewvc-1.0.4-r1.ebuild:
+  webappify viewvc, #182093
 
   26 Oct 2007; wrobel@gentoo.org viewvc-1.0.4.ebuild:
   Fixed message on installing the ebuild (see #179612).



1.2                  www-apps/viewvc/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apps/viewvc/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml	1 Mar 2007 20:44:52 -0000	1.1
+++ metadata.xml	20 Feb 2008 13:04:17 -0000	1.2
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>web-apps</herd>
+	<herd>web-apps</herd>
 </pkgmetadata>



1.1                  www-apps/viewvc/viewvc-1.0.4-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/viewvc-1.0.4-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/viewvc/viewvc-1.0.4-r1.ebuild?rev=1.1&content-type=text/plain

Index: viewvc-1.0.4-r1.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.0.4-r1.ebuild,v 1.1 2008/02/20 13:04:17 hollow Exp $

inherit confutils webapp python eutils

WEBAPP_MANUAL_SLOT="yes"

DESCRIPTION="ViewVC, a web interface to CVS and Subversion"
HOMEPAGE="http://viewvc.org/"
SRC_URI="http://viewvc.tigris.org/files/documents/3330/37319/${P}.tar.gz"

LICENSE="viewcvs"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="cvs cvsgraph enscript highlight mod_python mysql subversion"
SLOT="0"

DEPEND=""
RDEPEND="
	cvs? (
		>=dev-lang/python-1.5.2
		app-text/rcs
	)

	subversion? (
		>=dev-lang/python-2.0
		>=dev-util/subversion-1.2.0
	)

	mod_python? ( www-apache/mod_python )
	!mod_python? ( virtual/httpd-cgi )

	cvsgraph? ( >=dev-util/cvsgraph-1.5.0 )
	enscript? ( app-text/enscript )
	highlight? ( >=app-text/highlight-2.2.10 )
	mysql? ( >=dev-python/mysql-python-0.9.0 )
"

pkg_setup() {
	webapp_pkg_setup

	confutils_require_any cvs subversion
	confutils_use_depend_built_with_all subversion dev-util/subversion python

	python_version
	MOD_PATH=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
}

src_unpack() {
	unpack ${A}
	cd "${S}"

	find bin/ -type f -print0 | xargs -0 sed -i \
		-e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"${MOD_PATH}\"|g" \
		-e "s|\(^CONF_PATHNAME\)\(.*\$\)|\1 = \"../conf/viewvc.conf\"|g"

	sed -i -e "s|\(self\.options\.template_dir\)\(.*\$\)|\1 = \"${MY_APPDIR}/templates\"|" \
		lib/config.py

	sed -i -e "s|^template_dir.*|#&|" viewvc.conf.dist
	mv viewvc.conf{.dist,}
	mv cvsgraph.conf{.dist,}
}

src_install() {
	webapp_src_preinst
	python_version

	dodoc CHANGES COMMITTERS INSTALL README TODO
	dohtml -r viewvc.org/*

	insinto "${MOD_PATH}"
	doins -r lib/

	insinto "${MY_APPDIR}"/templates
	doins -r templates/

	if use mysql; then
		insinto "${MY_HOSTROOTDIR}"/bin
		dobin bin/{*dbadmin,make-database,loginfo-handler}
	fi

	insinto "${MY_HOSTROOTDIR}"/conf
	doins {viewvc,cvsgraph}.conf

	if use mod_python; then
		insinto "${MY_HTDOCSDIR}"
		doins bin/mod_python/viewvc.py
		doins bin/mod_python/handler.py
		doins bin/mod_python/.htaccess
		use mysql && doins bin/mod_python/query.py
	else
		exeinto "${MY_CGIBINDIR}"
		doexe bin/cgi/viewvc.cgi
		use mysql && doexe bin/cgi/query.cgi
	fi

	webapp_configfile "${MY_HOSTROOTDIR}"/conf/{viewvc,cvsgraph}.conf

	webapp_src_install
}

pkg_postinst() {
	webapp_pkg_postinst
	python_version
	python_mod_optimize "${ROOT}${MOD_PATH}"
	elog "Now read INSTALL in /usr/share/doc/${PF} to configure ${PN}"
}

pkg_postrm() {
	python_version
	python_mod_cleanup
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-20 13:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 13:04 [gentoo-commits] gentoo-x86 commit in www-apps/viewvc: viewvc-1.0.4.ebuild ChangeLog metadata.xml viewvc-1.0.4-r1.ebuild viewvc-1.0.3.ebuild Benedikt Boehm (hollow)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox