diff options
author | 2014-02-10 23:30:21 +0000 | |
---|---|---|
committer | 2014-02-10 23:30:21 +0000 | |
commit | 768b7b6483ba06ac183785bd209bb3208a4d859f (patch) | |
tree | b519d1b94fea6f5420998c5483fdd5902b4d596c /dev-libs/libdynd | |
parent | Initial import (diff) | |
download | historical-768b7b6483ba06ac183785bd209bb3208a4d859f.tar.gz historical-768b7b6483ba06ac183785bd209bb3208a4d859f.tar.bz2 historical-768b7b6483ba06ac183785bd209bb3208a4d859f.zip |
Initial import
Package-Manager: portage-2.2.8-prefix/cvs/Linux x86_64
Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'dev-libs/libdynd')
-rw-r--r-- | dev-libs/libdynd/Manifest | 13 | ||||
-rw-r--r-- | dev-libs/libdynd/files/libdynd-0.6.0-dont-install-test.patch | 15 | ||||
-rw-r--r-- | dev-libs/libdynd/files/libdynd-0.6.0-optional-cblosc.patch | 27 | ||||
-rw-r--r-- | dev-libs/libdynd/files/libdynd-0.6.0-out-of-git-versioning.patch | 14 | ||||
-rw-r--r-- | dev-libs/libdynd/files/libdynd-0.6.0-respect-libdir.patch | 15 | ||||
-rw-r--r-- | dev-libs/libdynd/libdynd-0.6.0.ebuild | 53 | ||||
-rw-r--r-- | dev-libs/libdynd/metadata.xml | 15 |
7 files changed, 151 insertions, 1 deletions
diff --git a/dev-libs/libdynd/Manifest b/dev-libs/libdynd/Manifest index 7ad5373ca388..641f873275b2 100644 --- a/dev-libs/libdynd/Manifest +++ b/dev-libs/libdynd/Manifest @@ -1,7 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX libdynd-0.6.0-dont-install-test.patch 494 SHA256 b171e6dbff8c0b43984a511567d62e18b3e3d9ed848fe643a77088d951075e52 SHA512 345c2315e04775d2a2169f910b521a3e781b602a2495256d3ca022b47e0a49be621b4c2d11b8ef1f21d6c7f8055d5ebc4bf82f3b2581b6fe7f0eca1624a668f7 WHIRLPOOL b2dd7a6c00608e881073c5913adaf1e3ae788a608596ca79ea089080ac52dda8ad61b1274abf422017c7a5ea07cd350e41a73000e33bab305b0af2bb3b33dd79 AUX libdynd-0.6.0-optional-cblosc.patch 895 SHA256 6ff32cdb5ee64b4d2fd44850e5d7bf64baf99647577ef982e0adc45b8f54fe30 SHA512 1c607d8a4dbc653b57b1b8e8111b640438613805de4b79dd86c979f4a6ad81cdc825c12277556f9a16c9020b6e1b1909338b2f6ad9f6f47a378e24dc7280829c WHIRLPOOL 21f6d033d725b53244634500f0c79c172e17170eefac0459c447fc0887b87e965fb4baed9023f8894fd2169846de13acb5729f660d81c5d9a799bb2b2b05a94d AUX libdynd-0.6.0-out-of-git-versioning.patch 613 SHA256 87050a1b52c4a07d3a4b40072c0ace93dc0dbac58e9d3fe3c2d9abdd09fe0d5b SHA512 9aa63896c529437838288310ca2691df644ef0a7c96a9ace479043374c6a0fdcff75d89a7bcbd7174fab37859b5b8137823bfe409dfc7933e00bf53d99b25a6f WHIRLPOOL d10dc76e433d2fc4ee06b43f46f9692088f777950be26c5c04ea10bf10be7a064725c581a30a1b227fa32295e9903e8962f914340a897b024146976cbf638198 AUX libdynd-0.6.0-respect-libdir.patch 635 SHA256 1474543d5c4a2ce2e5505635c53535cbdf81940144f79b3da84ad293171c27d5 SHA512 5fbff46016eefd142bc5f28e6ae8c01c0fc644844d2ab1dc325ed29c7da5704579ed7a872a611a6577b2cafb1fd1fae6bb9f29995ac51773b08adb8cc402140e WHIRLPOOL 619e1b76bc84b3fe5b6184f035381cb5c21f92b3e70e3614e5303c13d7f76e3f116467da8007b1cf68815ec836d4c3a9bb35d95b6d60de8def54582e6269cfd3 DIST libdynd-0.6.0.tar.gz 661449 SHA256 1cb5870ad0812443de013fe175ef3d4435f417c1132c997fd035cae2db12db5a SHA512 d6550c80afa4a29259bb34ae8bde1ec215b34b05f614fcbfa3a306e489558e5f5123492b41388ae1a761017ec0e46b29fa43db6ce0517c73ed9ee94f03abd97f WHIRLPOOL 091596905a9e6e9b14b7d59b21ce98e90125c1543dfbe7fda999a8ba874596b4b5320f6dda041e0e060b4413f86add1b466c849bada7c4d28553870288ca48c9 -EBUILD libdynd-0.6.0.ebuild 1227 SHA256 b6c6aa176e88f60f7970f8ea52e2a4cb976b667e38400428da752f85bb2eee54 SHA512 057973b5b3f1b15efa0b19b26feb14d0866745a8f9020fc7086fab3f07b3bfd1cefed481a74a7b0cdb311922185fc21fb50d71fb09e68fad646110fe9c442b30 WHIRLPOOL 89e4089e4f594ec432674e823b0c3b2b691da2f6f2a244662dcdfb65dd63f4a926cdfad3c8c40525f2d5e2515b76e064ed7e9dfa03d78c8b912fd51d270279b3 +EBUILD libdynd-0.6.0.ebuild 1227 SHA256 7b95573623572962f31a48ae408a605ea94c254a049115d808f4c1233895f08f SHA512 dce151e644e9471614476db7f69bc83f5dc41056ef088e4f6d42aa8085604bde36d04cc11e5036f30832fa4983c1637d4426d546b06e02ea941843606e6d5fb6 WHIRLPOOL 5975c1eb32f5af10f07e3baedb26fd427626587c4abd4d8233939137aeeca56f09d9ebdc77905f9092e335a7fab59bc880ab01248e0ae18f09c639b96c1b5302 +MISC ChangeLog 540 SHA256 cc35ac9de0273dae0a5cf6bb99036224e66e795f29d62453cd56a28cafb20bb0 SHA512 9365a9b16a1d40584ef13369340b2e178499af6acdc66041161e34664a92aa565f89105cda51201b96f82adb348427687ee05c28ae8ad3c207670fe095b3c51a WHIRLPOOL fc2018417ca386d848bbcab61a01f6da1b9e46025e14548a65f48ebfb8282253f1c7ac24fc3b3b2da584bb6944c27908afece733ec7b77b2a501de870104730f MISC metadata.xml 734 SHA256 02f6e6459b00824ef3d0a342f4ace1460f9e0df830657ed3c0bbf6faaa14d56d SHA512 9e1de6c6ef6cc02f48b8fcfb7f5e56b6da577496d043685f4aa4719f887343c877e25158212c90a09cd38f89f2e861961e24e4008d41252df920bb16c8e25f9a WHIRLPOOL 217ae2f97e85a4ca1473f6741dd18a14056ef696df837c906e5f8a33a2482e283f0f6e7d48ad037654ee3ee798597870ba61a44b440f282ea5a2f018aa893617 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iEYEAREIAAYFAlL5YQYACgkQ1ycZbhPLE2DgXACeJ39Z6tF2ugx/GhntKxnxcjoZ +IjoAnj6kbqLxUusQx40tdU4QHr6r21R4 +=LDjt +-----END PGP SIGNATURE----- diff --git a/dev-libs/libdynd/files/libdynd-0.6.0-dont-install-test.patch b/dev-libs/libdynd/files/libdynd-0.6.0-dont-install-test.patch new file mode 100644 index 000000000000..9659372b05ea --- /dev/null +++ b/dev-libs/libdynd/files/libdynd-0.6.0-dont-install-test.patch @@ -0,0 +1,15 @@ +--- tests/CMakeLists.txt.orig 2014-02-10 14:25:18.041841087 -0800 ++++ tests/CMakeLists.txt 2014-02-10 14:25:40.224975614 -0800 +@@ -105,12 +105,6 @@ + ) + endif() + +-# If installation is requested, install the program +-if (DYND_INSTALL_LIB) +- install(TARGETS test_libdynd +- RUNTIME DESTINATION bin) +-endif() +- + # Compile-time tests: test code that is supposed to produce compile errors + # I couldn't find a properly specified way to do this, so hacked together + # this function. diff --git a/dev-libs/libdynd/files/libdynd-0.6.0-optional-cblosc.patch b/dev-libs/libdynd/files/libdynd-0.6.0-optional-cblosc.patch new file mode 100644 index 000000000000..d801eb65b437 --- /dev/null +++ b/dev-libs/libdynd/files/libdynd-0.6.0-optional-cblosc.patch @@ -0,0 +1,27 @@ +--- CMakeLists.txt.orig 2014-02-10 14:26:48.299381259 -0800 ++++ CMakeLists.txt 2014-02-10 14:51:16.401051546 -0800 +@@ -56,8 +56,22 @@ + set(CMAKE_VERBOSE_MAKEFILE 1) + + # Embedded libraries +-add_subdirectory(thirdparty/blosc) +-include_directories(thirdparty/blosc/blosc) ++option(DYND_INTERNAL_CBLOSC ++ "Build and use the bundled c-blosc library" ++ OFF) ++if(DYND_INTERNAL_CBLOSC) ++ add_subdirectory(thirdparty/blosc) ++ include_directories(thirdparty/blosc/blosc) ++else() ++ find_path(CBLOSC_INCLUDE_DIR blosc.h) ++ find_library(CBLOSC_LIBRARY NAMES blosc) ++ if (CBLOSC_INCLUDE_DIR AND CBLOSC_LIBRARY) ++ message(STATUS "Found c-blosc library: ${CBLOSC_LIBRARY}") ++ else () ++ message(ERROR "No c-blosc found. Consider using internal sources.") ++ endif() ++endif(DYND_INTERNAL_CBLOSC) ++ + add_subdirectory(thirdparty/datetime) + include_directories(thirdparty/datetime/include) + diff --git a/dev-libs/libdynd/files/libdynd-0.6.0-out-of-git-versioning.patch b/dev-libs/libdynd/files/libdynd-0.6.0-out-of-git-versioning.patch new file mode 100644 index 000000000000..65c32da8a55c --- /dev/null +++ b/dev-libs/libdynd/files/libdynd-0.6.0-out-of-git-versioning.patch @@ -0,0 +1,14 @@ +--- CMakeLists.txt.orig 2014-02-10 14:26:48.299381259 -0800 ++++ CMakeLists.txt 2014-02-10 14:55:48.245644726 -0800 +@@ -86,9 +86,8 @@ + endif() + + # Get the git revision +-include(GetGitRevisionDescriptionDyND) +-get_git_head_revision("${CMAKE_CURRENT_SOURCE_DIR}" GIT_REFSPEC DYND_GIT_SHA1) +-git_describe("${CMAKE_CURRENT_SOURCE_DIR}" DYND_VERSION_STRING --dirty --match "v[0-9]*") ++set(DYND_GIT_SHA1 "9f2e102e3b0c44da82feaa431bb89a5d71b40498") ++set(DYND_VERSION_STRING "v0.6.0") + message(STATUS "DyND version: ${DYND_VERSION_STRING}") + configure_file( + "${CMAKE_CURRENT_SOURCE_DIR}/src/dynd/git_version.cpp.in" diff --git a/dev-libs/libdynd/files/libdynd-0.6.0-respect-libdir.patch b/dev-libs/libdynd/files/libdynd-0.6.0-respect-libdir.patch new file mode 100644 index 000000000000..b3639802808c --- /dev/null +++ b/dev-libs/libdynd/files/libdynd-0.6.0-respect-libdir.patch @@ -0,0 +1,15 @@ +--- CMakeLists.txt.orig 2014-02-10 14:26:48.299381259 -0800 ++++ CMakeLists.txt 2014-02-10 14:27:42.511704585 -0800 +@@ -481,9 +481,9 @@ + if (DYND_INSTALL_LIB) + # Install the libdynd binary + install(TARGETS libdynd +- RUNTIME DESTINATION lib +- LIBRARY DESTINATION lib +- ARCHIVE DESTINATION lib/static) ++ RUNTIME DESTINATION lib${LIB_SUFFIX} ++ LIBRARY DESTINATION lib${LIB_SUFFIX} ++ ARCHIVE DESTINATION lib${LIB_SUFFIX}/static) + # Install the libdynd headers + install(DIRECTORY "include/dynd" DESTINATION "${CMAKE_INSTALL_PREFIX}/include") + # Install the libdynd-config script diff --git a/dev-libs/libdynd/libdynd-0.6.0.ebuild b/dev-libs/libdynd/libdynd-0.6.0.ebuild new file mode 100644 index 000000000000..03595bdb6525 --- /dev/null +++ b/dev-libs/libdynd/libdynd-0.6.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdynd/libdynd-0.6.0.ebuild,v 1.1 2014/02/10 23:30:10 bicatali Exp $ + +EAPI=5 + +inherit cmake-utils multilib + +DESCRIPTION="C++ dynamic multi-dimensionnal array library with Python exposure" +HOMEPAGE="https://github.com/ContinuumIO/libdynd" +SRC_URI="https://github.com/ContinuumIO/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc test" + +RDEPEND="dev-libs/c-blosc" +DEPEND="${RDEPEND}" + +DOCS=( README.md ) + +PATCHES=( + "${FILESDIR}"/${P}-out-of-git-versioning.patch + "${FILESDIR}"/${P}-dont-install-test.patch + "${FILESDIR}"/${P}-respect-libdir.patch + "${FILESDIR}"/${P}-optional-cblosc.patch +) + +src_configure() { + sed -i \ + -e '/add_subdirectory(examples)/d' \ + CMakeLists.txt || die + local mycmakeargs=( + -DDYND_SHARED_LIB=ON + -DDYND_INSTALL_LIB=ON + -DDYND_INTERNAL_BLOSC=OFF + $(cmake-utils_use test DYND_BUILD_TESTS) + ) + cmake-utils_src_configure +} + +src_test() { + cd "${BUILD_DIR}" || die + ./tests/test_libdynd || die +} + +src_install() { + cmake-utils_src_install + use doc && dodoc documents/* +} diff --git a/dev-libs/libdynd/metadata.xml b/dev-libs/libdynd/metadata.xml new file mode 100644 index 000000000000..dfca005b6d61 --- /dev/null +++ b/dev-libs/libdynd/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang='en'> + LibDyND, a component of the Blaze project, is a C++ library for + dynamic, multidimensional arrays. It is inspired by NumPy, the + Python array programming library at the core of the scientific + Python stack, but tries to address a number of obstacles encountered + by some of its users. Examples of this are support for + variable-sized string and ragged array types. The library is in a + preview development state, and can be thought of as a sandbox where + features are being tried and tweaked to gain experience with them. +</longdescription> +</pkgmetadata> |