summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-11 23:37:15 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-11 23:37:15 +0000
commitcf62808828cb3218b76af9e7f36eabd455ebb50b (patch)
tree85a89ce1358fdbda9a982da72f231274e532e9f8
parentStable for HPPA (bug #280514). (diff)
downloadhistorical-cf62808828cb3218b76af9e7f36eabd455ebb50b.tar.gz
historical-cf62808828cb3218b76af9e7f36eabd455ebb50b.tar.bz2
historical-cf62808828cb3218b76af9e7f36eabd455ebb50b.zip
Version bump. Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-14000-svn/cvs/Linux x86_64
-rw-r--r--www-apps/viewvc/ChangeLog8
-rw-r--r--www-apps/viewvc/Manifest4
-rw-r--r--www-apps/viewvc/viewvc-1.1.2.ebuild111
3 files changed, 121 insertions, 2 deletions
diff --git a/www-apps/viewvc/ChangeLog b/www-apps/viewvc/ChangeLog
index 7b2f5fb03926..6859f5f07790 100644
--- a/www-apps/viewvc/ChangeLog
+++ b/www-apps/viewvc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apps/viewvc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.30 2009/07/27 22:34:33 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.31 2009/08/11 23:37:15 arfrever Exp $
+
+*viewvc-1.1.2 (11 Aug 2009)
+
+ 11 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +viewvc-1.1.2.ebuild:
+ Version bump. Set SUPPORT_PYTHON_ABIS.
27 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
viewvc-1.1.1.ebuild:
diff --git a/www-apps/viewvc/Manifest b/www-apps/viewvc/Manifest
index 7e3215941719..6dda24d0194e 100644
--- a/www-apps/viewvc/Manifest
+++ b/www-apps/viewvc/Manifest
@@ -2,9 +2,11 @@ DIST viewvc-1.0.5.tar.gz 522323 RMD160 9a1e76076f8216ba481213f29befa60870291926
DIST viewvc-1.0.6.tar.gz 520839 RMD160 8a45688528bc113db2236d8b3cc6e3344694f0a2 SHA1 74310c90dfcfd49347f49c11453d4d5291e5dfac SHA256 ad56d2ad074bbd09ff1a1968164fd0f14f01241864366e0931d0a265bbff8752
DIST viewvc-1.0.7.tar.gz 522560 RMD160 92c691e492f7b927a7113e745ce4464f790c67ca SHA1 9c07eeba6067cf1806644d696710df5c668334dc SHA256 d801c903efc993e15d08f38eb84f084a596bc3f7b97b0c2c044b16c41645df76
DIST viewvc-1.1.1.tar.gz 585955 RMD160 015442c88f4c70a74ea71fd3b9e4ec9b79b4f7a1 SHA1 404a020057e23465d6611bc1d1fcc14f2cf31da9 SHA256 3a7f6fc897f34b148fd225071ddf2aa9c037ec89b0b5406d95f8a479e8254462
+DIST viewvc-1.1.2.tar.gz 588066 RMD160 4edefe7ccf3feb0c21a133d794a93e788c8f2e21 SHA1 e4a112bf901adb29015ffb2047acd09b3b029bf4 SHA256 129a5b2b29cc720c089dd671c2ba9e7adaf6541a976de03aabaf0850b7100931
EBUILD viewvc-1.0.5.ebuild 2597 RMD160 afc0583068e097c0c6581a838c0d5cb37a076cd4 SHA1 84ca43e46bec23d90a69a63ca13c4892ca822ca3 SHA256 56235c5080a4b22514bc850f509bfc63620293277445fc08c3c3520c21169439
EBUILD viewvc-1.0.6.ebuild 2600 RMD160 1190a3668b5934cf1c3d3840824af2d5a121e401 SHA1 a249c71cade2c92fad91850d392d45a2ecac704e SHA256 e6ccaa20a190f87d160d5515af9033ca79e131b2461017bde79c9098447304b3
EBUILD viewvc-1.0.7.ebuild 2601 RMD160 0409b6d302642c6148e5b26c5a51273dd15f35d1 SHA1 540d2cec888a7bd4aa9caf8d75238d34d49b8408 SHA256 1cf1e607fdeb17120d500e4157e47ac47243266f90a5f8365126a92497583a09
EBUILD viewvc-1.1.1.ebuild 2453 RMD160 201cbf4b2d8aecb69fe70bb21a1c4cbf89724c52 SHA1 c83c0bf282a0872066d0b9783f0f0f85285aa543 SHA256 8970b7eee63e44e917a3b54640702038c5dcfecb907706f7080999ee56dfd761
-MISC ChangeLog 3994 RMD160 7bc6f2aecb3121115cec4e2d0985dffa3a55225d SHA1 5174d97961009c466cdfab76f8087ef4a324bf9b SHA256 ae6cfb8addaccba4e072dc9a3190dc61d304656dd611326ed42b888a015f2ca1
+EBUILD viewvc-1.1.2.ebuild 2551 RMD160 d12e823c26849b5d083500498f357725b9b0c6a0 SHA1 a2672e258b4338853d615c9049f6048d317d8d54 SHA256 483a3130c6a34a8b6898bbb0f690c36baeeaeeabde39ba97d249dbb9de2cad86
+MISC ChangeLog 4162 RMD160 b59e8a270c1c23960a7c2450e3f65663ee2ef8e4 SHA1 484083bd259aaa66341bccf8d0b9481620a61e29 SHA256 be9090c75a9f83ecc2061df24db4bcf4bbf26bd25c61373985d05b728aafa6ec
MISC metadata.xml 604 RMD160 fe1e51983541193936b3dd19de1cd77829231111 SHA1 66a852fe52e39fd5a9b0f34c3ccf5deedd0aac1f SHA256 5819f2643e91c217338a15374d13b98a6419a68be979c2c497f07bde0cd13eb4
diff --git a/www-apps/viewvc/viewvc-1.1.2.ebuild b/www-apps/viewvc/viewvc-1.1.2.ebuild
new file mode 100644
index 000000000000..48ad1742b313
--- /dev/null
+++ b/www-apps/viewvc/viewvc-1.1.2.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.1.2.ebuild,v 1.1 2009/08/11 23:37:15 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit confutils eutils python webapp
+
+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/46489/${P}.tar.gz"
+
+LICENSE="viewcvs"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="cvs cvsgraph mod_python mysql pygments +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.3.1[python]
+ )
+
+ mod_python? ( www-apache/mod_python )
+ !mod_python? ( virtual/httpd-cgi )
+
+ cvsgraph? ( >=dev-util/cvsgraph-1.5.0 )
+ mysql? ( >=dev-python/mysql-python-0.9.0 )
+ pygments? ( dev-python/pygments )
+"
+
+RESTRICT_PYTHON_ABIS="3*"
+
+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)/${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,}
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc CHANGES COMMITTERS INSTALL README
+ dohtml -r viewvc.org/*
+
+ installation() {
+ insinto "$(python_get_sitedir)/${PN}"
+ doins -r lib/*
+ }
+ python_execute_function installation
+
+ insinto "${MY_APPDIR}"
+ doins -r templates/
+
+ 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() {
+ webapp_pkg_postinst
+ python_mod_optimize viewvc
+ elog "Now read INSTALL in /usr/share/doc/${PF} to configure ${PN}"
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}