diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-02-06 01:51:12 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-02-06 01:51:12 +0000 |
commit | fb45b61e6ae1199b726af0c42399b59eb57d863b (patch) | |
tree | cbec81abcd0222a4d066dc19400e137ec6909b7e /dev-python/sphinx | |
parent | Fix typo in manifest (diff) | |
download | historical-fb45b61e6ae1199b726af0c42399b59eb57d863b.tar.gz historical-fb45b61e6ae1199b726af0c42399b59eb57d863b.tar.bz2 historical-fb45b61e6ae1199b726af0c42399b59eb57d863b.zip |
Remove old.
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-python/sphinx')
-rw-r--r-- | dev-python/sphinx/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/sphinx/Manifest | 15 | ||||
-rw-r--r-- | dev-python/sphinx/sphinx-1.0.7.ebuild | 85 | ||||
-rw-r--r-- | dev-python/sphinx/sphinx-1.1.2.ebuild | 85 | ||||
-rw-r--r-- | dev-python/sphinx/sphinx-1.1.3-r1.ebuild | 86 | ||||
-rw-r--r-- | dev-python/sphinx/sphinx-1.1.3-r2.ebuild | 120 | ||||
-rw-r--r-- | dev-python/sphinx/sphinx-1.1.3.ebuild | 85 |
7 files changed, 10 insertions, 473 deletions
diff --git a/dev-python/sphinx/ChangeLog b/dev-python/sphinx/ChangeLog index 1429fca4e842..957b29323f91 100644 --- a/dev-python/sphinx/ChangeLog +++ b/dev-python/sphinx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/sphinx # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.130 2013/02/06 01:04:42 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.131 2013/02/06 01:51:10 floppym Exp $ + + 06 Feb 2013; Mike Gilbert <floppym@gentoo.org> -sphinx-1.0.7.ebuild, + -sphinx-1.1.2.ebuild, -sphinx-1.1.3-r1.ebuild, -sphinx-1.1.3-r2.ebuild, + -sphinx-1.1.3.ebuild: + Remove old. *sphinx-1.1.3-r6 (06 Feb 2013) diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index 760c58487c11..f3cf67a21333 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -3,23 +3,16 @@ Hash: SHA256 AUX sphinx-1.1.3-docutils-manpage.patch 1310 SHA256 97d29af271a833188245399912fb459c4182262138411f9f745821493507977f SHA512 340340215c5549aa3d59afbfacfef9e5b08a5d22700bd8d2391edd38960c5a5f4db95abe2c052f01fd4873852ce2dbe485f9a87f0f2fc8689fe8b3f1fa064521 WHIRLPOOL 9d50448b9c7fbd7cc95e4675df2f2be79b15c654d82f7f0740ff7ca3881e4227005eedc0ad7bd6a12548c71fefd06479a5cec1d255e089c0cb39fa9ae53257b9 AUX sphinx-1.1.3-python3.patch 1793 SHA256 f21f0f4f8b1f83660344b7b8c1512f853d579eb2938e7f6b4305008252824f46 SHA512 c7970403bc8f6d329a5e9c5abf0ad0a7465f1249706f5ca7cffbc374c5214c14903b524c415df8bd14cb7c2f080a19c96ddbba77f7fc8ce0a699b36005fdbb36 WHIRLPOOL a7f69a5da9f258ac583a86046547362c1c3547187f4074eaec4b605b6a09ca9a070f4257a3cb6ae2cd2fbc3a33c4e893c313741625cee3f482b5b52dd8116466 -DIST Sphinx-1.0.7.tar.gz 2285875 SHA256 80d62f3f7913c3322bf279ec26bfb12c1ce70404b00f4c87dc3ac190d150b0ab SHA512 15a03a45f6c401c532e5c806f6a8453d89018a44afb1ec1906c5ccbf7bff2234f4d2d30979344991bb697c70cbdcc63b774590951cdc52cb7fe55ff083a8664d WHIRLPOOL 9ea18475b9489f88de551ffdbc924af933d09f937becba27d2f9aaa1ac4634c905891a179f8b3552b3843c42e1b5e70ad9e6e3ddd291b5dfa5b31727755ee446 -DIST Sphinx-1.1.2.tar.gz 2624636 SHA256 cf66ee61eef61b7c478907282bddcdd5e04eebd69a00a2bb93881427938fe688 SHA512 30124729c45ca4b08e22cb93084620290308720d832998630825764453676b56d61f107153e812b2b89d90336a0df736bb4b11df8e30292d93523a7fc97b1279 WHIRLPOOL d144bb26904900de64c2d3c423370eec5d7b97974c4f469adb2e79e1db3d2de95e7d4706ec899b4b2307193fcaa6cb19d48f1cd1518c2d260c881ef2e39fa013 DIST Sphinx-1.1.3.tar.gz 2632059 SHA256 34dc95b70a2b07a61b5d61034c34b05f82514aab54ad27adedb49cee911bb8e9 SHA512 b8312140d752bf557c8e41728513812aff3e5d0a89af88dea9da0df21bf09c8315f13305d7a724a5596d0192b167d613065ea564c6d92e4ffb23f1f246dbf052 WHIRLPOOL a40c4d0f5c32cf1d4b9b662b0fb2b2b0956e0455abbc88d6b5f95c54f93cc2baae25e8b9196dd0b64090d30a1a796c336ca4b6866243be4198ccdf67a7e18b48 -EBUILD sphinx-1.0.7.ebuild 2630 SHA256 d91450e31fb3af868de6797f693d23ff7398844b3c3a5008e872d2191063bb1e SHA512 4267ef724d3a503e6e186d39fc327e9202d321a99e0ee2ee93debbf9ad2f6c0f49029afb8d9b33bf8b861c437cfd39770c8fca823a0a21c09f8b2b9bb5e50c04 WHIRLPOOL 7e34f6d7664d41efb89813ec90d69a43b55aebd8bec20eacfea4607d0d70df2e7881d7a6fa3a3fa4df36cbb4b54fbff9781eddb8ff08698c1784ea4fe271e18c -EBUILD sphinx-1.1.2.ebuild 2633 SHA256 5df6092ff1ef1fdc11efbb3252d08007a6e81112f32897f558b1669ff4a52286 SHA512 e5c5b662a5664c8d926207560104d78614f3ec07b8e384e9575287935f2e3579ce2956126a9c43834270b0ce30f5fd0a2078a9103e06045ba928689ac79e1419 WHIRLPOOL f1d675f443238452753f3bc6121ed613d2898874bc803ffd95f2ef881320e681afcd95449163a6318b722b6b6e463f4e38caf223680929213ed0acd63bdf39ff -EBUILD sphinx-1.1.3-r1.ebuild 2716 SHA256 cd454b3ff1fed2ee20d99a0522df341fc6265f85e1cf42ec45c9972ecd3af839 SHA512 ab921f7cf36ad8677f9a3bed349fcc1407a0e099289651b64d7201c0bf115f1cf8dbb72a775e6d4cc8ed3ac7eeb0a7fee9d609b4a44f68521fe47f04de3eb675 WHIRLPOOL 1c74f11e84b991350e7a5e2a30b7b37a4395a6f07482fd67b9cef326388b3cf1bf73e37a9ffd54f4937ce52800a684710f2a7fc00acd5123683a29f0512a7b14 -EBUILD sphinx-1.1.3-r2.ebuild 3525 SHA256 43b61ccc47e8ccc732546b3d051e5e4e7ff73e4e3b43f854cea6fe74c9c9949a SHA512 3a18b9e52909ab6e61a4a11993bd2c68e1a6f74585e6e548b1ab7eea8deec9b083c39f9e8f586ecd0a6f27c0aaa88996d17f1ef9a6353ea48de79bd7996ab202 WHIRLPOOL 09b6de529fc4743212c3b89c90e684a00499a372ed0f8da4c875adc6aef647fff7dc6b4223bf9c150fcc6363474217021817f2fae7377a6f71e2a2393f92e5d1 EBUILD sphinx-1.1.3-r3.ebuild 3573 SHA256 86c4b9339c1f8e8456e39b59686ef264f743d386c3888d2202584f1793b6ce96 SHA512 0d42c768d620e2e2b76b3b769bd5961748c7dac865fb3a596028675136fa6f9d99ffa73701221b090d1c985f55c125ab270f61c319207358292dd8d02cb4e1e4 WHIRLPOOL ad7694e9c9ca90d7725b46f24b2caf649d65c6878d5dabc6211d0d206497c5c179af60c8f239a050d4bf2bf3b42a730ef2658e6e4e6cc09e461cd176539f8a87 EBUILD sphinx-1.1.3-r5.ebuild 2961 SHA256 e93bf8e6c6e57dc86f442d11c0bc9af37190e40e7186334fdd61e3e10a2f20e3 SHA512 ecf72879b6ccb38d446b6732bb796c66f1a72d13030ed7edb913ecd4eeb19c92c4846f85b4efd06f2559ab7902acbe4c704d0652d8866ecb9f72983bab255379 WHIRLPOOL 6a2b4e96d02bf2e0a173e1ccd9ed3221ea735a2c3af41413f6509ca0ab147e59653a60a4a0235a0ca43a75636b07617fbb1de4896a2c130a4d1bd841e96f1cec EBUILD sphinx-1.1.3-r6.ebuild 3007 SHA256 a057b97f9e40abd4c5b209220b0919c0f725eed8452808a30e1b9946e7625856 SHA512 6cf436b85b76a384b58f1cbcdeb1ce25e963433a56f1f2fcdbd64d52cb0308fbed304c4194c17e1b080d3e9c02d2a3e58ed7b2aa2fb9e80562d3467aa79b883c WHIRLPOOL 73fffa1e37caed31bbb26d1ffb48831b6eee00d4dc94506a5be4f9f28df98af309318ee3dcced530c78a956f46d8610ab2a9cb4e739686f27ad73adc4c6d524c -EBUILD sphinx-1.1.3.ebuild 2639 SHA256 bf5676a31c413f535545d9ce812010ce333f11e3eb14b44375ca879df2d9f21d SHA512 6169300d20e0baec4ed566d615a9abaf285398f53f36c5fe93789ba12af7b0270fedda4026765643d817994c0700585697f9c9ac2baea4e5ac26c33d4207de4b WHIRLPOOL 7b9dd0e827ef426cf6fab61840e36f061b3ca37251560323cac84f720e045a128442e11a9521016792b327008aef1b17f03d0ac355b304ae5df4fa96676f9e35 -MISC ChangeLog 16093 SHA256 ade74c2c0f98421d3f66719f31ab28e30a5d50ce153639b49bb64c55a07c1ce7 SHA512 0c6a0ad9391a6e7f6700f4512699651e6641e890657be068bb547530dcecc3b6673a98e79e73d50faee685afc9e81efe0e5040394ef75c6415dbdc7ed32da25c WHIRLPOOL 3172af9a484bcb5ef7ab502ef35cabd9f8300b362a99671b32b3540a155c07e26ab2ed1ad1aa3f60977b4985ac8cdb525c128c349babc00abf57fbd0c702c929 +MISC ChangeLog 16277 SHA256 9560353b1311a9e6c7566e44d659df3969139b62a36b308397b0216fdcc9ebff SHA512 b2e25119b65a663ca5c03ac033b1df132587e6388d50e9e19f9e38c03cabe5285256e16a8d6ca3214870142b162c35382a38d8190fddfc8fce32ad445d4fe994 WHIRLPOOL bd39e551e0e7ccc7b545ef55e2b169f185b24af7497095e5700a91068c9991c7aa0e5e00fa19ecbb7ccd31376ebbebae1f5e2450cca9bdc86d6b14e577c3b765 MISC metadata.xml 410 SHA256 ec32db3e710de4837b3b3f6077a1577fe318faf0b00976a972d4e269d7bd3367 SHA512 fd9b5eefde8b8f976e679f754281b4a5a07b62bba71820cde1b109ecc33c094ea08a6f904501b671bb309a6d23a1290a2e37e56f9b0902a3704a03ba4481b3dc WHIRLPOOL cae66b5efcefd9b3b8c61845fa1c77b38641eb16d63dfe888fb7eaeac713d6b4722727c2edf03330f1a4bb9144f4f4f26f886e3de509bbcd72b51acf94b46c95 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iF4EAREIAAYFAlERrCsACgkQC77qH+pIQ6QpuwD/dCDL3oihzydU3vfxz9t43sHf -2WQILkXo8CD6dLsbHPsBALo6UGZ+tpQ/n8cZGayHw5tCaeDYtWYZTWszeIM38DOY -=Nk8N +iF4EAREIAAYFAlERtxAACgkQC77qH+pIQ6Q8oAD8C4MrcxvY2pdf/A91BXB2li2E +rQ2KFhtyCdoBa+OzN5YA/RNekXAfExp5jlCMkb0HR5ZlZi1+Wwtj8Zdg4ULtycs1 +=FCMX -----END PGP SIGNATURE----- diff --git a/dev-python/sphinx/sphinx-1.0.7.ebuild b/dev-python/sphinx/sphinx-1.0.7.ebuild deleted file mode 100644 index d3d34789abb8..000000000000 --- a/dev-python/sphinx/sphinx-1.0.7.ebuild +++ /dev/null @@ -1,85 +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/sphinx/sphinx-1.0.7.ebuild,v 1.11 2012/03/10 17:50:10 jlec Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" -DISTUTILS_SRC_TEST="nosetests" - -inherit distutils - -MY_PN="Sphinx" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python documentation generator" -HOMEPAGE="http://sphinx.pocoo.org/ http://pypi.python.org/pypi/Sphinx" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc latex" - -DEPEND=">=dev-python/docutils-0.5 - >=dev-python/jinja-2.2 - >=dev-python/pygments-0.8 - dev-python/setuptools - latex? ( dev-texlive/texlive-latexextra )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -DOCS="CHANGES" - -src_compile() { - distutils_src_compile - - if use doc; then - pushd doc > /dev/null - einfo "Generation of documentation" - PYTHONPATH=".." emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed" - popd > /dev/null - fi -} - -src_install() { - distutils_src_install - - if use doc; then - dohtml -A txt -r doc/_build/html/* || die "Installation of documentation failed" - fi -} - -pkg_postinst() { - distutils_pkg_postinst - - # Generate the Grammar pickle to avoid sandbox violations. - generation_of_grammar_pickle() { - "$(PYTHON)" -c "import sys; sys.path.insert(0, '${EROOT}$(python_get_sitedir -b)'); from sphinx.pycode.pgen2.driver import load_grammar; load_grammar('${EROOT}$(python_get_sitedir -b)/sphinx/pycode/Grammar.txt')" - } - python_execute_function \ - --action-message 'Generation of Grammar pickle with $(python_get_implementation_and_version)...' \ - --failure-message 'Generation of Grammar pickle with $(python_get_implementation_and_version) failed' \ - generation_of_grammar_pickle -} - -pkg_postrm() { - distutils_pkg_postrm - - deletion_of_grammar_pickle() { - rm -f "${EROOT}$(python_get_sitedir -b)/sphinx/pycode"/Grammar*.pickle || return 1 - - # Delete empty parent directories. - local dir="${EROOT}$(python_get_sitedir -b)/sphinx/pycode" - while [[ "${dir}" != "${EROOT%/}" ]]; do - rmdir "${dir}" 2> /dev/null || break - dir="${dir%/*}" - done - } - python_execute_function \ - --action-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version)...' \ - --failure-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version) failed' \ - deletion_of_grammar_pickle -} diff --git a/dev-python/sphinx/sphinx-1.1.2.ebuild b/dev-python/sphinx/sphinx-1.1.2.ebuild deleted file mode 100644 index ca9505ef4a96..000000000000 --- a/dev-python/sphinx/sphinx-1.1.2.ebuild +++ /dev/null @@ -1,85 +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/sphinx/sphinx-1.1.2.ebuild,v 1.11 2012/05/28 14:15:36 armin76 Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" -DISTUTILS_SRC_TEST="nosetests" - -inherit distutils - -MY_PN="Sphinx" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python documentation generator" -HOMEPAGE="http://sphinx.pocoo.org/ http://pypi.python.org/pypi/Sphinx" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc latex" - -DEPEND=">=dev-python/docutils-0.7 - >=dev-python/jinja-2.3 - >=dev-python/pygments-1.2 - dev-python/setuptools - latex? ( dev-texlive/texlive-latexextra )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -DOCS="CHANGES" - -src_compile() { - distutils_src_compile - - if use doc; then - pushd doc > /dev/null - einfo "Generation of documentation" - PYTHONPATH=".." emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed" - popd > /dev/null - fi -} - -src_install() { - distutils_src_install - - if use doc; then - dohtml -A txt -r doc/_build/html/* || die "Installation of documentation failed" - fi -} - -pkg_postinst() { - distutils_pkg_postinst - - # Generate the Grammar pickle to avoid sandbox violations. - generation_of_grammar_pickle() { - "$(PYTHON)" -c "import sys; sys.path.insert(0, '${EROOT}$(python_get_sitedir -b)'); from sphinx.pycode.pgen2.driver import load_grammar; load_grammar('${EROOT}$(python_get_sitedir -b)/sphinx/pycode/Grammar.txt')" - } - python_execute_function \ - --action-message 'Generation of Grammar pickle with $(python_get_implementation_and_version)...' \ - --failure-message 'Generation of Grammar pickle with $(python_get_implementation_and_version) failed' \ - generation_of_grammar_pickle -} - -pkg_postrm() { - distutils_pkg_postrm - - deletion_of_grammar_pickle() { - rm -f "${EROOT}$(python_get_sitedir -b)/sphinx/pycode"/Grammar*.pickle || return 1 - - # Delete empty parent directories. - local dir="${EROOT}$(python_get_sitedir -b)/sphinx/pycode" - while [[ "${dir}" != "${EROOT%/}" ]]; do - rmdir "${dir}" 2> /dev/null || break - dir="${dir%/*}" - done - } - python_execute_function \ - --action-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version)...' \ - --failure-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version) failed' \ - deletion_of_grammar_pickle -} diff --git a/dev-python/sphinx/sphinx-1.1.3-r1.ebuild b/dev-python/sphinx/sphinx-1.1.3-r1.ebuild deleted file mode 100644 index 33264bdbe857..000000000000 --- a/dev-python/sphinx/sphinx-1.1.3-r1.ebuild +++ /dev/null @@ -1,86 +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/sphinx/sphinx-1.1.3-r1.ebuild,v 1.1 2012/03/31 19:55:28 floppym Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" -DISTUTILS_SRC_TEST="nosetests" - -inherit distutils - -MY_PN="Sphinx" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python documentation generator" -HOMEPAGE="http://sphinx.pocoo.org/ http://pypi.python.org/pypi/Sphinx" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc latex" - -DEPEND=">=dev-python/docutils-0.7 - >=dev-python/jinja-2.3 - >=dev-python/pygments-1.2 - dev-python/setuptools - latex? ( dev-texlive/texlive-latexextra )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -DOCS="CHANGES" - -src_compile() { - distutils_src_compile - - if use doc; then - pushd doc > /dev/null - einfo "Generation of documentation" - PYTHONPATH=".." emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed" - popd > /dev/null - fi -} - -src_install() { - distutils_src_install - python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/sphinx-build" - - if use doc; then - dohtml -A txt -r doc/_build/html/* || die "Installation of documentation failed" - fi -} - -pkg_postinst() { - distutils_pkg_postinst - - # Generate the Grammar pickle to avoid sandbox violations. - generation_of_grammar_pickle() { - "$(PYTHON)" -c "import sys; sys.path.insert(0, '${EROOT}$(python_get_sitedir -b)'); from sphinx.pycode.pgen2.driver import load_grammar; load_grammar('${EROOT}$(python_get_sitedir -b)/sphinx/pycode/Grammar.txt')" - } - python_execute_function \ - --action-message 'Generation of Grammar pickle with $(python_get_implementation_and_version)...' \ - --failure-message 'Generation of Grammar pickle with $(python_get_implementation_and_version) failed' \ - generation_of_grammar_pickle -} - -pkg_postrm() { - distutils_pkg_postrm - - deletion_of_grammar_pickle() { - rm -f "${EROOT}$(python_get_sitedir -b)/sphinx/pycode"/Grammar*.pickle || return 1 - - # Delete empty parent directories. - local dir="${EROOT}$(python_get_sitedir -b)/sphinx/pycode" - while [[ "${dir}" != "${EROOT%/}" ]]; do - rmdir "${dir}" 2> /dev/null || break - dir="${dir%/*}" - done - } - python_execute_function \ - --action-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version)...' \ - --failure-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version) failed' \ - deletion_of_grammar_pickle -} diff --git a/dev-python/sphinx/sphinx-1.1.3-r2.ebuild b/dev-python/sphinx/sphinx-1.1.3-r2.ebuild deleted file mode 100644 index 2692f2b6cd0e..000000000000 --- a/dev-python/sphinx/sphinx-1.1.3-r2.ebuild +++ /dev/null @@ -1,120 +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/sphinx/sphinx-1.1.3-r2.ebuild,v 1.3 2012/05/01 12:00:37 xarthisius Exp $ - -EAPI="4" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -DISTUTILS_SRC_TEST="nosetests" -PYTHON_TESTS_RESTRICTED_ABIS="2.5 *-pypy-*" - -inherit distutils - -MY_PN="Sphinx" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python documentation generator" -HOMEPAGE="http://sphinx.pocoo.org/ http://pypi.python.org/pypi/Sphinx" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc latex" - -DEPEND=">=dev-python/docutils-0.7 - >=dev-python/jinja-2.3 - >=dev-python/pygments-1.2 - dev-python/setuptools - latex? ( - dev-texlive/texlive-latexextra - app-text/dvipng - )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -DOCS="CHANGES" - -src_prepare() { - distutils_src_prepare - - prepare_tests() { - mkdir -p build-${PYTHON_ABI} - cp -r tests build-${PYTHON_ABI}/tests - if [[ $(python_get_version -l --major) == "3" ]]; then - 2to3-${PYTHON_ABI} -nw --no-diffs build-${PYTHON_ABI}/tests - fi - } - use test && python_execute_function prepare_tests -} - -src_compile() { - distutils_src_compile - - if use doc; then - einfo "Generation of documentation" - sed -e "/import sys/a sys.path.insert(0, '${S}/build-$(PYTHON -f --ABI)/lib')" -i sphinx-build.py - pushd doc > /dev/null - emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die - popd > /dev/null - fi -} - -src_test() { - testing() { - pushd build-${PYTHON_ABI} > /dev/null - echo PYTHONPATH=lib nosetests --verbosity=1 - PYTHONPATH=lib nosetests --verbosity=1 - local rv=$? - popd > /dev/null - return $rv - } - python_execute_function testing -} - -src_install() { - distutils_src_install - python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/sphinx-build" - - delete_grammar_pickle() { - rm -f "${ED}$(python_get_sitedir)/sphinx/pycode/Grammar$(python_get_version -l).pickle" - } - python_execute_function -q delete_grammar_pickle - - if use doc; then - dohtml -A txt -r doc/_build/html/* || die "Installation of documentation failed" - fi -} - -pkg_postinst() { - distutils_pkg_postinst - - # Generate the Grammar pickle to avoid sandbox violations. - generation_of_grammar_pickle() { - "$(PYTHON)" -c "import sys; sys.path.insert(0, '${EROOT}$(python_get_sitedir -b)'); from sphinx.pycode.pgen2.driver import load_grammar; load_grammar('${EROOT}$(python_get_sitedir -b)/sphinx/pycode/Grammar.txt')" - } - python_execute_function \ - --action-message 'Generation of Grammar pickle with $(python_get_implementation_and_version)...' \ - --failure-message 'Generation of Grammar pickle with $(python_get_implementation_and_version) failed' \ - generation_of_grammar_pickle -} - -pkg_postrm() { - distutils_pkg_postrm - - deletion_of_grammar_pickle() { - rm -f "${EROOT}$(python_get_sitedir -b)/sphinx/pycode"/Grammar*.pickle || return 1 - - # Delete empty parent directories. - local dir="${EROOT}$(python_get_sitedir -b)/sphinx/pycode" - while [[ "${dir}" != "${EROOT%/}" ]]; do - rmdir "${dir}" 2> /dev/null || break - dir="${dir%/*}" - done - } - python_execute_function \ - --action-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version)...' \ - --failure-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version) failed' \ - deletion_of_grammar_pickle -} diff --git a/dev-python/sphinx/sphinx-1.1.3.ebuild b/dev-python/sphinx/sphinx-1.1.3.ebuild deleted file mode 100644 index 08d3a757ffa1..000000000000 --- a/dev-python/sphinx/sphinx-1.1.3.ebuild +++ /dev/null @@ -1,85 +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/sphinx/sphinx-1.1.3.ebuild,v 1.1 2012/03/29 08:56:46 djc Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" -DISTUTILS_SRC_TEST="nosetests" - -inherit distutils - -MY_PN="Sphinx" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python documentation generator" -HOMEPAGE="http://sphinx.pocoo.org/ http://pypi.python.org/pypi/Sphinx" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc latex" - -DEPEND=">=dev-python/docutils-0.7 - >=dev-python/jinja-2.3 - >=dev-python/pygments-1.2 - dev-python/setuptools - latex? ( dev-texlive/texlive-latexextra )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -DOCS="CHANGES" - -src_compile() { - distutils_src_compile - - if use doc; then - pushd doc > /dev/null - einfo "Generation of documentation" - PYTHONPATH=".." emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed" - popd > /dev/null - fi -} - -src_install() { - distutils_src_install - - if use doc; then - dohtml -A txt -r doc/_build/html/* || die "Installation of documentation failed" - fi -} - -pkg_postinst() { - distutils_pkg_postinst - - # Generate the Grammar pickle to avoid sandbox violations. - generation_of_grammar_pickle() { - "$(PYTHON)" -c "import sys; sys.path.insert(0, '${EROOT}$(python_get_sitedir -b)'); from sphinx.pycode.pgen2.driver import load_grammar; load_grammar('${EROOT}$(python_get_sitedir -b)/sphinx/pycode/Grammar.txt')" - } - python_execute_function \ - --action-message 'Generation of Grammar pickle with $(python_get_implementation_and_version)...' \ - --failure-message 'Generation of Grammar pickle with $(python_get_implementation_and_version) failed' \ - generation_of_grammar_pickle -} - -pkg_postrm() { - distutils_pkg_postrm - - deletion_of_grammar_pickle() { - rm -f "${EROOT}$(python_get_sitedir -b)/sphinx/pycode"/Grammar*.pickle || return 1 - - # Delete empty parent directories. - local dir="${EROOT}$(python_get_sitedir -b)/sphinx/pycode" - while [[ "${dir}" != "${EROOT%/}" ]]; do - rmdir "${dir}" 2> /dev/null || break - dir="${dir%/*}" - done - } - python_execute_function \ - --action-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version)...' \ - --failure-message 'Deletion of Grammar pickle with $(python_get_implementation_and_version) failed' \ - deletion_of_grammar_pickle -} |