diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/libdynd | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/libdynd')
-rw-r--r-- | dev-libs/libdynd/Manifest | 2 | ||||
-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/files/libdynd-0.6.2-out-of-git-versioning.patch | 15 | ||||
-rw-r--r-- | dev-libs/libdynd/libdynd-0.6.5.ebuild | 67 | ||||
-rw-r--r-- | dev-libs/libdynd/libdynd-0.6.6.ebuild | 67 | ||||
-rw-r--r-- | dev-libs/libdynd/metadata.xml | 21 |
9 files changed, 243 insertions, 0 deletions
diff --git a/dev-libs/libdynd/Manifest b/dev-libs/libdynd/Manifest new file mode 100644 index 000000000000..695bfcc8db3d --- /dev/null +++ b/dev-libs/libdynd/Manifest @@ -0,0 +1,2 @@ +DIST libdynd-0.6.5.tar.gz 1238404 SHA256 bf2e5c88995f0da880c3d7552c2541138c0f07eb6555f0ee10c77d805f8b3f65 SHA512 ebf64b94b38300e4e471f975a51e4b014879937e855af5d72a3f759af4445fa9024e42962ab1284ebe7b2ae2ddf51ea418d106c9894e1841f0984622afbef115 WHIRLPOOL 9222608edd8382ec2f8dbd7dd85eb0392d79a527d94f959f011430b2d15bbf405ccf06954e20679e26e93cd7c356b70f7490280e097cfc833ac015612a5cfe77 +DIST libdynd-0.6.6.tar.gz 1261349 SHA256 0e05eedd6b230f122a6c92fb6306be3017b0a5c460af5eace0074640455ef17e SHA512 efeb52a5b5dd3154ca293f388d5b967ff983450253435572b919f7c4a1445ad3cb416def4c736f908fdb3b06cddebae881a58420e528f1ca145973a997af7a28 WHIRLPOOL 8479f280a883f07382280b8fb94a3c21e8ef9975b67fe31bed83a40b9ad7e5b939c48ac76c638492faeb91143e449471c0d316078066c4d9752e4b238f3cd822 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/files/libdynd-0.6.2-out-of-git-versioning.patch b/dev-libs/libdynd/files/libdynd-0.6.2-out-of-git-versioning.patch new file mode 100644 index 000000000000..92b7ec027ec2 --- /dev/null +++ b/dev-libs/libdynd/files/libdynd-0.6.2-out-of-git-versioning.patch @@ -0,0 +1,15 @@ +--- CMakeLists.txt.orig 2014-05-01 20:43:13.000000000 +0400 ++++ CMakeLists.txt 2014-05-12 13:56:55.000000000 +0400 +@@ -112,9 +112,9 @@ + 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 --always --match "v*") ++SET(DYND_GIT_SHA1 "@DYND_GIT_SHA1@") ++SET(DYND_VERSION_STRING "@DYND_VERSION@") ++ + 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/libdynd-0.6.5.ebuild b/dev-libs/libdynd/libdynd-0.6.5.ebuild new file mode 100644 index 000000000000..49451de5e38a --- /dev/null +++ b/dev-libs/libdynd/libdynd-0.6.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils multilib cuda + +# change each release, to avoid git in tree dependency +DYND_GIT_SHA1=2e140844d4a21c436ca0fc46996bf8606ffc21d5 + +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/${PV}" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="cuda doc fftw test" + +RDEPEND=" + dev-libs/c-blosc:0= + cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit ) + fftw? ( sci-libs/fftw:3.0 ) + " +DEPEND="${RDEPEND}" + +DOCS=( README.md ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.6.0-dont-install-test.patch +) + +src_prepare() { + cmake-utils_src_prepare + # each relase comes with a different set... + # remove forced strong flags + sed -i \ + -e "s|@DYND_GIT_SHA1@|${DYND_GIT_SHA1}|" \ + -e "s|@DYND_VERSION@|${PV}|" \ + -e 's|-fomit-frame-pointer||' \ + -e 's|-Werror||g' \ + CMakeLists.txt || die +} + +src_configure() { + sed -i \ + -e '/add_subdirectory(examples)/d' \ + CMakeLists.txt || die + local mycmakeargs=( + -DDYND_SHARED_LIB=ON + -DDYND_INSTALL_LIB=ON + $(cmake-utils_use cuda DYND_CUDA) + $(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/libdynd-0.6.6.ebuild b/dev-libs/libdynd/libdynd-0.6.6.ebuild new file mode 100644 index 000000000000..5962297ce6e0 --- /dev/null +++ b/dev-libs/libdynd/libdynd-0.6.6.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils multilib cuda + +# change each release, to avoid git in tree dependency +DYND_GIT_SHA1=09fb7e5eccadbe1ec49ff4b05fec724939331e6d + +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/${PV}" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cuda doc fftw test" + +RDEPEND=" + dev-libs/c-blosc:0= + cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit ) + fftw? ( sci-libs/fftw:3.0 ) + " +DEPEND="${RDEPEND}" + +DOCS=( README.md ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.6.0-dont-install-test.patch +) + +src_prepare() { + cmake-utils_src_prepare + # each relase comes with a different set... + # remove forced strong flags + sed -i \ + -e "s|@DYND_GIT_SHA1@|${DYND_GIT_SHA1}|" \ + -e "s|@DYND_VERSION@|${PV}|" \ + -e 's|-fomit-frame-pointer||' \ + -e 's|-Werror||g' \ + CMakeLists.txt || die +} + +src_configure() { + sed -i \ + -e '/add_subdirectory(examples)/d' \ + CMakeLists.txt || die + local mycmakeargs=( + -DDYND_SHARED_LIB=ON + -DDYND_INSTALL_LIB=ON + $(cmake-utils_use cuda DYND_CUDA) + $(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..f8c937125842 --- /dev/null +++ b/dev-libs/libdynd/metadata.xml @@ -0,0 +1,21 @@ +<?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> + <use> + <flag name="cuda">Enable NVIDIA CUDA toolkit support</flag> + </use> + <upstream> + <remote-id type="github">ContinuumIO/libdynd</remote-id> + </upstream> +</pkgmetadata> |