diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2007-09-04 05:27:17 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2007-09-04 05:27:17 +0000 |
commit | 7e1c37aab24c658c68b42c67bb5be17f205c4f54 (patch) | |
tree | a1b9b21beb3aa84b65459aab8dc0598c238d67ea /dev-python/wxpython-docs | |
parent | Version bump for bug #180643 by Kent Fredric. (diff) | |
download | gentoo-2-7e1c37aab24c658c68b42c67bb5be17f205c4f54.tar.gz gentoo-2-7e1c37aab24c658c68b42c67bb5be17f205c4f54.tar.bz2 gentoo-2-7e1c37aab24c658c68b42c67bb5be17f205c4f54.zip |
Version bump.
(Portage version: 2.1.3.7)
Diffstat (limited to 'dev-python/wxpython-docs')
4 files changed, 110 insertions, 1 deletions
diff --git a/dev-python/wxpython-docs/ChangeLog b/dev-python/wxpython-docs/ChangeLog index 751e942b2ca5..563001413abb 100644 --- a/dev-python/wxpython-docs/ChangeLog +++ b/dev-python/wxpython-docs/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-python/wxpython-docs # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython-docs/ChangeLog,v 1.24 2007/05/20 13:34:28 leio Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython-docs/ChangeLog,v 1.25 2007/09/04 05:27:17 dirtyepic Exp $ + +*wxpython-docs-2.6.4.0 (04 Sep 2007) + + 04 Sep 2007; Ryan Hill <dirtyepic@gentoo.org> + +files/wxpython-docs-2.6.4.0-writable.patch, + +wxpython-docs-2.6.4.0.ebuild: + Version bump. 20 May 2007; <leio@gentoo.org> -files/viewdocs-2.4.2.4.patch, -wxpython-docs-2.4.2.4-r1.ebuild: diff --git a/dev-python/wxpython-docs/files/digest-wxpython-docs-2.6.4.0 b/dev-python/wxpython-docs/files/digest-wxpython-docs-2.6.4.0 new file mode 100644 index 000000000000..ee66e408ce19 --- /dev/null +++ b/dev-python/wxpython-docs/files/digest-wxpython-docs-2.6.4.0 @@ -0,0 +1,9 @@ +MD5 5b817c981aa13d3f6283999c3c6fcb2b wxPython-demo-2.6.4.0.tar.bz2 2394172 +RMD160 65f8faf0376e6a8e82a75035dd70937c5adc7c3c wxPython-demo-2.6.4.0.tar.bz2 2394172 +SHA256 fb10d86a7296deee1a222be4d93f1869c5d97bfcbbdb64173cefe7da82627775 wxPython-demo-2.6.4.0.tar.bz2 2394172 +MD5 097be3b757166eaca4f9c9875ff72db8 wxPython-docs-2.6.4.0.tar.bz2 1926972 +RMD160 121fdc3ca1c2eb27ec74d2fa50501c2f6d86fe65 wxPython-docs-2.6.4.0.tar.bz2 1926972 +SHA256 b18f2234d0320e844ecc0cadb12122c406973fdfb143464c13764d19ccead860 wxPython-docs-2.6.4.0.tar.bz2 1926972 +MD5 a70984f4e2dd8bc1b1dbd9dd859c7dc9 wxPython-newdocs-2.6.4.0.tar.bz2 1732326 +RMD160 a41c0b2b6c5e52115ca854e2450bcf7f575be4a4 wxPython-newdocs-2.6.4.0.tar.bz2 1732326 +SHA256 f3ffcaaf32ced506f98b98bea20447afb843ddd092706c3492b31ecf263257d8 wxPython-newdocs-2.6.4.0.tar.bz2 1732326 diff --git a/dev-python/wxpython-docs/files/wxpython-docs-2.6.4.0-writable.patch b/dev-python/wxpython-docs/files/wxpython-docs-2.6.4.0-writable.patch new file mode 100644 index 000000000000..0eff37fd78ac --- /dev/null +++ b/dev-python/wxpython-docs/files/wxpython-docs-2.6.4.0-writable.patch @@ -0,0 +1,49 @@ +diff -Naur docs-orig/viewdocs.py docs/viewdocs.py +--- docs-orig/viewdocs.py 2007-06-16 17:33:00.000000000 -0600 ++++ docs/viewdocs.py 2007-09-03 23:17:17.000000000 -0600 +@@ -15,32 +15,19 @@ + basePath = '.' + + +-# test for write access +-if os.access(basePath, os.W_OK): +- +- # setup the args +- args = ['', +- '--cache='+basePath, +- os.path.join(basePath, 'wx.zip'), +- ] +- +- # add any other .zip files found +- for file in glob.glob(os.path.join(basePath, "*.zip")): +- if file not in args: +- args.append(file) +- +- # launch helpviewer +- helpviewer.main(args) +- +-else: +- app = wx.PySimpleApp() +- dlg = wx.MessageDialog(None, +- "The wxDocs need to be located in a directory that is writable by you. " +- "I am unable to start the viewer in its current location.", +- "Error!", wx.OK|wx.ICON_EXCLAMATION) +- dlg.ShowModal() +- dlg.Destroy() +- app.MainLoop() ++# setup the args ++args = ['', ++ '--cache=/tmp', ++ os.path.join(basePath, 'wx.zip'), ++ os.path.join(basePath, 'ogl.zip'), ++ ] ++ ++# add any other .zip files found ++for file in glob.glob(os.path.join(basePath, "*.zip")): ++ if file not in args: ++ args.append(file) + ++# launch helpviewer ++helpviewer.main(args) + #--------------------------------------------------------------------------- + diff --git a/dev-python/wxpython-docs/wxpython-docs-2.6.4.0.ebuild b/dev-python/wxpython-docs/wxpython-docs-2.6.4.0.ebuild new file mode 100644 index 000000000000..ddcf29f59a9d --- /dev/null +++ b/dev-python/wxpython-docs/wxpython-docs-2.6.4.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython-docs/wxpython-docs-2.6.4.0.ebuild,v 1.1 2007/09/04 05:27:17 dirtyepic Exp $ + +inherit eutils + +DESCRIPTION="wxPython documentation" +HOMEPAGE="http://www.wxpython.org" +SRC_URI="mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 + mirror://sourceforge/wxpython/wxPython-demo-${PV}.tar.bz2 + mirror://sourceforge/wxpython/wxPython-newdocs-${PV}.tar.bz2" + +LICENSE="wxWinFDL-3 LGPL-2.1" +SLOT="2.6" +KEYWORDS="amd64 ~ia64 ~ppc ~sparc x86" +IUSE="" + +S="${WORKDIR}/wxPython-${PV}" +DOCDIR="wxPython-${PV}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/demo-2.6.0.0-version.patch + epatch "${FILESDIR}"/${P}-writable.patch +} + +src_install() { + dodir /usr/share/doc/${DOCDIR}/docs + cp -R ${WORKDIR}/${DOCDIR}/docs/* ${D}/usr/share/doc/${DOCDIR}/docs/ + dodir /usr/share/doc/${DOCDIR}/demo + dodir /usr/share/doc/${DOCDIR}/samples + cp -R ${WORKDIR}/${DOCDIR}/demo/* ${D}/usr/share/doc/${DOCDIR}/demo/ + cp -R ${WORKDIR}/${DOCDIR}/samples/* ${D}/usr/share/doc/${DOCDIR}/samples/ + mv ${D}/usr/share/doc/${DOCDIR} ${D}/usr/share/doc/${PF} +} + +pkg_postinst() { + elog "The demo files are now included with dev-python/wxpython-docs." + elog "The new-style documentation is in:" + elog "/usr/share/doc/${PF}/docs/api\n" + elog "The old-style documentation can still be accessed by running" + elog "/usr/share/doc/${PF}/docs/viewdocs.py" +} |