diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-01-03 20:54:04 +0100 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-01-03 20:54:32 +0100 |
commit | 70205b283d6e2854f62b0d78846b7cff3c3dcc67 (patch) | |
tree | f9c5875f4e85ab39bc188526acc166458b6763a6 /dev-python/bcolz | |
parent | dev-python/setuptools_scm: Improve test deps (diff) | |
download | gentoo-70205b283d6e2854f62b0d78846b7cff3c3dcc67.tar.gz gentoo-70205b283d6e2854f62b0d78846b7cff3c3dcc67.tar.bz2 gentoo-70205b283d6e2854f62b0d78846b7cff3c3dcc67.zip |
dev-python/bcolz: Bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/bcolz')
-rw-r--r-- | dev-python/bcolz/Manifest | 1 | ||||
-rw-r--r-- | dev-python/bcolz/bcolz-0.12.1.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/bcolz/Manifest b/dev-python/bcolz/Manifest index ed766961b5d6..83034cc1d130 100644 --- a/dev-python/bcolz/Manifest +++ b/dev-python/bcolz/Manifest @@ -1,2 +1,3 @@ DIST bcolz-0.10.0.tar.gz 541803 SHA256 cbe1c18440325058d764b3997fbf988af0257c2a4f7d64ec7150735191fdcc81 SHA512 ac6b30c3a1f1cd32563fcec670bd7b3639173547e8f6d319295358a38d4e39439bb26d7c908b30378d9a384b8667bc75023ebcf35f797a1250bdba1a25cbeebd WHIRLPOOL 5827303b5a8c356e183a88411a466276b9e3fe3e9d0f7999d5cb2923f34a6031816f0b829c7826dc956be312bccbcd4d24820ce4b861e940f2f9b0399cc3ff31 DIST bcolz-0.11.3.tar.gz 582564 SHA256 8750785f52e39f7b117784ed2909a0a702bb11d3f67c49d781df55618bfead07 SHA512 c47d7d4065ed413a28da84486044fd0d9fe83ab09f0112251d4bb46e5d5b5fdd56bab59a8fea7466bd46d62219fe77b12d1a9e8acb17c503f80b42c16cb60e53 WHIRLPOOL 8544d41086182d2a2e4f00a85c58b32716900f047651cce3fc3e9ff7b7993ae4d98c4b363ec10cd70ee9f23a46cb092ea51430eac4a6fdb6697aeecedee90095 +DIST bcolz-0.12.1.tar.gz 622526 SHA256 a8dafa42cd4f3ca130ecb81f7e778204a12c2180c18fd570ef753de58ee7ddbd SHA512 7c58ecfb1267d5c4791f043034b831af9c40e4b496938805eb1885c251b1269f19a049bbc9f0c80fa127d60ebb191b23ad5b44283340c815261393d51dd558ea WHIRLPOOL 4df337b2b6b6fb0ed571f599ef36a051b945a717ce65e731fc84e71c5cd2dfbe669f5bb57cfed773c290256f34018365bde3593041a0e0801568107b3a50162e diff --git a/dev-python/bcolz/bcolz-0.12.1.ebuild b/dev-python/bcolz/bcolz-0.12.1.ebuild new file mode 100644 index 000000000000..9ff258bf743a --- /dev/null +++ b/dev-python/bcolz/bcolz-0.12.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="Provides columnar and compressed data containers" +HOMEPAGE=" https://github.com/Blosc/bcolz" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +# numexpr is optional but set hard rdepend +RDEPEND=" + >=dev-python/numpy-1.7[${PYTHON_USEDEP}] + >=dev-python/numexpr-1.4.1[${PYTHON_USEDEP}]" +DEPEND=" + >=dev-python/setuptools-0.18[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + >=dev-python/cython-0.22[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) + $(python_gen_cond_dep 'dev-python/unittest2[${PYTHON_USEDEP}]' python2_7) + )" + +python_prepare_all() { + if use doc; then + mkdir doc/_static || die + fi + distutils-r1_python_prepare_all +} + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + +python_compile_all() { + use doc && sphinx-build -b html -c doc/ doc/ doc/html +} + +python_test() { + pushd "${BUILD_DIR}"/lib > /dev/null + "${PYTHON}" -m unittest discover || die +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/html/. ) + distutils-r1_python_install_all +} |