diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-27 21:59:46 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-27 21:59:46 +0000 |
commit | 10237ec0935e9451813ce207a88a217ee7dc1a78 (patch) | |
tree | b82ee4afbfee5f9ca9a1641ba7413a6c4b90ca72 /dev-python/docutils | |
parent | Delete older ebuilds. (diff) | |
download | gentoo-2-10237ec0935e9451813ce207a88a217ee7dc1a78.tar.gz gentoo-2-10237ec0935e9451813ce207a88a217ee7dc1a78.tar.bz2 gentoo-2-10237ec0935e9451813ce207a88a217ee7dc1a78.zip |
Delete older ebuild.
(Portage version: 2.2.0_alpha10_p10/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/docutils')
-rw-r--r-- | dev-python/docutils/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/docutils/docutils-0.6.ebuild | 127 |
2 files changed, 5 insertions, 128 deletions
diff --git a/dev-python/docutils/ChangeLog b/dev-python/docutils/ChangeLog index 75e9f0f71dcc..9a23e03a2006 100644 --- a/dev-python/docutils/ChangeLog +++ b/dev-python/docutils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/docutils # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.125 2010/12/27 21:07:26 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.126 2010/12/27 21:59:46 arfrever Exp $ + + 27 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -docutils-0.6.ebuild: + Delete. 27 Dec 2010; Brent Baude <ranger@gentoo.org> docutils-0.7.ebuild: Marking docutils-0.7 ppc64 for bug 333191 diff --git a/dev-python/docutils/docutils-0.6.ebuild b/dev-python/docutils/docutils-0.6.ebuild deleted file mode 100644 index 06d4deed53f3..000000000000 --- a/dev-python/docutils/docutils-0.6.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.6.ebuild,v 1.13 2010/07/06 20:24:16 ssuominen Exp $ - -EAPI="2" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils eutils multilib - -DESCRIPTION="Set of python tools for processing plaintext docs into HTML, XML, etc..." -HOMEPAGE="http://docutils.sourceforge.net/ http://pypi.python.org/pypi/docutils" -SRC_URI="mirror://sourceforge/docutils/${P}.tar.gz - glep? ( mirror://gentoo/glep-0.4-r1.tbz2 )" - -LICENSE="public-domain PYTHON BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" -IUSE="glep emacs" - -DEPEND="dev-python/setuptools" -RDEPEND="" -# Emacs support is in PDEPEND to avoid a dependency cycle (bug #183242) -PDEPEND="emacs? ( || ( >=app-emacs/rst-0.4 >=virtual/emacs-23 ) )" -RESTRICT_PYTHON_ABIS="3.*" # Bug #304641 - -GLEP_SRC="${WORKDIR}/glep-0.4-r1" - -DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" - -src_prepare() { - # Delete internal copies of optparse and textwrap modules. - rm -f extras/{optparse.py,textwrap.py} - # Fix installation of extra modules. - epatch "${FILESDIR}/${PN}-0.6-extra_modules.patch" - - sed -e "s/from distutils.core/from setuptools/" -i setup.py || die "sed setup.py failed" - - # Fix tests. - sed -e "/sys\.exit(result)/d" -i test/alltests.py || die "sed test/alltests.py failed" - - python_copy_sources -} - -src_compile() { - distutils_src_compile - - # Generate html docs from reStructured text sources. - - # make roman.py available for the doc building process - ln -s extras/roman.py - - pushd tools > /dev/null - - # Place html4css1.css in base directory. This makes sure the - # generated reference to it is correct. - cp ../docutils/writers/html4css1/html4css1.css .. - - PYTHONPATH=.. "$(PYTHON -f)" ./buildhtml.py --stylesheet-path=../html4css1.css --traceback .. || die "buildhtml.py failed" - - popd > /dev/null - - # clean up after the doc building - rm roman.py html4css1.css -} - -src_test() { - testing() { - # Tests are broken with Python 3. - [[ "${PYTHON_ABI:0:1}" == "3" ]] && return - - pushd test > /dev/null - PYTHONPATH="../build/lib" ./alltests.py || return 1 - popd > /dev/null - } - python_execute_function -s testing -} - -install_txt_doc() { - local doc="${1}" - local dir="txt/$(dirname ${doc})" - docinto "${dir}" - dodoc "${doc}" -} - -src_install() { - DOCS="*.txt" - distutils_src_install - - # Tools - cd tools - for tool in *.py; do - dobin "${tool}" - done - - # Docs - cd "${S}" - dohtml -r docs tools - # Manually install the stylesheet file - insinto /usr/share/doc/${PF}/html - doins docutils/writers/html4css1/html4css1.css - for doc in $(find docs tools -name "*.txt"); do - install_txt_doc "${doc}" - done - - # installing Gentoo GLEP tools. Uses versioned GLEP distribution - if use glep; then - dobin ${GLEP_SRC}/glep.py || die "dobin failed" - - installation_of_glep_tools() { - insinto $(python_get_sitedir)/docutils/readers - newins ${GLEP_SRC}/glepread.py glep.py || die "newins reader failed" - insinto $(python_get_sitedir)/docutils/transforms - newins ${GLEP_SRC}/glepstrans.py gleps.py || die "newins transform failed" - insinto $(python_get_sitedir)/docutils/writers - doins -r ${GLEP_SRC}/glep_html || die "doins writer failed" - } - python_execute_function --action-message 'Installation of GLEP tools with Python ${PYTHON_ABI}...' installation_of_glep_tools - fi -} - -pkg_postinst() { - python_mod_optimize docutils roman.py -} - -pkg_postrm() { - python_mod_cleanup docutils roman.py -} |