summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <neurogeek@gentoo.org>2009-02-25 20:59:37 +0000
committerJesus Rivero <neurogeek@gentoo.org>2009-02-25 20:59:37 +0000
commitc349a8a4984a9fa3c29a37153054da651e85402f (patch)
tree71a61ea867e1ee0c93bc96ee22666831e2898655 /dev-python/happydoc
parentMarked ppc stable for bug #259431. (diff)
downloadhistorical-c349a8a4984a9fa3c29a37153054da651e85402f.tar.gz
historical-c349a8a4984a9fa3c29a37153054da651e85402f.tar.bz2
historical-c349a8a4984a9fa3c29a37153054da651e85402f.zip
Version bump. Closes bug #201280
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.27-gentoo-r7 i686
Diffstat (limited to 'dev-python/happydoc')
-rw-r--r--dev-python/happydoc/ChangeLog10
-rw-r--r--dev-python/happydoc/Manifest15
-rw-r--r--dev-python/happydoc/files/happydoc-3.1-setup.py158
-rw-r--r--dev-python/happydoc/happydoc-3.1.ebuild38
4 files changed, 218 insertions, 3 deletions
diff --git a/dev-python/happydoc/ChangeLog b/dev-python/happydoc/ChangeLog
index b0b65a9fcc4a..99b3ca59f5c2 100644
--- a/dev-python/happydoc/ChangeLog
+++ b/dev-python/happydoc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/happydoc
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/happydoc/ChangeLog,v 1.22 2007/07/04 19:50:49 hawking Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/happydoc/ChangeLog,v 1.23 2009/02/25 20:59:37 neurogeek Exp $
+
+*happydoc-3.1 (25 Feb 2009)
+
+ 25 Feb 2009; <neurogeek@gentoo.org> +files/happydoc-3.1-setup.py,
+ +happydoc-3.1.ebuild:
+ Version bump. Closes bug #201280
04 Jul 2007; Ali Polatel <hawking@gentoo.org> happydoc-2.1.ebuild,
happydoc-2.1-r1.ebuild:
diff --git a/dev-python/happydoc/Manifest b/dev-python/happydoc/Manifest
index eac3c76bec07..08c35a604786 100644
--- a/dev-python/happydoc/Manifest
+++ b/dev-python/happydoc/Manifest
@@ -1,6 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX happydoc-2.1-python-2.4-compat.patch 2373 RMD160 c0baecf241c8b9c6def55602fb4897f93c796f0d SHA1 9d87b44c360e2ba9cd45e38e9db20625a194e57a SHA256 0e1d0d6a6448005bd28c5a5107891e77dfe01ab3639be3db1558000b116a62bb
+AUX happydoc-3.1-setup.py 4972 RMD160 a9595f905b1f69889f7c55298a63f1d29a243b77 SHA1 cffa390ae0c1ee776ab9234f77a35c64424521a3 SHA256 08aa2aaab359fc2948b0a4a7fbe80353b0cd8227082f05459727dc7894f5293e
DIST HappyDoc_r2_1.tar.gz 523968 RMD160 f615f72138fe7d5c1e77c89da43c23e5f2fe9e0f SHA1 f1b22586d358af6679b09bf475a05e49742aa358 SHA256 0d86dd60f7cce88e62c589d154cb168c9becfd0d1b904fc9544d442a05e65072
+DIST HappyDoc_r3_1.tar.gz 732849 RMD160 23e114ed4f66632d463b6e9083a7d2aaa8b63a39 SHA1 06568f7b17c293fbd0eec3369cbd95c064313774 SHA256 ef5f8dee5782a1ebe750aa51b855ce84097f5bb60488826ea5da900098c5aaec
EBUILD happydoc-2.1-r1.ebuild 1081 RMD160 94db6ec6ae7f99e595c197cf453cdf378be901f4 SHA1 aa8bca5763c23d0d8af663eff883061e2f0511fa SHA256 d14e7a7dc1fa1fcc877f7d0401df7e48693074aa29a3677950b2ef73f75e18a4
EBUILD happydoc-2.1.ebuild 1079 RMD160 9be18be155c0879ebb7e04b54c98eb0604c22f78 SHA1 94fed7fd1a3de6cc9636214c296cbafceedef144 SHA256 bfd635c3cd2f8c867bd365f3d102734429d7ccd708c5cb3f79f27407bf812297
-MISC ChangeLog 2571 RMD160 11a0ee53895677597b264337a671ffc4951dc422 SHA1 b5cacdadbacbb3a7dc295d46a4c4038e55a87681 SHA256 2f57e77094152e27b47ef830864ab1eb10d35c3e7645f89aeade9d7368569430
+EBUILD happydoc-3.1.ebuild 1001 RMD160 e4525d2a3eb13da729c4bb6ea4d86b32b64db7a0 SHA1 553272b77ad8f9a41cc6ea9778c57f650c2ba74f SHA256 9a86dcf5500a910d0712ebf9d45d0b62037330d51ee18f6be0488bcf2f9f716c
+MISC ChangeLog 2730 RMD160 fa0e38f28e27676e0d91bf0779bf1aceb2c73cd9 SHA1 475712c993e8934ba718ebba85143a6af9c68709 SHA256 fbc91af5ed14e06efd4abb8c0009e55859e3e3dfcdba83be45cd8f59cd473537
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkmlsVcACgkQdIssYB9vBoODywCfZ9Tsa6M1AAdrVqax7JgBCnlL
+rUMAn3LPp9AZnaf2cIFedMDm3uOrqB5l
+=qqL8
+-----END PGP SIGNATURE-----
diff --git a/dev-python/happydoc/files/happydoc-3.1-setup.py b/dev-python/happydoc/files/happydoc-3.1-setup.py
new file mode 100644
index 000000000000..af3064b8dde7
--- /dev/null
+++ b/dev-python/happydoc/files/happydoc-3.1-setup.py
@@ -0,0 +1,158 @@
+#!/usr/bin/env python
+#
+# $Id: happydoc-3.1-setup.py,v 1.1 2009/02/25 20:59:36 neurogeek Exp $
+#
+# Time-stamp: <02/02/05 10:00:12 dhellmann>
+#
+# Copyright 2001 Doug Hellmann.
+#
+#
+# All Rights Reserved
+#
+# Permission to use, copy, modify, and distribute this software and
+# its documentation for any purpose and without fee is hereby
+# granted, provided that the above copyright notice appear in all
+# copies and that both that copyright notice and this permission
+# notice appear in supporting documentation, and that the name of Doug
+# Hellmann not be used in advertising or publicity pertaining to
+# distribution of the software without specific, written prior
+# permission.
+#
+# DOUG HELLMANN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
+# NO EVENT SHALL DOUG HELLMANN BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+# OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+"""Distutils setup file for HappyDoc
+
+"""
+
+__rcs_info__ = {
+ #
+ # Creation Information
+ #
+ 'module_name' : '$RCSfile: happydoc-3.1-setup.py,v $',
+ 'rcs_id' : '$Id: happydoc-3.1-setup.py,v 1.1 2009/02/25 20:59:36 neurogeek Exp $',
+ 'creator' : 'Doug Hellmann <doug@hellfly.net>',
+ 'project' : 'HappyDoc',
+ 'created' : 'Sat, 03-Feb-2001 12:51:26 EST',
+
+ #
+ # Current Information
+ #
+ 'author' : '$Author: neurogeek $',
+ 'version' : '$Revision: 1.1 $',
+ 'date' : '$Date: 2009/02/25 20:59:36 $',
+}
+try:
+ __version__ = __rcs_info__['version'].split(' ')[1]
+except:
+ __version__ = '0.0'
+
+#
+# Import system modules
+#
+from distutils.core import setup
+import string
+import sys
+
+#
+# Import Local modules
+#
+
+#
+# Module
+#
+
+BSD_LICENSE="""
+
+ Copyright 2001, 2002 Doug Hellmann.
+
+ All Rights Reserved
+
+Permission to use, copy, modify, and distribute this software and
+its documentation for any purpose and without fee is hereby
+granted, provided that the above copyright notice appear in all
+copies and that both that copyright notice and this permission
+notice appear in supporting documentation, and that the name of Doug
+Hellmann not be used in advertising or publicity pertaining to
+distribution of the software without specific, written prior
+permission.
+
+DOUG HELLMANN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
+NO EVENT SHALL DOUG HELLMANN BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+"""
+
+LONG_DESCRIPTION = """
+ HappyDoc is a tool for extracting documentation from Python source
+ code. It differs from other such applications by the fact that it
+ uses the parse tree for a module to derive the information used in
+ its output, rather that importing the module directly. This allows
+ the user to generate documentation for modules which need special
+ context to be imported.
+"""
+
+
+def cvsProductVersion(cvsVersionString='$Name: $'):
+ """Function to return the version number of the program.
+
+ The value is taken from the CVS tag, assuming the tag has the form:
+
+ rX_Y_Z
+
+ Where X is the major version number, Y is the minor version
+ number, and Z is the optional sub-minor version number.
+ """
+ cvs_version_parts=string.split(cvsVersionString)
+ if len(cvs_version_parts) >= 3:
+ app_version = string.strip(cvs_version_parts[1]).replace('_', '.')
+ if app_version and app_version[0] == 'r':
+ app_version = app_version[1:]
+ else:
+ app_version = 'WORKING'
+ return app_version
+
+
+
+if sys.platform == 'win32':
+ platform_specific_scripts = ['happydocwin.py']
+else:
+ platform_specific_scripts = ['happydoc']
+
+setup (
+ name = 'HappyDoc',
+ version = cvsProductVersion(),
+
+ description = 'HappyDoc Automatic Documentation System',
+ long_description = LONG_DESCRIPTION,
+
+ author = 'Doug Hellmann',
+ author_email = 'doug@hellfly.net',
+
+ url = 'http://happydoc.sourceforge.net',
+ licence = BSD_LICENSE,
+
+ platforms = ('Any',),
+ keywords = ('documentation', 'extraction', 'source', 'docstring', '__doc__'),
+
+ packages = [ 'happydoclib',
+ 'happydoclib.docset',
+ 'happydoclib.docstring',
+ 'happydoclib.docstring.StructuredText',
+ 'happydoclib.parseinfo',
+ 'happydoclib.parsers',
+ ],
+
+ package_dir = { '': '.' },
+
+ scripts = platform_specific_scripts,
+ )
+
diff --git a/dev-python/happydoc/happydoc-3.1.ebuild b/dev-python/happydoc/happydoc-3.1.ebuild
new file mode 100644
index 000000000000..3a3e3d3dbc98
--- /dev/null
+++ b/dev-python/happydoc/happydoc-3.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/happydoc/happydoc-3.1.ebuild,v 1.1 2009/02/25 20:59:37 neurogeek Exp $
+
+inherit distutils versionator
+
+MY_PN="HappyDoc"
+MY_PV=$(replace_all_version_separators "_" ${PV})
+MY_V=$(get_major_version ${PV})
+DESCRIPTION="tool for extracting documentation from Python sourcecode"
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}_r${MY_PV}.tar.gz"
+HOMEPAGE="http://happydoc.sourceforge.net/"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc"
+
+DEPEND="virtual/python"
+
+# the tests need extra data not present in the release tarball
+RESTRICT=test
+
+S="${WORKDIR}/${MY_PN}${MY_V}-r${MY_PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ cp "${FILESDIR}/${P}-setup.py" "${S}/setup.py" || die "setup.py file not found"
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r "srcdocs/${MY_PN}${MY_V}-r${MY_PV}"/*
+ fi
+}