summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/docutils')
-rw-r--r--dev-python/docutils/ChangeLog6
-rw-r--r--dev-python/docutils/Manifest27
-rw-r--r--dev-python/docutils/docutils-0.8.1.ebuild119
-rw-r--r--dev-python/docutils/docutils-0.9.1.ebuild119
-rw-r--r--dev-python/docutils/docutils-0.9.ebuild110
5 files changed, 6 insertions, 375 deletions
diff --git a/dev-python/docutils/ChangeLog b/dev-python/docutils/ChangeLog
index 8cfba21fbae5..69ee9cc0681d 100644
--- a/dev-python/docutils/ChangeLog
+++ b/dev-python/docutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/docutils
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.211 2015/01/05 09:15:14 dlan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.212 2015/02/01 16:29:03 mrueg Exp $
+
+ 01 Feb 2015; Manuel Rüger <mrueg@gentoo.org> -docutils-0.8.1.ebuild,
+ -docutils-0.9.1.ebuild, -docutils-0.9.ebuild:
+ Remove old.
05 Jan 2015; Yixun Lan <dlan@gentoo.org> docutils-0.12.ebuild:
keyword ~arm64, test on board
diff --git a/dev-python/docutils/Manifest b/dev-python/docutils/Manifest
index 9008f1cd33a7..9fc0d9119a37 100644
--- a/dev-python/docutils/Manifest
+++ b/dev-python/docutils/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX docutils-0.10-optparser.patch 1240 SHA256 55d4fcc33459da92026dfff1c9549bd955d243a43e8f456a7af2e9389bcd4998 SHA512 2ae6acadbd490efcf6dfb4caa46bd6db8535d2f4c5349071e5a98828bc4c2bfb4a8b64565cf014b9c945076e7f55b4950317a24d0ccdfd108ee427bfb8e84f55 WHIRLPOOL 68a48a462bf65dc7a249233f60d7671ba6fa3d33ba6531c6269dc090935fde5f0fd37526d5314723ef9878f47ffee4eb6ff946ea10e909edc7a21b50dcc0d1d5
AUX docutils-0.11-python3.3-odt-writer.patch 1057 SHA256 4a25fb0e5cd8cd7f94963a389f2f6c2efad6cd5830cbdeba9d25ff6484a45e77 SHA512 c92a00f5bf2b44f66a1aed1df21280e3f190f3a9d8f87cdbce6851068eb31feeed04c0b057b0685cf2783e0a2bf0a2daef9cb1c4a5dba57b09bc32a5c199398f WHIRLPOOL b6b1a11b874b16378fb6ef630b389087d9bfd074bcf9ae5a06b01626f0a411f2a8337184dcc244509c9adb7bbe45baea8f8531911fc34f36a344b678f1c965b2
AUX docutils-0.6-extra_modules.patch 828 SHA256 782351307ed68162399e51b0fe6412d931a791e5e9b7f454ea345b9ba8260133 SHA512 e7afc9c1f54def98c7f54c090a4bf324d6fb0a0920150a14e355853acfed2767c477bcab84459642615323b64a6037f0d76c848cf8669ecc55e13e1db7d8fb08 WHIRLPOOL 99b9fe9dda398241c48d79e0ef9eedb5b4df2348866414a67b94d71c0cacbd4a2c65e7af1c38646369cf5d2c76b45704451f2813058a1e459727dd2a3c833569
@@ -10,33 +7,11 @@ AUX docutils-0.7-python-3.2-xml.etree.ElementTree.patch 447 SHA256 0aeceb109ea15
DIST docutils-0.10.tar.gz 1602552 SHA256 370624e61b6773da2f2fb17cc2a4eaea4bb596c3585d13f75ff193c1c738603e SHA512 255474d4d9efc427ecb2123939af64475335c1f2af2f1b398a0c540693629f6ce6b105fb45f6ef962800948e2844b5140ecc6b81218e3c8619d14c9c7f2705c4 WHIRLPOOL 7e25c5b9206f019acc9131a0b5baf05fd21d042d121e2c472a8d908cc668346e26572d6db6546200dc9b85fb9b8a462e3ada59eb9c760f9915efaa510ffe74fa
DIST docutils-0.11.tar.gz 1611755 SHA256 9af4166adf364447289c5c697bb83c52f1d6f57e77849abcccd6a4a18a5e7ec9 SHA512 8e87581b27ce4fb5e97dcef56047f4bf3a076b98e9e42f5dc66f4c370e5893d1571e46f00fee6f1c8b9f8c8a79e128e4599b9ee213ad1dee2bf16a0246e187df WHIRLPOOL 0231e34e8c84a29f52f244dfe8d3fdbb8f2db9f6e5f26d0a5953c109a2620b15f86874e3b7604aeccf805f789abef7e7af5cc076dde25f2e2947bad11d2ae58c
DIST docutils-0.12.tar.gz 1618353 SHA256 c7db717810ab6965f66c8cf0398a98c9d8df982da39b4cd7f162911eb89596fa SHA512 0087433f8b76e1d0302d2fab77fdbda941132d16ac1fcecb26ca66119687eefd9e2f6901e05d705f857fa31e2526136c9827dfd57c44cd295bd10dcce3faebf9 WHIRLPOOL 9b9d9d7315351e4b803195a157836df13a10fc706c0aea2c6ac7c6d01bd034870106d0ceedfbd7e9fae17420f3d116df30cc222ad5b3c7205d5eca767d550564
-DIST docutils-0.8.1.tar.gz 1499832 SHA256 5a3b776518257a59fefaf48ef1e0635bc1179f8cafb02a9cc84c9644bb25df71 SHA512 61d09a3a07ca8c53aa830415066bd3d78ba6f9493f5ceb8351ba04967157494079a84ff0bc242145460a83f3980b09961b128aa3421d4614651066f23639635a WHIRLPOOL a16872c190cd854a8ffb111ed1f9dd6d8ad4bdd3732c34173628b37ac9214b27706136f411f43421adf6935c6aa3dcdf178bf41b17ae80d750b0492fa0d6ea1c
DIST docutils-0.9.1.tar.gz 1541437 SHA256 e89f187dbbc6674f839239c89fec44af9f18809b66a8a55a41b57b9ee2356994 SHA512 ac1158c562533796f26d4bc451cc9cd371f7fad60d190aa43c763d53a15c2b7656962e7ef72248439896a5fd759c53f6aee14b08bca2292542e944fa9bb044e9 WHIRLPOOL 6b197c1e96a218d9a3a2116ea6e68cae22130c77025fe6e6942f698a918b96579a9216daf23e01cb1c54c7d52ddcc4a3e8ec1b8279ae7be7e3044e044e14c039
-DIST docutils-0.9.tar.gz 1534138 SHA256 ff49bf77e9135490a73740d884b418ab8b982ad16ee52cfe796d059c592ea245 SHA512 ce015d79093e8fa0e14851c5f122a2c2d38981c82358bb1a9219271af2d12bf3219abbeed362114342ebd5a7173e0bf4a3686987c70bb950c72c2ffa3fed2440 WHIRLPOOL b33d34a5de0adb7e77a3c053b3cd800152e1bcdac1006aac5b7450465844d176a2a7e9b6e41507343bcfc747aba9316f01df661f84555d5a9bc28a42db202320
DIST glep-0.4-r1.tbz2 4667 SHA256 d0b421869fb3437e96484687fd57f34d4f5cdd5a1fbdb2314f1474b1f9afa058 SHA512 098d9f5043a60af9dfac63f6472b576e66ffeda924902ca825ed63f573aeb8bad7c9f9a6853fd99e648683488ee6db2ee55c139df3dde06983b72cfb5dd8cdd3 WHIRLPOOL 277cdf4a7fe70990864a4f0fd592561bcf5edc1de8d4830da96c75093d47d8d64214b95ac5ae7960670a8520650a5e23355df248f61bddcd9cd5dc23cab0fe19
EBUILD docutils-0.10.ebuild 2174 SHA256 91fbc6ba229f83022b390aa53375ff5c535532c041531f716a9864a39c7ed5d3 SHA512 26069ce80aa62a0a32222771efaabc6e3b5308aac8a61f7c5d442de92dafff5c06ebd39382a707632dc44897c16ba049ee81e22f8b23a4b83b6f00f3b1ee5175 WHIRLPOOL e43890a6ef90af7c40dea2522fcf11f82daf148d68e46e70d839cb1113e1743313094ecdc2d55c91a04cf5bf1932812cbd0293f26d9015266741138c4c96a225
EBUILD docutils-0.11.ebuild 2106 SHA256 36b92dbfb0e3422c699d620b341dfbbb8d96a1e0d8a53580bb53309e3e4fae8f SHA512 75b0583ccf13a348902421b2aa943431f8237c74183b94bb0c9bfee1c0f11a591fef06e1b1e6f1a029b9b82eda72c9863ecb71ef57a407bae5e961178bd90f9e WHIRLPOOL 4f694c4b8f0b0345f1583929fb1a7623c333c1858f136dd953bba9899ab7074d1c60aa02d5d404e02ff71415e16eaa23bd2da5a069365c84ee195862182e91c4
EBUILD docutils-0.12.ebuild 2024 SHA256 1564a768ce05ae070cd6a2851ecf95c2ab0a8edf1e643656b7d0bd008ab03493 SHA512 ae17b81c51d2bb41fa9f24cf1987a0264ec81f6a0b5ae51de02f649120ea9afddcae343b988433fad57727bd121e986c819c09b4a4f77420d1451f30b79404db WHIRLPOOL 51c9a455c07d12d14c0f0ddee745a74c12f3b8c110463d49f3aa4f6c579a0c34c63d6179ccef266b136481de524b6093c74165fb6d4262aa1fdedb713956f9a1
-EBUILD docutils-0.8.1.ebuild 4480 SHA256 d5dc8b07a95adb229c02290374ed4c82ac79f0557535bdb47fafd41c2af7fd7f SHA512 96739bae1783582ec62d5546189559c3d88ece05c44fcfb5ec0272f8655f89266501c880ddb55b4b0d5b331a3daab82fda8700bfa8be5abcda4aecd0570a47d5 WHIRLPOOL 0234d2259a4d1cffc251294fd7119515dfa057d8800804336104eb45c433c51bc591789961b54f5ea92fc8bcf87b9a75697cf676ed386170845560f6ad9ba4e2
EBUILD docutils-0.9.1-r1.ebuild 2756 SHA256 329dfb567c6dbcbecae0caed6738367997b33ac0e9837bade9289cb8e1db5e9a SHA512 684673b589d488abc1bc1c11f58c438fd06826f2240727810ad6df218d85534175a73e96758bef7cd4cc3d88f7eeab4bf018bffdd86ffd81ef26cab788d64aff WHIRLPOOL 7d5fe9eceadb1a23cb4a4bea5ef06aa84930a4635dcb6444948a79581908666b5f549ed9655989a79d5acf167f4efc056360a1ec2b59d1696bc42122799eb79f
-EBUILD docutils-0.9.1.ebuild 3583 SHA256 9cb0b18c1522081307f39ab9c82bc950b9f20400c7eb561d97aa7f8da10c1b1d SHA512 eefcbb8f67338741a66915284a4c1efd19574325461148571e93421ae142ad70cff2d65eca9d7393d2e7aea6fc92a6072a2333ce2a8dcb8bffb317c9234efbaa WHIRLPOOL a0f845472c556d38491122a1936a847e8221a3cbe093afaa15349872fa2b6ecfdf76e5d396e56ef5fdd4c9d38d8fbf6d69487fb7ba6312f2d1809de919589a78
-EBUILD docutils-0.9.ebuild 4104 SHA256 866a488bc9bb1683358e9726d005a0580a77683833dccb2e3e9f7649f8fdd6ce SHA512 ee9cc41c56fcc1e41074ed7642525601debace25186c9a44781737999dc01c58d56f7e0b02f8cb31b49dbf13e749bc16ed4a2bccb561ff3b99667a227523f696 WHIRLPOOL b6bc09b2c75f8b3d621b8fdfc76a276a34b9cfffd7c48e8898ba56ea9919fd89baacfa0f6c3f4efc3bbf88573d3126d45bbf2b914b07910700ee17c9994a2009
-MISC ChangeLog 28705 SHA256 abec1217fc54e9f82391612b9f017b63a25b1d903194208f5174894888f705f3 SHA512 06b0bf664e86dfeb9ea259b87ecc84c30ad76b4632e4a04a30439e16913bce8c6e542e3c743dbc81f081985b98b50e98a882ad65607698cd7f66b7ddd3da09e0 WHIRLPOOL 05ae391a3805a9318127dde68c5001d1d2325c8275ca24cc41e481e1f7ef38d2658526f1f58c537fab4a553aee3eb60ed6dcdf5bea21b37f681d20a2450e9d7e
+MISC ChangeLog 28841 SHA256 736e6e3c096b851f02a928fa1ad76c564411c77378ad232f936b9b7faac6a614 SHA512 7911b980dc4f5bfed2a33618137b0630755328d45a79656480b20cd5bb3232645c8ca3f0aa17f11f5cb8b0efcef1f4bc9a4560f2fc7ae0ab3e0dce455626c0db WHIRLPOOL e459a64e5a184f2637d8df4967a4aea5689e055affa108c26f3f81ada2406238d61cd8adaad3781a91e515b1c4aba3fc7b91c16802892b0859410430a28e5e10
MISC metadata.xml 224 SHA256 0bb6bfd1577f4800009497c7813935f712ae6a44dbbdec1a903e79eaa5f21755 SHA512 84a00eb058c5f923404a2ede0df0a2ef9a1b4143a2f7d7b8ddfd5b68c8342dc68e89b5042e603a93b756e8e69cb92a5a32e6aa9ced869d30de1e41c874e080f3 WHIRLPOOL 9392f13e54a9fa3df0396729edecc43709acb478f2d67add1f0b3aeeb16c902fac3d970dcacab9be6ae1094f8700848d790acb260e288440ca80f9be8d0ae0b6
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
-
-iQIcBAEBCAAGBQJUqlYrAAoJEJIMDbyqvv1VyUMP/joqmIwVdJW6+bQPVQPBmk8D
-iHVCOorQdwjGNgJ9kcOnwkxJ7/zcrOTdzt7PMvOuzWAU8vdx3zNm7BF90/YEUzgA
-nj2Ibbg5NFlwffpByxy+DNb/yXzUcUBP3ha5Ue7/tL6mRwAu9FET2VettNB7KJ8D
-KiqLlqXoKlqWQJcTW5yvSATDLtZfSKNjs5boDIIWeU1v028nIObgCEm+oKoIGl4p
-tBnW0akqTr/kmF1QzrkgWTkuUAwKU8zRwIJbCHZxApkIXk8uWT6kMCh40a2jgpT3
-NmPNYZS2OUlmtxECgZX3wPR9h9oNs3YSJB76vNgVu+cx9SkTuShi02wJia0Emg58
-TGUh680p/7IAwsxhwnzpN0BsUuHPZJTriXDaD4G+JRhIHgJobdNuFXPwb3FqsnlA
-fs5jpIV7WGkyJQ+fb4fe4SD0mLVKMlwYyRk6hvN3CIzH9qHtxL6SK1vOgEztSGZh
-I4s2TgI9uGi4G1DH+qki7EwgCo9RIGD1pM3ecKEcKLX3ZrEY3FtgP7TvfDyJmyLr
-wyPzohG4heFu2VbF1aG/XXfU794n69OOPbdnykzKP1RItopykh29ZmdwHisoK67f
-CRkaMq/qsxRvZ9ZDMfxcE25GSIoxBpJtKxaYKDMuKvvmKTlO1WxL4mC1atpkaknn
-GtbUUAOmAjvqLhxWvuwJ
-=gJ84
------END PGP SIGNATURE-----
diff --git a/dev-python/docutils/docutils-0.8.1.ebuild b/dev-python/docutils/docutils-0.8.1.ebuild
deleted file mode 100644
index ef7a6dc17fe4..000000000000
--- a/dev-python/docutils/docutils-0.8.1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.8.1.ebuild,v 1.11 2012/10/07 00:44:32 floppym Exp $
-
-EAPI="3"
-PYTHON_DEPEND="*::3.2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.3"
-
-inherit distutils eutils
-
-DESCRIPTION="Docutils - Python Documentation Utilities"
-HOMEPAGE="http://docutils.sourceforge.net/ http://pypi.python.org/pypi/docutils"
-if [[ "${PV}" == *_pre* ]]; then
- SRC_URI="mirror://gentoo/${P}.tar.xz"
-else
- SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-fi
-SRC_URI+=" glep? ( mirror://gentoo/glep-0.4-r1.tbz2 )"
-
-LICENSE="BSD-2 GPL-3 PSF-2 public-domain"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="glep"
-
-DEPEND="dev-python/setuptools"
-RDEPEND=""
-
-DOCS="*.txt"
-PYTHON_MODNAME="docutils roman.py"
-
-GLEP_SRC="${WORKDIR}/glep-0.4-r1"
-
-src_prepare() {
- # 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"
-}
-
-src_compile() {
- distutils_src_compile
-
- # Generate html docs from reStructured text sources.
-
- # Make roman.py available for process of building of documentation.
- ln -s extras/roman.py
-
- # Place html4css1.css in base directory to ensure that the generated reference to it is correct.
- cp docutils/writers/html4css1/html4css1.css .
-
- pushd tools > /dev/null
-
- echo PYTHONPATH="../build-$(PYTHON -f --ABI)/lib" "$(PYTHON -f)" $([[ -f ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py ]] && echo ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py || echo ../tools/buildhtml.py) --input-encoding=utf-8 --stylesheet-path=../html4css1.css --traceback ../docs
- PYTHONPATH="../build-$(PYTHON -f --ABI)/lib" "$(PYTHON -f)" $([[ -f ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py ]] && echo ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py || echo ../tools/buildhtml.py) --input-encoding=utf-8 --stylesheet-path=../html4css1.css --traceback ../docs || die "buildhtml.py failed"
-
- popd > /dev/null
-
- # Clean up after building of documentation.
- rm roman.py html4css1.css
-}
-
-src_test() {
- testing() {
- echo PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" $([[ -f build-${PYTHON_ABI}/lib/test/alltests.py ]] && echo build-${PYTHON_ABI}/lib/test/alltests.py || echo test/alltests.py)
- PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" $([[ -f build-${PYTHON_ABI}/lib/test/alltests.py ]] && echo build-${PYTHON_ABI}/lib/test/alltests.py || echo test/alltests.py)
- }
- python_execute_function testing
-}
-
-install_txt_doc() {
- local doc="${1}"
- local dir="txt/$(dirname ${doc})"
- docinto "${dir}"
- dodoc "${doc}"
-}
-
-src_install() {
- distutils_src_install
-
- postinstallational_preparation() {
- # Install tools.
- mkdir -p "${T}/images/${PYTHON_ABI}${EPREFIX}/usr/bin"
- pushd $([[ -d build-${PYTHON_ABI}/lib/tools ]] && echo build-${PYTHON_ABI}/lib/tools || echo tools) > /dev/null
- cp buildhtml.py quicktest.py "${T}/images/${PYTHON_ABI}${EPREFIX}/usr/bin"
- popd > /dev/null
-
- # Delete useless files, which are installed only with Python 3.
- rm -fr "${ED}$(python_get_sitedir)/"{test,tools}
- }
- python_execute_function -q postinstallational_preparation
- python_merge_intermediate_installation_images "${T}/images"
-
- # Install documentation.
- dohtml -r docs tools
-
- # Install stylesheet file.
- insinto /usr/share/doc/${PF}/html
- doins docutils/writers/html4css1/html4css1.css
- local doc
- for doc in $(find docs tools -name "*.txt"); do
- install_txt_doc "${doc}"
- done
-
- # Install Gentoo GLEP tools.
- 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_get_implementation_and_version)...' installation_of_glep_tools
- fi
-}
diff --git a/dev-python/docutils/docutils-0.9.1.ebuild b/dev-python/docutils/docutils-0.9.1.ebuild
deleted file mode 100644
index 847bc9a62388..000000000000
--- a/dev-python/docutils/docutils-0.9.1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.9.1.ebuild,v 1.12 2013/01/04 21:56:30 ago Exp $
-
-EAPI="4"
-PYTHON_DEPEND="*::3.2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.3"
-
-inherit distutils
-
-DESCRIPTION="Docutils - Python Documentation Utilities"
-HOMEPAGE="http://docutils.sourceforge.net/ http://pypi.python.org/pypi/docutils"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-SRC_URI+=" glep? ( mirror://gentoo/glep-0.4-r1.tbz2 )"
-
-LICENSE="BSD-2 GPL-3 public-domain"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="glep"
-
-RDEPEND="dev-python/pygments"
-DEPEND="${RDEPEND}"
-
-DOCS="*.txt"
-
-GLEP_SRC="${WORKDIR}/glep-0.4-r1"
-
-src_compile() {
- distutils_src_compile
-
- # Generate html docs from reStructured text sources.
-
- # Place html4css1.css in base directory to ensure that the generated reference to it is correct.
- cp docutils/writers/html4css1/html4css1.css .
-
- pushd tools > /dev/null
-
- PYTHONPATH="../build-$(PYTHON -f --ABI)/lib" "$(PYTHON -f)" \
- ../tools/buildhtml.py --input-encoding=utf-8 \
- --stylesheet-path=../html4css1.css --traceback ../docs || die
-
- popd > /dev/null
-
- # Clean up after building of documentation.
- rm html4css1.css
-}
-
-src_test() {
- testing() {
- local testfile=test/alltests.py
- if [[ $(python_get_version --language --major) == 3 ]]; then
- testfile=test3/alltests.py
- fi
- echo PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" "${testfile}"
- PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" "${testfile}"
- }
- python_execute_function testing
-}
-
-install_txt_doc() {
- local doc="${1}"
- local dir="txt/$(dirname ${doc})"
- docinto "${dir}"
- dodoc "${doc}"
-}
-
-src_install() {
- distutils_src_install
-
- postinstallational_preparation() {
- # Install tools.
- mkdir -p "${T}/images/${PYTHON_ABI}${EPREFIX}/usr/bin"
- cp tools/{buildhtml,quicktest}.py \
- "${T}/images/${PYTHON_ABI}${EPREFIX}/usr/bin"
- }
- python_execute_function -q postinstallational_preparation
- python_merge_intermediate_installation_images "${T}/images"
-
- # Install documentation.
- dohtml -r docs tools
-
- # Install stylesheet file.
- insinto /usr/share/doc/${PF}/html
- doins docutils/writers/html4css1/html4css1.css
- local doc
- for doc in $(find docs tools -name "*.txt"); do
- install_txt_doc "${doc}"
- done
-
- # Install Gentoo GLEP tools.
- if use glep; then
- dobin "${GLEP_SRC}/glep.py"
-
- installation_of_glep_tools() {
- insinto $(python_get_sitedir)/docutils/readers
- newins "${GLEP_SRC}/glepread.py" glep.py
- insinto $(python_get_sitedir)/docutils/transforms
- newins "${GLEP_SRC}/glepstrans.py" gleps.py
- insinto $(python_get_sitedir)/docutils/writers
- doins -r "${GLEP_SRC}/glep_html"
- }
- python_execute_function --action-message 'Installation of GLEP tools with $(python_get_implementation_and_version)' installation_of_glep_tools
- fi
-}
-
-pkg_preinst() {
- # Remove egg-info directory left over from setuptools.
- [[ ${PV} == 0.9.1 ]] || die "pkg_preinst no longer needed"
- remove_egg_info() {
- local lv="$(python_get_version --language)"
- local sitedir="$(python_get_sitedir --base-path)"
- local egg_info="${ROOT}${sitedir}/${P}-py${lv}.egg-info"
- if [[ -d "${egg_info}" ]]; then
- rm -r "${egg_info}"
- fi
- }
- python_execute_function -q remove_egg_info
-}
diff --git a/dev-python/docutils/docutils-0.9.ebuild b/dev-python/docutils/docutils-0.9.ebuild
deleted file mode 100644
index a1e9c7c70638..000000000000
--- a/dev-python/docutils/docutils-0.9.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.9.ebuild,v 1.5 2012/10/07 00:44:32 floppym Exp $
-
-EAPI="4"
-PYTHON_DEPEND="*::3.2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.3"
-
-inherit distutils
-
-DESCRIPTION="Docutils - Python Documentation Utilities"
-HOMEPAGE="http://docutils.sourceforge.net/ http://pypi.python.org/pypi/docutils"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-SRC_URI+=" glep? ( mirror://gentoo/glep-0.4-r1.tbz2 )"
-
-LICENSE="BSD-2 GPL-3 public-domain"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="glep"
-
-RDEPEND="dev-python/pygments"
-DEPEND="dev-python/setuptools
- ${RDEPEND}"
-
-DOCS="*.txt"
-
-GLEP_SRC="${WORKDIR}/glep-0.4-r1"
-
-src_prepare() {
- distutils_src_prepare
- sed -e "s/from distutils.core/from setuptools/" -i setup.py || die "sed setup.py failed"
-}
-
-src_compile() {
- distutils_src_compile
-
- # Generate html docs from reStructured text sources.
-
- # Place html4css1.css in base directory to ensure that the generated reference to it is correct.
- cp docutils/writers/html4css1/html4css1.css .
-
- pushd tools > /dev/null
-
- echo PYTHONPATH="../build-$(PYTHON -f --ABI)/lib" "$(PYTHON -f)" $([[ -f ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py ]] && echo ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py || echo ../tools/buildhtml.py) --input-encoding=utf-8 --stylesheet-path=../html4css1.css --traceback ../docs
- PYTHONPATH="../build-$(PYTHON -f --ABI)/lib" "$(PYTHON -f)" $([[ -f ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py ]] && echo ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py || echo ../tools/buildhtml.py) --input-encoding=utf-8 --stylesheet-path=../html4css1.css --traceback ../docs || die "buildhtml.py failed"
-
- popd > /dev/null
-
- # Clean up after building of documentation.
- rm html4css1.css
-}
-
-src_test() {
- testing() {
- echo PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" $([[ -f build-${PYTHON_ABI}/lib/test/alltests.py ]] && echo build-${PYTHON_ABI}/lib/test/alltests.py || echo test/alltests.py)
- PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" $([[ -f build-${PYTHON_ABI}/lib/test/alltests.py ]] && echo build-${PYTHON_ABI}/lib/test/alltests.py || echo test/alltests.py)
- }
- python_execute_function testing
-}
-
-install_txt_doc() {
- local doc="${1}"
- local dir="txt/$(dirname ${doc})"
- docinto "${dir}"
- dodoc "${doc}"
-}
-
-src_install() {
- distutils_src_install
-
- postinstallational_preparation() {
- # Install tools.
- mkdir -p "${T}/images/${PYTHON_ABI}${EPREFIX}/usr/bin"
- pushd $([[ -d build-${PYTHON_ABI}/lib/tools ]] && echo build-${PYTHON_ABI}/lib/tools || echo tools) > /dev/null
- cp buildhtml.py quicktest.py "${T}/images/${PYTHON_ABI}${EPREFIX}/usr/bin"
- popd > /dev/null
-
- # Delete useless files, which are installed only with Python 3.
- rm -fr "${ED}$(python_get_sitedir)/"{test,tools}
- }
- python_execute_function -q postinstallational_preparation
- python_merge_intermediate_installation_images "${T}/images"
-
- # Install documentation.
- dohtml -r docs tools
-
- # Install stylesheet file.
- insinto /usr/share/doc/${PF}/html
- doins docutils/writers/html4css1/html4css1.css
- local doc
- for doc in $(find docs tools -name "*.txt"); do
- install_txt_doc "${doc}"
- done
-
- # Install Gentoo GLEP tools.
- if use glep; then
- dobin "${GLEP_SRC}/glep.py"
-
- installation_of_glep_tools() {
- insinto $(python_get_sitedir)/docutils/readers
- newins "${GLEP_SRC}/glepread.py" glep.py
- insinto $(python_get_sitedir)/docutils/transforms
- newins "${GLEP_SRC}/glepstrans.py" gleps.py
- insinto $(python_get_sitedir)/docutils/writers
- doins -r "${GLEP_SRC}/glep_html"
- }
- python_execute_function --action-message 'Installation of GLEP tools with $(python_get_implementation_and_version)' installation_of_glep_tools
- fi
-}