diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/numba |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/numba')
-rw-r--r-- | dev-python/numba/Manifest | 10 | ||||
-rw-r--r-- | dev-python/numba/files/numba-0.19.2-docbuild.patch | 17 | ||||
-rw-r--r-- | dev-python/numba/metadata.xml | 20 | ||||
-rw-r--r-- | dev-python/numba/numba-0.27.0.ebuild | 65 | ||||
-rw-r--r-- | dev-python/numba/numba-0.34.0.ebuild | 43 | ||||
-rw-r--r-- | dev-python/numba/numba-0.35.0.ebuild | 43 |
6 files changed, 198 insertions, 0 deletions
diff --git a/dev-python/numba/Manifest b/dev-python/numba/Manifest new file mode 100644 index 000000000000..703cbc5dc2af --- /dev/null +++ b/dev-python/numba/Manifest @@ -0,0 +1,10 @@ +AUX numba-0.19.2-docbuild.patch 601 SHA256 a2703db1f22da6cd2adc5814fcaf1fdb24006ccc07d2b046e2d2968114af667f SHA512 86c0ea1f45436c4ff89bed5c00da5ff9be92aa7bf445e37165d174f7e36a0809c48d0f7db665e3c171748822e7f70cdb8dd6cd0396b5f98587fc426de455f033 WHIRLPOOL 5edf6e57746dfec105878e467d9b97171551ee2ac3f78bfa31a9c84c755dcbcabccb17be56c717487766c0cd0a3d5dd6fb99bfa9e1cf688e9ac0b7a33342a42f +DIST numba-0.27.0.tar.gz 1247144 SHA256 aa75fc2ac7d958d4ac84ad55b279dd95ee5e6ffd247fdcf04800f167731184ca SHA512 3c84fa58bc5e84683b5e593b99f8c48cfc6e9fd0f41a2a18d8a4d9deba618cec1e764a0202bb71166cbeebf27b908044be29e3b183b01f31edc8e85c962df876 WHIRLPOOL 178ec9ddaf5d2a9594eb808350d5e96a8b78ef643595aa6d02d581a7cfb7c86ae4902fccade874244a286957a9d9f4708c89d48d2c914a3528b9abae9db181b2 +DIST numba-0.34.0.tar.gz 1603388 SHA256 d2575be1564883960ce38e684adab62d673917ce90d1a70a0ab6c42a45e9d059 SHA512 270bc9b2ea86e96285bd4075a216a31c3654b782e5e7fb26824ed0e57283a48f753542dab54995c14c0c7c303d8794659a1155eba1deb121c670fc4edde0f3aa WHIRLPOOL 9744c8daff1e22f75854afab93093823cbe01fc75b4c4bb074abfe407dd912f2242f143a8e7580f63a8e01df03d52c36cd23b2566af735dc4caec3c823ea4f83 +DIST numba-0.35.0.tar.gz 1647189 SHA256 32716ed34973326b72d535cfb045b58d1972f1605eb2a53001158dcfb0f155cc SHA512 48ee1e33e7ec1327a78c3485602e911f045df8b8dbb69da3004133e6da8cbb52388712b4aeffa1e41b83d20aaa88cc8c1202ef35aabbf3e0e04ad2875df789f0 WHIRLPOOL 88b9baa5f9b367b1ccfe5cadf534fced9a11d7e44dfcfe0dd0359bcc53485a7a7589adf8115ad66ecb5bb369d7aed1b3ccee232517976b7bedf464435676472d +EBUILD numba-0.27.0.ebuild 1758 SHA256 768dec222c57ceffdebd489dcf3e86b6ed6e414c551c6a6b81914916f2a61049 SHA512 b0a95ebb91248e955d360be197ba967317b06be161bdbf01b4087095d7bd3135cb3fd3a41d947f9117167adf2a75c6e9cd11a2c5aa9b5643f01d9ce89959e5c8 WHIRLPOOL 9c6a70cc9ab5c4552b246a535152384293404bcc44f9c32087462a6748d0395ee36f51d92f5699c5f862c2f1d7a8faf2f12304aa9ae06bf8ad70fa8d335e8827 +EBUILD numba-0.34.0.ebuild 1067 SHA256 040dde591a5f2734944a4f18b3884c364f127231e9d1757b99718d29dd5a4861 SHA512 7a7dd64c87efd361f51529ac7d361fbd7eb8959764dd66ed9ccbd5296921d04b08a32adf5bd203aa4005c9cca9e0fbd87f2438e972daa8bf1596fb030e8bf196 WHIRLPOOL 3eed2bf0fe2ea975d975a5205670ef2f53ea89abaf68c64bdf67a942e71be321cb7f73fb39f0aebe0cf9ab0bd88b2d6e4b028eea5bb082c7bdb1556ffc09f392 +EBUILD numba-0.35.0.ebuild 1067 SHA256 040dde591a5f2734944a4f18b3884c364f127231e9d1757b99718d29dd5a4861 SHA512 7a7dd64c87efd361f51529ac7d361fbd7eb8959764dd66ed9ccbd5296921d04b08a32adf5bd203aa4005c9cca9e0fbd87f2438e972daa8bf1596fb030e8bf196 WHIRLPOOL 3eed2bf0fe2ea975d975a5205670ef2f53ea89abaf68c64bdf67a942e71be321cb7f73fb39f0aebe0cf9ab0bd88b2d6e4b028eea5bb082c7bdb1556ffc09f392 +MISC ChangeLog 4407 SHA256 567e55fe519329409b76809ee7c99c9bff61ebcfc8ff0e5a7f9d801e6e06034c SHA512 62f3ef25337ccdfda8ea3419f542fbb8e007f5b528b75b6a30f48ee4efe8755e6305bf9154522b1767ab5e5c4c8445b189f7377cef97a1a2f1593c185fcb248d WHIRLPOOL 5bced9c7628da6db206f1e80daf63cd3aec56bfb9815b79ce3d4562f7559b6ba4d9078503f93068d9cbafbb739ae96333775326231dd691886fd546b59453bf6 +MISC ChangeLog-2015 3051 SHA256 aedd5545140df6e4d6106b5ce4abdf221baf266de398e6bb42d69554b6840d05 SHA512 136dbbf36b173f18290797ef1d0ecf1f53ef15065f575cefa7227bc351a72b994389da1b1d52f9b7cb55ff877b7bb055ca2b6ecfc58d9b3031b65c4ef7cfb170 WHIRLPOOL e2db4f0d858dfe1158f45b3ee7d449276dec9b4903ff39a2d9489103594886d3588eeb09fe8334e1de91377cf6940364e2f450caea6aed2308c46e07e1696fd9 +MISC metadata.xml 817 SHA256 ddc75e4f4ec49e40e9082a4fe5f5a03b7c1fa470ec1d5a03de43e8d3726da3fc SHA512 16271bf2dba4edb77e4cf05f95e9bea6c5534890c1303f6d10b9b7449a26b05ab43acc28fd5691d1433ce15ee87214c5a414dc652eb019bb1fb87acfa37150e6 WHIRLPOOL f68b0ab7292f908b806a27f1ec2d0b927baf0d406dc3ee7f769cb43c5bef1f1b52022e651abf0c995dd7e52660d11328a557b175d5cff3049694559060844293 diff --git a/dev-python/numba/files/numba-0.19.2-docbuild.patch b/dev-python/numba/files/numba-0.19.2-docbuild.patch new file mode 100644 index 000000000000..1c8853c1b11c --- /dev/null +++ b/dev-python/numba/files/numba-0.19.2-docbuild.patch @@ -0,0 +1,17 @@ +Delete intersphinx, delete entry to set sphinxjp.themecore which is absent from portage +diff -ur numba-0.19.2.orig/docs/source/conf.py numba-0.19.2/docs/source/conf.py +--- docs/source/conf.py 2015-06-28 15:19:14.573386743 +0800 ++++ docs/source/conf.py 2015-06-28 15:20:16.808191183 +0800 +@@ -36,12 +36,9 @@ + # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom + # ones. + extensions = [ +- 'sphinx.ext.intersphinx', + 'sphinx.ext.todo', + #'sphinx.ext.mathjax', + 'sphinx.ext.autodoc', +- #'sphinx.ext.graphviz', +- 'sphinxjp.themecore', + ] + + todo_include_todos = True diff --git a/dev-python/numba/metadata.xml b/dev-python/numba/metadata.xml new file mode 100644 index 000000000000..2243f301d1ec --- /dev/null +++ b/dev-python/numba/metadata.xml @@ -0,0 +1,20 @@ +<?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 lang="en"> + Numba is a NumPy-aware optimizing compiler for Python. It uses the LLVM + compiler infrastructure to compile Python syntax to machine code. + It is aware of NumPy arrays as typed memory regions and so can + speed-up code using NumPy arrays. Other, less well-typed code will be + translated to Python C-API calls effectively removing the + "interpreter" but not removing the dynamic indirection. +</longdescription> + <upstream> + <remote-id type="pypi">numba</remote-id> + <remote-id type="github">numba/numba</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/numba/numba-0.27.0.ebuild b/dev-python/numba/numba-0.27.0.ebuild new file mode 100644 index 000000000000..38e04d182f3b --- /dev/null +++ b/dev-python/numba/numba-0.27.0.ebuild @@ -0,0 +1,65 @@ +# 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="NumPy aware dynamic Python compiler using LLVM" +HOMEPAGE="http://numba.pydata.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc examples test" + +RDEPEND=" + >=dev-python/llvmlite-0.10[${PYTHON_USEDEP}] + >=dev-python/numpy-1.6[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python{2_7,3_3}) + virtual/python-funcsigs[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( virtual/python-singledispatch[${PYTHON_USEDEP}] ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +# Delete intersphinx & entry to set sphinxjp.themecore, which is absent from portage, from conf.py +PATCHES=( "${FILESDIR}"/${PN}-0.19.2-docbuild.patch ) + +python_prepare_all() { + # Re-set them of doc build to one provided by sphinx + if has_version ">=dev-python/sphinx-1.3.1"; then + sed -e 's:basicstrap:classic:' -i docs/source/conf.py || die + else + sed -e 's:basicstrap:default:' -i docs/source/conf.py || die + fi + distutils-r1_python_prepare_all +} + +python_compile() { + if ! python_is_python3; then + local CFLAGS="${CFLAGS} -fno-strict-aliasing" + export CFLAGS + fi + distutils-r1_python_compile +} + +python_compile_all() { + use doc && emake -C docs/ html +} + +python_test() { + cd "${BUILD_DIR}"/lib* || die + ${PYTHON} -c "import numba; numba.test()" || die +} + +python_install_all() { + # doc needs obsolete sphinxjp package +# use doc && dodoc docs/Numba.pdf + use examples && local EXAMPLES=( examples/. ) + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/numba/numba-0.34.0.ebuild b/dev-python/numba/numba-0.34.0.ebuild new file mode 100644 index 000000000000..40122f0ca614 --- /dev/null +++ b/dev-python/numba/numba-0.34.0.ebuild @@ -0,0 +1,43 @@ +# 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="NumPy aware dynamic Python compiler using LLVM" +HOMEPAGE="http://numba.pydata.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples test" + +RDEPEND=" + >=dev-python/llvmlite-0.19[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + virtual/python-enum34[${PYTHON_USEDEP}] + virtual/python-funcsigs[${PYTHON_USEDEP}] + virtual/python-singledispatch[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +python_test() { + cd "${BUILD_DIR}"/lib* || die + ${PYTHON} -c "import numba; numba.test()" || die +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-python/numba/numba-0.35.0.ebuild b/dev-python/numba/numba-0.35.0.ebuild new file mode 100644 index 000000000000..40122f0ca614 --- /dev/null +++ b/dev-python/numba/numba-0.35.0.ebuild @@ -0,0 +1,43 @@ +# 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="NumPy aware dynamic Python compiler using LLVM" +HOMEPAGE="http://numba.pydata.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples test" + +RDEPEND=" + >=dev-python/llvmlite-0.19[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + virtual/python-enum34[${PYTHON_USEDEP}] + virtual/python-funcsigs[${PYTHON_USEDEP}] + virtual/python-singledispatch[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +python_test() { + cd "${BUILD_DIR}"/lib* || die + ${PYTHON} -c "import numba; numba.test()" || die +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} |