summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-06 01:13:51 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-06 01:13:51 +0000
commit2ffbb15988d748f6175c19d09ea54c4315705bdf (patch)
treee88a95af2cd0bfad11b30c3cd280654f4f251bef /www-apps/viewvc
parentMarked ~hppa (bug #345465). (diff)
downloadhistorical-2ffbb15988d748f6175c19d09ea54c4315705bdf.tar.gz
historical-2ffbb15988d748f6175c19d09ea54c4315705bdf.tar.bz2
historical-2ffbb15988d748f6175c19d09ea54c4315705bdf.zip
Version bump.
Package-Manager: portage-2.2.0_alpha6_p26/cvs/Linux x86_64
Diffstat (limited to 'www-apps/viewvc')
-rw-r--r--www-apps/viewvc/ChangeLog8
-rw-r--r--www-apps/viewvc/Manifest4
-rw-r--r--www-apps/viewvc/viewvc-1.1.8.ebuild114
3 files changed, 124 insertions, 2 deletions
diff --git a/www-apps/viewvc/ChangeLog b/www-apps/viewvc/ChangeLog
index f7d0f3dba7ef..579e68110711 100644
--- a/www-apps/viewvc/ChangeLog
+++ b/www-apps/viewvc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apps/viewvc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.66 2010/10/31 17:38:51 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.67 2010/12/06 01:13:51 arfrever Exp $
+
+*viewvc-1.1.8 (06 Dec 2010)
+
+ 06 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +viewvc-1.1.8.ebuild:
+ Version bump.
31 Oct 2010; Raúl Porcel <armin76@gentoo.org> viewvc-1.1.7.ebuild:
sparc stable wrt #341319
diff --git a/www-apps/viewvc/Manifest b/www-apps/viewvc/Manifest
index a2d943845130..81272c83916f 100644
--- a/www-apps/viewvc/Manifest
+++ b/www-apps/viewvc/Manifest
@@ -1,6 +1,8 @@
DIST viewvc-1.1.6.tar.gz 595029 RMD160 791c0f6220fb4c3c34fc309f3130967508be4189 SHA1 1aaae735bca316833d041473236baf680b39d864 SHA256 857a2685740ba2793753cccd1ce96ddeb7249692c0d0843d0f59e32423fbfd0c
DIST viewvc-1.1.7.tar.gz 598771 RMD160 547a11ae1296d714bc10731c51166585df1af6c5 SHA1 f49b6e3de990b97877d7da379a0aa6b4e05aa8eb SHA256 b5a8a7716a30f0a658db95358633c24a123ee95261191db7448541686ba9cb51
+DIST viewvc-1.1.8.tar.gz 599340 RMD160 9737e689dc87e43153e7442e5eef303163dc83dc SHA1 f9ffb4b84752368e9065d1e7dfb7bcd3d56d950a SHA256 645ab1a17b1427683bf8c76cdc624bfad7a93cf718cfdcba679874d49838b983
EBUILD viewvc-1.1.6.ebuild 2671 RMD160 fac4990872aed76846161eb8d9aaa2f025b9149b SHA1 446d51ef4f44de0a0bbf3ab1062c8aaebbe44801 SHA256 2e8b277773fbc348f66de1c20695798e2c373911fe393375a4191c8e76853d50
EBUILD viewvc-1.1.7.ebuild 2672 RMD160 39865c042c2af9f86fdbf5fc40ae548fabc3ac6e SHA1 91775d9b6cd73d10d9199451a00bbf8934389c21 SHA256 10a414af4550a50c57af4ec3d152b383250d405acdb93b32d11eade4b7e1516d
-MISC ChangeLog 8381 RMD160 066924e922789032b621d9fd509f3e7abee4d070 SHA1 87eba8739d6e27ddd4003d7e25377494f2afa8a7 SHA256 4d2c5f043d114ae8c54081587966396fe65867681a6cd8887134c9ac821477db
+EBUILD viewvc-1.1.8.ebuild 2685 RMD160 b980487966b7450430c61e4c62c529f195b6b459 SHA1 6e3d3e3c11d2b0a8c08a807867d8ecaa1ba70253 SHA256 34eec5f983c9dd5c926c15f75a89fd9d937cac4e4c94558a17e746212fab1bad
+MISC ChangeLog 8525 RMD160 11abf4d21c59b8603e25db9c96f2630d188d5234 SHA1 d4560a4e5e0144340ff87484ea682c1169ee4602 SHA256 d2b3e4413eaf9454c3e00ffcea766c8b7af2ad8dceb870207c012f2c0ed8bc64
MISC metadata.xml 548 RMD160 ee15901cda630ea71795e4309b5bb1572758ae5d SHA1 8c80d2999238cc039d7fc3804fdb77dbdc3a56a9 SHA256 6a19b8afa2e811ee5e525127ef3a562e7085167e43df792ba171772516b44540
diff --git a/www-apps/viewvc/viewvc-1.1.8.ebuild b/www-apps/viewvc/viewvc-1.1.8.ebuild
new file mode 100644
index 000000000000..1c8e5cb8b711
--- /dev/null
+++ b/www-apps/viewvc/viewvc-1.1.8.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.1.8.ebuild,v 1.1 2010/12/06 01:13:51 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit confutils eutils python webapp
+
+WEBAPP_MANUAL_SLOT="yes"
+
+DESCRIPTION="ViewVC, a web interface to CVS and Subversion"
+HOMEPAGE="http://viewvc.org/"
+DOWNLOAD_NUMBER="48659"
+SRC_URI="http://viewvc.tigris.org/files/documents/3330/${DOWNLOAD_NUMBER}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="cvs cvsgraph mod_python mod_wsgi mysql pygments +subversion"
+
+DEPEND=""
+RDEPEND="
+ cvs? (
+ dev-vcs/rcs
+ )
+
+ subversion? (
+ >=dev-vcs/subversion-1.3.1[python]
+ )
+
+ mod_python? ( www-apache/mod_python )
+ mod_wsgi? ( www-apache/mod_wsgi )
+ !mod_python? ( !mod_wsgi? ( virtual/httpd-cgi ) )
+
+ cvsgraph? ( >=dev-vcs/cvsgraph-1.5.0 )
+ mysql? ( >=dev-python/mysql-python-0.9.0 )
+ pygments? ( dev-python/pygments )
+"
+
+pkg_setup() {
+ python_pkg_setup
+ webapp_pkg_setup
+
+ confutils_require_any cvs subversion
+}
+
+src_prepare() {
+ find bin/ -type f -print0 | xargs -0 sed -i \
+ -e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"$(python_get_sitedir -f)/${PN}\"|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.*|#&|" conf/viewvc.conf.dist
+ mv conf/viewvc.conf{.dist,}
+ mv conf/cvsgraph.conf{.dist,}
+ mv conf/mimetypes.conf{.dist,}
+
+ python_convert_shebangs -r 2 .
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc CHANGES COMMITTERS INSTALL README
+
+ installation() {
+ insinto "$(python_get_sitedir)/${PN}"
+ doins -r lib/*
+ }
+ python_execute_function installation
+
+ insinto "${MY_APPDIR}"
+ doins -r templates/
+ doins -r templates-contrib/
+
+ if use mysql; then
+ exeinto "${MY_HOSTROOTDIR}/bin"
+ doexe bin/{*dbadmin,make-database,loginfo-handler}
+ fi
+
+ insinto "${MY_HOSTROOTDIR}/conf"
+ doins conf/{viewvc,cvsgraph,mimetypes}.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() {
+ python_mod_optimize viewvc
+ webapp_pkg_postinst
+ elog "Now read INSTALL in /usr/share/doc/${PF} to configure ${PN}"
+}
+
+pkg_postrm() {
+ python_mod_cleanup viewvc
+}