diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/bcolz | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/bcolz')
-rw-r--r-- | dev-python/bcolz/Manifest | 5 | ||||
-rw-r--r-- | dev-python/bcolz/bcolz-1.1.0.ebuild | 57 | ||||
-rw-r--r-- | dev-python/bcolz/bcolz-1.1.2.ebuild | 51 | ||||
-rw-r--r-- | dev-python/bcolz/metadata.xml | 21 |
4 files changed, 134 insertions, 0 deletions
diff --git a/dev-python/bcolz/Manifest b/dev-python/bcolz/Manifest new file mode 100644 index 000000000000..1b72a8b923bf --- /dev/null +++ b/dev-python/bcolz/Manifest @@ -0,0 +1,5 @@ +DIST bcolz-1.1.0.tar.gz 914616 BLAKE2B ccc5ea84907c16df6aaef4a85e1b89c415b909c240d56746ed1144c22255c7d5f85cd791ba99b3cf5777c2459ddd5c1e26bf489fd7b1fb69709b587033040019 SHA512 77d3cb45658304036273ebe7ff006d3770d86745e8bd1dbdb07db0a2a1ffcd3268ceef2cbdec0579e8e65560706eb3ed43664c90078fe2811a497b4abe01e511 +DIST bcolz-1.1.2.tar.gz 1271418 BLAKE2B 322a755ce3a744d14e185a2a242cd9c2326033404f15a8bef789d0f9cb961a63ad12aa28860c0f62577cc61091983e17e043deafe7c2ca78f0ab2c620da2e395 SHA512 cc0149b5a8a0ded7653c4f1e2232fbf8501027538a3e5d8de4be0eed096e17e7d3845f19cb687a533a4c385b31f5a5262fe140a27ac63b434b57667ec5a55e66 +EBUILD bcolz-1.1.0.ebuild 1401 BLAKE2B fea355dbb044696a1362ab2325a0242621632195bd9afcb47582a5d16a9127603d2e62c19596b815939f7615a7e3fc2c0658f0e462cb1d8557843a7692119b6b SHA512 77fc5b1c56372ab79690793194d22d7bc8b86bd2b9fdd2cd2592a4bc8e0980d65d583895708bc21dad28fd557178fb36e82009fac673156281cd2c207019cc78 +EBUILD bcolz-1.1.2.ebuild 1141 BLAKE2B 50bf6e1318baede2fd1e23a1abe8389451bbef5f6e856c12036c6676b8e6511628d061b067a3182320c07cecb96dfd227a5268f36c60f8e9eb0d27b558476460 SHA512 11f713a18c5f8ae770fc8cf20d9339764ad6777305d3b53a905d18550485644109b680dbb2776521939be02575d855199565d451d548ded58b34b51b39fb291f +MISC metadata.xml 853 BLAKE2B 65ce8db96ca80674e08d006cc5b986cd88868f0b3ae4581cf4cc5e785062de60fb6990c286006e3386443dcee4b1890bf973790ff38a3344e2fa01eef1567440 SHA512 65bee839731be99ae673f86f4d5b791bc115cd5b65f3fbfc79c7e2df35dc08af59bb2fad4ab3b9ee2588582644b10153f2d932d2c292ab0e1fb0db92d88a631a diff --git a/dev-python/bcolz/bcolz-1.1.0.ebuild b/dev-python/bcolz/bcolz-1.1.0.ebuild new file mode 100644 index 000000000000..26d44a19a4a2 --- /dev/null +++ b/dev-python/bcolz/bcolz-1.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +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 +} diff --git a/dev-python/bcolz/bcolz-1.1.2.ebuild b/dev-python/bcolz/bcolz-1.1.2.ebuild new file mode 100644 index 000000000000..354447a3501c --- /dev/null +++ b/dev-python/bcolz/bcolz-1.1.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Provides columnar and compressed data containers" +HOMEPAGE="http://bcolz.blosc.org/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" + +RDEPEND=" + dev-libs/c-blosc:= + dev-python/numpy[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/numpydoc[${PYTHON_USEDEP}] + ) + test? ( dev-python/mock[${PYTHON_USEDEP}] ) +" + +python_compile() { + distutils-r1_python_compile --blosc="${EPREFIX}/usr" +} + +python_compile_all() { + use doc && sphinx-build -b html -N docs/ docs/_build/html +} + +python_test() { + cd "${BUILD_DIR}"/lib + "${PYTHON}" -c 'import bcolz; bcolz.test()' || die +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all + dodoc *.rst +} diff --git a/dev-python/bcolz/metadata.xml b/dev-python/bcolz/metadata.xml new file mode 100644 index 000000000000..e880df52308b --- /dev/null +++ b/dev-python/bcolz/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription> + bcolz provides columnar and compressed data containers. Column + storage allows for efficiently querying tables with a large number of + columns. It also allows for cheap addition and removal of column. In + addition, bcolz objects are compressed by default for reducing + memory/disk I/O needs. The compression process is carried out + internally by Blosc, a high-performance compressor that is optimized + for binary data. + </longdescription> + <upstream> + <remote-id type="pypi">bcolz</remote-id> + <remote-id type="github">Blosc/bcolz</remote-id> + </upstream> +</pkgmetadata> |