diff options
author | Renat Lumpau <rl03@gentoo.org> | 2007-03-01 20:44:52 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2007-03-01 20:44:52 +0000 |
commit | 82007c63bde42a371d2e2bc971d0df5d01352d84 (patch) | |
tree | fdbd6d5ade6301785a6cc3f88f2fa9b50a2f34bb /www-apps/viewvc | |
parent | Added info about Bug #168879 to ChangeLog. (diff) | |
download | gentoo-2-82007c63bde42a371d2e2bc971d0df5d01352d84.tar.gz gentoo-2-82007c63bde42a371d2e2bc971d0df5d01352d84.tar.bz2 gentoo-2-82007c63bde42a371d2e2bc971d0df5d01352d84.zip |
Version bump from www-apps/viewcvs. Fixes bugs #107033, #108367, #110020,#111767, #113767, #114487, #116504, #129395, #136552, #142377, 155144.
(Portage version: 2.1.2-r10)
Diffstat (limited to 'www-apps/viewvc')
-rw-r--r-- | www-apps/viewvc/ChangeLog | 11 | ||||
-rw-r--r-- | www-apps/viewvc/Manifest | 16 | ||||
-rw-r--r-- | www-apps/viewvc/files/digest-viewvc-1.0.3 | 3 | ||||
-rw-r--r-- | www-apps/viewvc/metadata.xml | 5 | ||||
-rw-r--r-- | www-apps/viewvc/viewvc-1.0.3.ebuild | 105 |
5 files changed, 140 insertions, 0 deletions
diff --git a/www-apps/viewvc/ChangeLog b/www-apps/viewvc/ChangeLog new file mode 100644 index 000000000000..39d4942bb508 --- /dev/null +++ b/www-apps/viewvc/ChangeLog @@ -0,0 +1,11 @@ +# 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.1 2007/03/01 20:44:52 rl03 Exp $ + +*viewvc-1.0.3 (01 Mar 2007) + + 01 Mar 2007; Renat Lumpau <rl03@gentoo.org> +metadata.xml, + +viewvc-1.0.3.ebuild: + Version bump from www-apps/viewcvs. Fixes bugs #107033, #108367, #110020, + #111767, #113767, #114487, #116504, #129395, #136552, #142377, 155144. + diff --git a/www-apps/viewvc/Manifest b/www-apps/viewvc/Manifest new file mode 100644 index 000000000000..e8891b0436aa --- /dev/null +++ b/www-apps/viewvc/Manifest @@ -0,0 +1,16 @@ +DIST viewvc-1.0.3.tar.gz 406570 RMD160 2e36a2f1228b0648ac003c75469a1bce56e024f3 SHA1 4523be70f3cf743991201b82f93fcd7f9799b955 SHA256 20cf5a8c5e46a147f4b484934f5f254d9acf74f149a4dc6326d0040527513ead +EBUILD viewvc-1.0.3.ebuild 2665 RMD160 1dd7147b5275425ffee9d48fa32c4deae83b1d8d SHA1 e845b04ce8e4dee81ab286736f2023e7ac1029a8 SHA256 1d2142cfa528784077b76dfa77786547fe351d6a328eb024cf26b082ef6ab417 +MD5 290b40bd128ee3e0500729ab47fa2366 viewvc-1.0.3.ebuild 2665 +RMD160 1dd7147b5275425ffee9d48fa32c4deae83b1d8d viewvc-1.0.3.ebuild 2665 +SHA256 1d2142cfa528784077b76dfa77786547fe351d6a328eb024cf26b082ef6ab417 viewvc-1.0.3.ebuild 2665 +MISC ChangeLog 380 RMD160 56690966d82eb496cd600a7edd68734561b957e7 SHA1 60af0bfe2b28ebc8fe19fcdf0d7a05da3741aa0a SHA256 d8e2ba48972e622a63f435f2d0bcb47389f2845b5d1056def6d65092022a5a33 +MD5 200b37856d371777996e8d90a90aac89 ChangeLog 380 +RMD160 56690966d82eb496cd600a7edd68734561b957e7 ChangeLog 380 +SHA256 d8e2ba48972e622a63f435f2d0bcb47389f2845b5d1056def6d65092022a5a33 ChangeLog 380 +MISC metadata.xml 161 RMD160 d47e924599b33a35a50f4c9f5564d325c271f83b SHA1 5b91a6d8d06d3dca2d774425befba30caca51507 SHA256 9cd891fcf0af580e98b62d2f4ded9e53671599f5a7aafd5dce692b996d2a83f4 +MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161 +RMD160 d47e924599b33a35a50f4c9f5564d325c271f83b metadata.xml 161 +SHA256 9cd891fcf0af580e98b62d2f4ded9e53671599f5a7aafd5dce692b996d2a83f4 metadata.xml 161 +MD5 9049649c61436989b243d5b5c72fe689 files/digest-viewvc-1.0.3 238 +RMD160 20edb91552cf4dd6f4bbd166b133c5ebda16242e files/digest-viewvc-1.0.3 238 +SHA256 67513527e3bd34c7bbaf94233c72259fc95b2356abd211ca93cc1c090b393479 files/digest-viewvc-1.0.3 238 diff --git a/www-apps/viewvc/files/digest-viewvc-1.0.3 b/www-apps/viewvc/files/digest-viewvc-1.0.3 new file mode 100644 index 000000000000..25820de104b3 --- /dev/null +++ b/www-apps/viewvc/files/digest-viewvc-1.0.3 @@ -0,0 +1,3 @@ +MD5 3d44ad485d38bf9f61d8111661260b4a viewvc-1.0.3.tar.gz 406570 +RMD160 2e36a2f1228b0648ac003c75469a1bce56e024f3 viewvc-1.0.3.tar.gz 406570 +SHA256 20cf5a8c5e46a147f4b484934f5f254d9acf74f149a4dc6326d0040527513ead viewvc-1.0.3.tar.gz 406570 diff --git a/www-apps/viewvc/metadata.xml b/www-apps/viewvc/metadata.xml new file mode 100644 index 000000000000..95c06f0095bb --- /dev/null +++ b/www-apps/viewvc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>web-apps</herd> +</pkgmetadata> diff --git a/www-apps/viewvc/viewvc-1.0.3.ebuild b/www-apps/viewvc/viewvc-1.0.3.ebuild new file mode 100644 index 000000000000..5f2f175c7d15 --- /dev/null +++ b/www-apps/viewvc/viewvc-1.0.3.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.0.3.ebuild,v 1.1 2007/03/01 20:44:52 rl03 Exp $ + +inherit python eutils + +SLOT="0" + +DESCRIPTION="ViewVC, a web interface to CVS and Subversion" +HOMEPAGE="http://viewvc.org/" +SRC_URI="http://viewvc.tigris.org/files/documents/3330/34803/${P}.tar.gz" + +LICENSE="viewcvs" +KEYWORDS="~x86" +IUSE="cvs cvsgraph enscript highlight mod_python mysql subversion" + +RDEPEND=" + cvs? ( + >=dev-lang/python-1.5.2 + app-text/rcs + ) + + subversion? ( + >=dev-lang/python-2.0 + >=dev-util/subversion-1.2.0 + ) + + cvsgraph? ( >=dev-util/cvsgraph-1.5.0 ) + enscript? ( app-text/enscript ) + highlight? ( >=app-text/highlight-2.2.10 ) + mod_python? ( dev-python/mod_python ) + mysql? ( + >=dev-python/mysql-python-0.9.0 + ) +" + +pkg_setup() { + if use subversion && ! built_with_use dev-util/subversion python ; then + eerror "Your Subversion has been built without Python bindings" + die "Emerge dev-util/subversion with USE=\"python\"" + fi +} + +src_unpack() { + unpack ${A} && cd ${S} + + python_version + local LIB_DIR="/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}" + local CONF_PATH="/usr/share/webapps/${PN}/viewvc.conf" + find bin -type f | + xargs sed -ie " s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"${LIB_DIR}\"|g + s,\(^CONF_PATHNAME\)\(.*\$\),\1 = \"${CONF_PATH}\",g" + sed -i "s|template_dir = templates|template_dir = /usr/share/webapps/${PN}/templates|" \ + viewvc.conf.dist +} + +src_install() { + python_version + + dodir /usr/share/webapps/${PN} /usr/share/webapps/${PN}/cgi-bin \ + /usr/share/webapps/${PN}/mod_python /usr/share/webapps/${PN}/bin \ + /usr/$(get_libdir)/python${PYVER}/site-packages/${PN} + + exeinto /usr/share/webapps/${PN}/cgi-bin + doexe bin/cgi/viewvc.cgi + + if use mysql ; then + exeinto /usr/share/webapps/${PN}/cgi-bin + doexe bin/cgi/query.cgi + fi + + if use mod_python ; then + insinto /usr/share/webapps/${PN}/mod_python + doins bin/mod_python/viewvc.py + doins bin/mod_python/handler.py + doins bin/mod_python/.htaccess + + if use mysql ; then + insinto /usr/share/webapps/${PN}/mod_python + doins bin/mod_python/query.py + fi + fi + + cp -p bin/ ${D}/usr/share/webapps/${PN}/bin + cp -rp templates ${D}/usr/share/webapps/${PN} + cp -rp lib/* ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/${PN} + + insinto /usr/share/webapps/${PN} + doins viewvc.conf.dist cvsgraph.conf.dist + + dodoc CHANGES COMMITTERS INSTALL README TODO + dohtml -r viewvc.org/* +} + +pkg_postinst() { + python_version + python_mod_optimize ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN} + + elog "Now read /usr/share/doc/${P}/INSTALL.gz to configure ${PN}" +} + +pkg_postrm() { + python_version + python_mod_cleanup +} |