summaryrefslogtreecommitdiff
path: root/dev-python/bcolz
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/bcolz
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/bcolz')
-rw-r--r--dev-python/bcolz/Manifest7
-rw-r--r--dev-python/bcolz/bcolz-1.1.0.ebuild57
-rw-r--r--dev-python/bcolz/bcolz-1.1.2.ebuild51
-rw-r--r--dev-python/bcolz/metadata.xml21
4 files changed, 136 insertions, 0 deletions
diff --git a/dev-python/bcolz/Manifest b/dev-python/bcolz/Manifest
new file mode 100644
index 000000000000..acbe4bdc2423
--- /dev/null
+++ b/dev-python/bcolz/Manifest
@@ -0,0 +1,7 @@
+DIST bcolz-1.1.0.tar.gz 914616 SHA256 1fe2e3da6321e6644fe310b5ecb6b3073fa9fb7a99ac666b97a4e64d084d6463 SHA512 77d3cb45658304036273ebe7ff006d3770d86745e8bd1dbdb07db0a2a1ffcd3268ceef2cbdec0579e8e65560706eb3ed43664c90078fe2811a497b4abe01e511 WHIRLPOOL d029dd8ef78e71c423440a30e09183a36adaa7e6eff88fb1c35cf8d63645a2641128e4d649006eaa2aebe5986470a7fd1910622ff4511f9ede56a38a1d6a5269
+DIST bcolz-1.1.2.tar.gz 1271418 SHA256 42b733692cfb194df867f19168da1a9e468145a50c557758ecec911c6e5a4073 SHA512 cc0149b5a8a0ded7653c4f1e2232fbf8501027538a3e5d8de4be0eed096e17e7d3845f19cb687a533a4c385b31f5a5262fe140a27ac63b434b57667ec5a55e66 WHIRLPOOL 6e53da135136a28ec6e074a57ae4b81de375a6f4964609d80c0125486cea186a15a2d024d6dc143d2452ca9673b445f10c5a8e57fb8c290fdb452d3c95cdad51
+EBUILD bcolz-1.1.0.ebuild 1401 SHA256 b61d26746a31cdfa9e354e37505ca54f274907a02d5314bf5dbb43ea9ad3892a SHA512 77fc5b1c56372ab79690793194d22d7bc8b86bd2b9fdd2cd2592a4bc8e0980d65d583895708bc21dad28fd557178fb36e82009fac673156281cd2c207019cc78 WHIRLPOOL 069c5e42ac799c32894d60b374a762ced5a96f271d9cb819ea86ce5ff9bc99de6358f9b2e8527adde8e4312bc45e0b5a30f259945c819920720adfefadb4e317
+EBUILD bcolz-1.1.2.ebuild 1142 SHA256 ff7dafdec60ec53fe37131358a7775d7ca82a442237e1150eb92adf9b75dfc6f SHA512 7b141e3ce16af333c270a03023b1aa80f5bf941855d55c898e1a6790bb1e36c5f32459b3ddebd252fee06182ec1b756c650333a27b1c32738ae38649cc0c5d1b WHIRLPOOL e5f4071e60a74dc23751ea15a9a8452c347cd1e086d7288fe467377192202e07f626b100f7c13a4afa90f2f655740469678cbd1e8ab1488bc37472503305d131
+MISC ChangeLog 3735 SHA256 63592869b72ae50f8c08cc14b9e18c9a56d881196eaaaa6cae493d4a3553c4aa SHA512 1a9594a78731f7a22ab267fde98b9ac1afc31edfa14a4ab71bedb68db3cb2731617321e8ac2d4d797a8aab3aafe7da9043c0ff612dbe53e6a8b8042e2cd2aa31 WHIRLPOOL b34f9c1ef6f56fe28fdf010d35784d229bcd04a21acd2eeb3c7d23ead355ff2f590be76bfb32c872566230cefdb1a6264823b7b9e7a07ef89088fda0bd860332
+MISC ChangeLog-2015 792 SHA256 a8a24821e3714bf7c0a57f2c851e4b54525028b67c2bccf46eb9ae4e2ac66f34 SHA512 7f89d026cd109c0d3b55855b24bb529578bbdfa7e9cc00fa108ff2c8ee21f8243d4fd97c4b8fbf91778b31579c8f703ea51e85cb26bb2863ccaea698de89f56d WHIRLPOOL 5b10de79cdac799239d172ac5a64bae3545ef37d22df007d530837f69bb238007a0fd9b769a1485567ed296b8d95d8ddcea3b47a25c4545537fa31a4649b9fc9
+MISC metadata.xml 853 SHA256 1da92d45b2780e2b863bae91ec1b56ac3c975143c9dab1d0c3852bc2cd94a2b6 SHA512 65bee839731be99ae673f86f4d5b791bc115cd5b65f3fbfc79c7e2df35dc08af59bb2fad4ab3b9ee2588582644b10153f2d932d2c292ab0e1fb0db92d88a631a WHIRLPOOL 55c00ba7c7ed9840dd2320a11eec5e69aea7f37f05dfe3e98af0fb2184e063cf9692b402dbc9153ae7a9d4f7f575f62e97727ed8459e2e163abf7e87fd83ca79
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..0e2e061028f4
--- /dev/null
+++ b/dev-python/bcolz/bcolz-1.1.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 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>