=== modified file 'dev-python/characteristic/Manifest' --- dev-python/characteristic/Manifest 2015-01-20 20:06:58 +0000 +++ dev-python/characteristic/Manifest 2014-12-13 01:37:42 +0000 @@ -1,3 +1,3 @@ DIST characteristic-14.2.0.tar.gz 26670 SHA256 10b6fbc773a0965d2e5c8f757bfdf1415929792cdf79c1aecc32ffe8b36466b2 SHA512 5c2333b261461eb5e81a9f5b9670b8f9e9fb81c20271788bbae537bdbb67b48349fcf6a7780acdd65229858d9d79345bf67c2b6729c4492225bfca175ee7f6c0 WHIRLPOOL 1d9c12ed58ae6a0cb2cd96e25c8f632e2a6e8598ee8992a897f9e875ff7dae69fca451a6a82d8a93c545de1d1985f9f3d4ce2ad993e733369c9cb1049c2d4153 -EBUILD characteristic-14.2.0.ebuild 1205 SHA256 8139c3d97732a2f76e1e728f581f156ac79397f830e2a31c401e4f671e1e41aa SHA512 1213619d253bfcd6b499e903346470ca86673ea01cf104f978ea060f91641882acef39e87280677ba03d629bccf6878db05d8936917b24437533a845589fe066 WHIRLPOOL f3b4e2eff11aa96b925d8795906f8b5c7ddb52d576edaae90b8dc16f8c027cb2a4d4a8aac464c671702f4a7ddcc6abb77bd96f847dc974ed2f9b55777c107798 +EBUILD characteristic-14.2.0.ebuild 618 SHA256 d1ec05ddffba7c0739ee5cba4ee1f3a6baf9a0a9297f021953e3ea3704e6e268 SHA512 f8fdcab042d3be14f6c8527a6533ede356f771cb1e1b6434bec8e9f66062ecf7e06a2e882a6a1b1cf190287cb8bd729dad4989997f0c39ff6be95f251158808d WHIRLPOOL b5cac3eea9248fe908c196ed47df120c49bc26b1eda871d36655178888b98a7ed09ef5a05b88fbb0524c660194c2acbf37c83cbe76975a2bc6f7938141a7cbd7 MISC metadata.xml 198 SHA256 a6cced7fd655d4e5e10239d91957eb486c00169084460d93433922262241bcab SHA512 33543ed4e9dc5bc7a5459c9125d4261d6fb1b148e8b11a84c87180e91fc5df01e3198145283d225e2155f0da9f601df3f52501e8e8805029fe6f4ce039ca87f6 WHIRLPOOL 721377940fa57bccddaeb00f9862f73dd97d6eb58115d7ff85e81743e89d58f16efe91d84ebc4f2dd9aeb84802aa229a2be3182b15750e38cfbe581629232f54 === modified file 'dev-python/characteristic/characteristic-14.2.0.ebuild' --- dev-python/characteristic/characteristic-14.2.0.ebuild 2015-01-20 20:06:58 +0000 +++ dev-python/characteristic/characteristic-14.2.0.ebuild 2014-12-13 01:37:42 +0000 @@ -1,42 +1,31 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/characteristic/characteristic-14.1.0.ebuild,v 1.4 2014/12/23 12:44:41 maekke Exp $ - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy ) - -inherit distutils-r1 - -DESCRIPTION="Python attributes without the boilerplate" -HOMEPAGE="https://characteristic.readthedocs.org/ https://github.com/hynek/characteristic" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +# $Header: $ +# Ebuild generated by g-pypi 0.3 + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + + +DESCRIPTION="Python attributes without boilerplate." +HOMEPAGE="https://characteristic.readthedocs.org/" +SRC_URI="https://pypi.python.org/packages/source/c/characteristic/${P}.tar.gz" LICENSE="MIT" +KEYWORDS="~amd64" SLOT="0" -KEYWORDS="~amd64 arm ~hppa ~x86" -IUSE="doc test" - -RDEPEND="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] ) - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -python_prepare_all() { - # Prevent un-needed download during build - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - esetup.py test -a "--cov characteristic --cov-report term-missing" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all +IUSE="doc" + +DEPEND="dev-python/setuptools" +RDEPEND="dev-python/setuptools + test? ( dev-python/pytest )" + + +src_install() { + distutils_src_install + if use doc; then + dodoc -r docs + fi }