diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-03-10 00:41:07 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-03-10 01:14:30 -0800 |
commit | 3e0175950b11adf3cd5089e51b1fc228905153fb (patch) | |
tree | fae4f4c8024949a6b79c9dabe6279006ac2707cb /dev-python | |
parent | net-p2p/qbittorrent: amd64 stable wrt bug #530720 (diff) | |
download | gentoo-3e0175950b11adf3cd5089e51b1fc228905153fb.tar.gz gentoo-3e0175950b11adf3cd5089e51b1fc228905153fb.tar.bz2 gentoo-3e0175950b11adf3cd5089e51b1fc228905153fb.zip |
dev-python/xlwt: version bump to 1.2.0
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/xlwt/Manifest | 1 | ||||
-rw-r--r-- | dev-python/xlwt/files/docbuild.patch | 6 | ||||
-rw-r--r-- | dev-python/xlwt/xlwt-1.2.0.ebuild | 52 |
3 files changed, 56 insertions, 3 deletions
diff --git a/dev-python/xlwt/Manifest b/dev-python/xlwt/Manifest index 1603162c6754..d22aa1e44dbf 100644 --- a/dev-python/xlwt/Manifest +++ b/dev-python/xlwt/Manifest @@ -1,3 +1,4 @@ DIST xlwt-0.7.5.tar.gz 115100 SHA256 9478bd70b86590b9ac2697967c8a10a4917d900636349ca73eeb362a3227423c SHA512 d385c36c80002998891dd93d4ebcdd962239463ee089965961d3b8955d4783bbcdec96920891a252ee6cb076eab6b13ffad83e7758c179dcbc684e82fa8dfe35 WHIRLPOOL 46d01a1bcfc5f01585082bf3ff8750cecd7ce87b5ebe279a3d9377c8c7e272f070cb28d430285c900d0e2389469097088b6126932c76f3778b274b86696f6adc DIST xlwt-1.0.0.tar.gz 129588 SHA256 ac432939eec8daa9f88af994ff53f009e607a4e1102772ec0be0b2a86b2c1cf9 SHA512 45788a506635f1ef6380d46aa0af724e511e401e8347dcf48dbf4e2d90e7f4c7f66838cd9616cf58807ffb939daba1f47b0d2cf449f8cb528db41fba84cc8866 WHIRLPOOL d3d344faae89fad012f05fe5b19e5ce16dd144016abf7ea15123a9725c77a732e85d93131c692dbcaf306cdc8d1b06efcaf39227265c612200107d2c20541132 DIST xlwt-1.1.2.tar.gz 153374 SHA256 aed648c17731f40f84550dd2a1aaa53569f0cbcaf5610ba895cd2632587b723c SHA512 dfe27e1415bd9ebe83b41f45fe8f08396269d4075014bacb7e59384aa8bea0e5479e0a4874fc727ab00c8c8ee44a17f9af8736f78a30db76b7330e79a1942cc3 WHIRLPOOL b44468558b39d3819a75ab1c6b9db8a66fd6fd8e1bfe9bd23661788dc77796bf3788405d386ff191f27b10b361757a5bfc94e8bb4f895bdc85bc18fb9350a5a4 +DIST xlwt-1.2.0.tar.gz 153909 SHA256 505669c1eb6a60823fd3e2e723b60eea95f2c56254113bf163091ed2bedb4ac9 SHA512 e0be61f6a54ac39c91cf03a1a7535c464045539f6a040f000921815e3280bd341770d72f4353891a10dde7c1b51eab4ccb1ae1c10bbf779108346fba8484eef8 WHIRLPOOL 645746c311d8d2b55022368fd8d5baedf4771d66000baaf0f3eda57241c8c1c1d51bed9fb33e85398d9b79803b8a6a350a10d3abb74bdafc8de0e4408771a38f diff --git a/dev-python/xlwt/files/docbuild.patch b/dev-python/xlwt/files/docbuild.patch index 9468d91de78f..20ed580a628e 100644 --- a/dev-python/xlwt/files/docbuild.patch +++ b/dev-python/xlwt/files/docbuild.patch @@ -1,6 +1,6 @@ -diff -ur xlwt-1.0.0.orig/docs/conf.py xlwt-1.0.0/docs/conf.py ---- docs/conf.py 2015-04-16 04:43:57.000000000 +0800 -+++ docs/conf.py 2015-05-11 11:13:22.320470128 +0800 +diff -Nur xlwt-1.0.0.orig xlwt-1.0.0 +--- xlwt-1.0.0.orig/docs/conf.py ++++ xlwt-1.0.0/docs/conf.py @@ -4,7 +4,7 @@ on_rtd = os.environ.get('READTHEDOCS', None) == 'True' pkg_info = pkginfo.Develop(os.path.join(os.path.dirname(__file__), os.pardir)) diff --git a/dev-python/xlwt/xlwt-1.2.0.ebuild b/dev-python/xlwt/xlwt-1.2.0.ebuild new file mode 100644 index 000000000000..f6c1c545352b --- /dev/null +++ b/dev-python/xlwt/xlwt-1.2.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Python library to create spreadsheet files compatible with Excel" +HOMEPAGE="https://pypi.python.org/pypi/xlwt" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] + dev-python/pkginfo[${PYTHON_USEDEP}] + ) + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +# Prevent d'loading in the doc build +PATCHES=( "${FILESDIR}"/docbuild.patch ) + +python_prepare_all() { + # Don't install documentation and examples in site-packages directories. + sed -e "/package_data/d" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + nosetests tests || die "tests failed under ${EPYTHON}}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF} + fi + distutils-r1_python_install_all +} |