diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-12-09 10:05:06 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-12-09 10:05:06 +0000 |
commit | 425e50d3ea2129372361d749195923afaae7066a (patch) | |
tree | 76556af775df11189ac2a523a2e232fa80049f91 /sci-libs | |
parent | Remove old. (diff) | |
download | historical-425e50d3ea2129372361d749195923afaae7066a.tar.gz historical-425e50d3ea2129372361d749195923afaae7066a.tar.bz2 historical-425e50d3ea2129372361d749195923afaae7066a.zip |
sci-libs/alglib: Seperate test from build
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/alglib/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/alglib/Manifest | 32 | ||||
-rw-r--r-- | sci-libs/alglib/alglib-3.8.2.ebuild | 13 | ||||
-rw-r--r-- | sci-libs/alglib/files/CMakeLists.txt-3.8.2 | 24 |
4 files changed, 42 insertions, 33 deletions
diff --git a/sci-libs/alglib/ChangeLog b/sci-libs/alglib/ChangeLog index 736a68f37cb6..eef55a56cd68 100644 --- a/sci-libs/alglib/ChangeLog +++ b/sci-libs/alglib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/alglib # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/alglib/ChangeLog,v 1.2 2013/12/06 10:50:04 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/alglib/ChangeLog,v 1.3 2013/12/09 10:05:05 jlec Exp $ + + 09 Dec 2013; Justin Lecher <jlec@gentoo.org> alglib-3.8.2.ebuild, + files/CMakeLists.txt-3.8.2: + Seperate test from build *alglib-3.8.2 (06 Dec 2013) diff --git a/sci-libs/alglib/Manifest b/sci-libs/alglib/Manifest index 1f075472f31a..e0e7b2db35fb 100644 --- a/sci-libs/alglib/Manifest +++ b/sci-libs/alglib/Manifest @@ -2,27 +2,27 @@ Hash: SHA512 AUX CMakeLists.txt 1076 SHA256 362393e6e363e739d9aeac7bebe84fce6848efc954f8dbcebed3d954163c947f SHA512 e5a10fe01c313863e23e9b61eef64e0b08232bf324d50ab6583bbb085cba5722c190bbdfca7bee485c65c8cd7e713300ced4a8feb2cdba0bee07244d5154de25 WHIRLPOOL 5e189008438a4791f278e27b180c557077b5951d617a2c690a0b19c9f900378be454c5aa07d2517ca8bbb7d8d57e01f5adda65f9785b39bd4af4d935823924d3 -AUX CMakeLists.txt-3.8.2 1076 SHA256 6fff9236b8ebc2fc34c1695c95b5302b51a0383b539f7b6a0fa07f2ec125bca6 SHA512 34762839bff6b54e932f4421b53dba6b565193447d50da9830a195d433ce98cb5c99a2762942ec2cdff85bddfe5f2d847effce0ef931ecdd6d8e674224818aea WHIRLPOOL 1fce2e1e22f1ad9e25188d5ca1e2b29644666f33c4fe8b81360989c0221818fd62a29eb8ecf12f28c4495eff82d39c6d5938d2591414866c0e5fc4c306e93f40 +AUX CMakeLists.txt-3.8.2 1159 SHA256 53ed7a133b27e83bf1a0255153a6d7b36924d59a7f0e40b8f688898640f53f15 SHA512 193661b9f949972048132bc07b4619c2f0d38135d6f0030621cd8aabf87e9e78a6bec18cdb4fb9cb9e547fee9f4387e21ba3a02d45c41033a9c0be9221cf7d3c WHIRLPOOL a02fa5b7833d6ff19f6987904c737bc24578d992c173a50a4a51d250fe25c363fa3268cb002863f94aa318fbb74d3b090bc489340aebb37816fc70ca662b3c54 DIST alglib-3.7.0.cpp.tgz 1518417 SHA256 62100afea6f3e54606031065d28b484ef82b3a96732265a23d8e0f17e34bd36c SHA512 055a292512eb6b5bdb667a2cfb8fda33237b17f1b900ba086e20a541af0f41bc85aef935c1357d780b45f3b1f2e6acddea23f19cdafa25a08f821aa391fec285 WHIRLPOOL 7dce3c5057c2b356b4f361304f2bfa6281671bb1f45204895864db0013ee18127f9cb4a64b311369debdf1adad4b4cb594514a7387adc6f9b9c21ccb4dc549f6 DIST alglib-3.8.2.cpp.tgz 1674260 SHA256 c02944558849c8b22f32f8dea03ebf3b77a0aab9aa2518927d25f6bfe7cb06a2 SHA512 3d7b6e3b5a29f25aee476bdd69e583d7504a2e06d390822b4aa2792eeb500e08c13477176be348a9dd560bad358e423465c9086f0c7c12f73dc88024364aed50 WHIRLPOOL 8ec5a51448c00241428f3b6c6191e31f94ee09dc1d94417178a59887edb8b4e8cfd561983bc4b31686971ad27c43e957aa7c1232e500000a0ea84e763f08ddcf EBUILD alglib-3.7.0.ebuild 621 SHA256 a2b57950124196e530c3ec5d555c630136524eac7d668da88781eee9391c820d SHA512 a95be4978036c8210c39f4922cab83fae491026937468389b43b9b34d6170c40897e6d5726474ee1f747fa16e6c3d49261dde1c23c8da124b4d1b6b07a450f56 WHIRLPOOL cb2beb7fa9c40001103f8f22431fc9df33addfc8d3024adc8d62755356362469598271a5a9cff922dd91df56961ed131b590467c3dd3d80745e32076ac815127 -EBUILD alglib-3.8.2.ebuild 640 SHA256 c3aae1b41af327278d744837db8f92528789391f95b4582181aa85185abe0a9d SHA512 96aa5861a0619edb7b238bf0bce87b72c77c4d03eabf73c1376a9b022d9e261ecaa924f0e77d849a4664545259c9ef8b596a593353c161f3f318944f9d20375f WHIRLPOOL e56e8027466bd7956ce804ba77f993f95459895267d92df5a6717ddeca100c75523dce0243b44e63aeb437e116dce72b6b6a66d3a0ef88d6724f2d9e35e342cb -MISC ChangeLog 539 SHA256 16dab7fee7df57cece4c21f0308dcc1d610533a8973197f2ed52cf908eacbd7b SHA512 a1b9029d57d45583a22d91c2c288983d5014165fcf1c89ac0349e5accbd026d81ae18f38fa16871e2de160a5903cb9635140cfc512f35ca172e9c89cb46ab079 WHIRLPOOL 85dee1964c1da739082bd83db022638007f08473edf76d1890c952e1a8e5a33803071fd90b41f8be351bdfce7528669693f66f0319dc8a9c7d38a202eed9668d +EBUILD alglib-3.8.2.ebuild 712 SHA256 48816047cd3d239b4fd9de4c85554dba38c279e6dea2786e3231d40700ec6482 SHA512 00becfe56e7cba3cc04881c069bac7a0aec3a6f529f4e93da1e92eeb353cb511fa5243915d5a500b3012c5fdd9ca8b52d8178ffee2cdfae36a4e6bbd7cf5323f WHIRLPOOL 27ff89908f3595740d07e87b0c4b043473ec25d8fc820e6adf6ef51e48911690f1e285e1dced2a1a2cf8b2fef611467e39f31d6caa1535a0d1ccb3d425307674 +MISC ChangeLog 665 SHA256 2bbdbfc0532bc87808da563207a3653dead9a5888dff0524921d8ba699c43ce7 SHA512 b7979cdb341fe0fe6f8632be3393d4cbe75354111b68baf29db0e956dc046b238a48c27fd8f04b35c0a26f7aaf6eef6d440a758b64c6c0f4937b9a8f9920def3 WHIRLPOOL e27befb0e06fe90629464f57b669ef1eb17082dc4836b8c48d54f991f907820037c22336454e8fb7b1f2cc903a29042199e7b94ce4ef9c75de7ad2045652e308 MISC metadata.xml 1557 SHA256 e2554963c0379fd84eee771de042ec1b418b7ad89c8a8f488fd2ba6d0b8da2f2 SHA512 d5503576f4579f8235bf3b3872a4acb006b0143a37151b57808c33a2bd81287b54488567c0c6ac1ffbdbab05dcc04854ff5f4ce63cc78d874bac85fb0789f626 WHIRLPOOL 73189c271862b2e267cf4f3e414fbb96fe119f0b1e0b284a878f02428a5e212f06249e347d48070b07d6f955e95e117d2982bc75af5838ab586169e0cb0c2ae1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCgAGBQJSoaveAAoJELnU8jG9FVirPF0QAJGj3QaXAKX0dVZlLr6khz3l -gH1A/UNoN/S6VknWCV96wKsUdtBvAxCICYG6qCnw6/769DTzXlTkBI2GGkG4z5v1 -5h+sqNR9xLGj0YX81S5JJ+e2oFsIt8KNyK8ROzk9Fpx9PKAQp56Ld4dcyUQvud8L -jjRsmJ26gVPnv0AwmmN1D0+kWSOzEaqApANEtIeKxrWW9GXB6p54gR29VwNA9y60 -jMU9RBDEsWDqFtwH8k0JWS4vZYFCujIDt9jCopOxV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PsxoEhEC/75rKSJZDdPD +EHE2WgGR3XqNaiMEugR5o1j4gXfSSObAvDPIhAj4rBGyo8YwXsuiOXvMnEuPOzq9 +0Ineng4WaEljGWXmOCjr +=FSEn -----END PGP SIGNATURE----- diff --git a/sci-libs/alglib/alglib-3.8.2.ebuild b/sci-libs/alglib/alglib-3.8.2.ebuild index 67ebbfe740c2..74f3968808ff 100644 --- a/sci-libs/alglib/alglib-3.8.2.ebuild +++ b/sci-libs/alglib/alglib-3.8.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/alglib/alglib-3.8.2.ebuild,v 1.1 2013/12/06 10:50:04 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/alglib/alglib-3.8.2.ebuild,v 1.2 2013/12/09 10:05:05 jlec Exp $ EAPI=5 @@ -13,11 +13,7 @@ SRC_URI="http://www.alglib.net/translator/re/${P}.cpp.tgz" SLOT="0" LICENSE="GPL-2+" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND} -" +IUSE="test" S="${WORKDIR}"/cpp/ @@ -25,3 +21,8 @@ src_prepare() { cp "${FILESDIR}"/CMakeLists.txt-${PV} CMakeLists.txt || die cmake-utils_src_prepare } + +src_configure() { + local mycmakeargs=( $(cmake-utils_use_build test) ) + cmake-utils_src_configure +} diff --git a/sci-libs/alglib/files/CMakeLists.txt-3.8.2 b/sci-libs/alglib/files/CMakeLists.txt-3.8.2 index 0b1c5f51150d..483c63dc7f59 100644 --- a/sci-libs/alglib/files/CMakeLists.txt-3.8.2 +++ b/sci-libs/alglib/files/CMakeLists.txt-3.8.2 @@ -6,6 +6,8 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src) SET(VERSION 3.8.2) SET(SOVERSION 3.8) +option(BUILD_TEST "Build tests" OFF) + FILE(GLOB ALGLIB_SRC_LIB "src/*.cpp") FILE(GLOB ALGLIB_HDR_LIB "src/*.h") @@ -17,16 +19,18 @@ SET_TARGET_PROPERTIES(alglib PROPERTIES INSTALL(TARGETS alglib DESTINATION ${CMAKE_INSTALL_LIBDIR}/) INSTALL(FILES ${ALGLIB_HDR_LIB} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) -#=========================================================== -ADD_EXECUTABLE(test_c tests/test_c.cpp) -TARGET_LINK_LIBRARIES(test_c alglib) -#INSTALL(TARGETS test_c DESTINATION ${CMAKE_INSTALL_BINDIR}/) -#=========================================================== -ADD_EXECUTABLE(test_i tests/test_i.cpp) -TARGET_LINK_LIBRARIES(test_i alglib) -#INSTALL(TARGETS test_i DESTINATION ${CMAKE_INSTALL_BINDIR}/) -#=========================================================== +if (BUILD_TEST) + #=========================================================== + ADD_EXECUTABLE(test_c tests/test_c.cpp) + TARGET_LINK_LIBRARIES(test_c alglib) + #INSTALL(TARGETS test_c DESTINATION ${CMAKE_INSTALL_BINDIR}/) + #=========================================================== + ADD_EXECUTABLE(test_i tests/test_i.cpp) + TARGET_LINK_LIBRARIES(test_i alglib) + #INSTALL(TARGETS test_i DESTINATION ${CMAKE_INSTALL_BINDIR}/) + #=========================================================== -enable_testing() + enable_testing() +endif (BUILD_TEST) add_test( test_c ${CMAKE_BUILD_DIR}/test_c) add_test( test_i ${CMAKE_BUILD_DIR}/test_i) |