diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-08 05:29:50 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-08 05:29:50 +0000 |
commit | 40fcb679195952e24f58f9e1e5328c2a2e2a6120 (patch) | |
tree | 94244d3a0f3940142c1745886a514536395873f5 /sci-physics | |
parent | Dummy commit to fix manifest signature. (diff) | |
download | historical-40fcb679195952e24f58f9e1e5328c2a2e2a6120.tar.gz historical-40fcb679195952e24f58f9e1e5328c2a2e2a6120.tar.bz2 historical-40fcb679195952e24f58f9e1e5328c2a2e2a6120.zip |
Version bump. Now use cmake, rewritten from scratch and respect upstream options
Package-Manager: portage-2.2.01.20796-prefix/cvs/Linux x86_64
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/reduze/ChangeLog | 12 | ||||
-rw-r--r-- | sci-physics/reduze/Manifest | 20 | ||||
-rw-r--r-- | sci-physics/reduze/metadata.xml | 2 | ||||
-rw-r--r-- | sci-physics/reduze/reduze-2.0.8.ebuild | 69 |
4 files changed, 95 insertions, 8 deletions
diff --git a/sci-physics/reduze/ChangeLog b/sci-physics/reduze/ChangeLog index 7ea446caf1e2..d34f3d26cc3d 100644 --- a/sci-physics/reduze/ChangeLog +++ b/sci-physics/reduze/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-physics/reduze -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/reduze/ChangeLog,v 1.2 2011/01/17 15:03:22 grozin Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/reduze/ChangeLog,v 1.3 2012/08/08 05:29:50 bicatali Exp $ + +*reduze-2.0.8 (08 Aug 2012) + + 08 Aug 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +reduze-2.0.8.ebuild, + metadata.xml: + Version bump. Now use cmake, rewritten from scratch and respect upstream + options 17 Jan 2011; Andrey Grozin <grozin@gentoo.org> reduze-1.2.ebuild: Downgrade to EAPI 3 @@ -10,4 +17,3 @@ 16 Jan 2011; Andrey Grozin <grozin@gentoo.org> +reduze-1.2.ebuild, +metadata.xml: Initial import - diff --git a/sci-physics/reduze/Manifest b/sci-physics/reduze/Manifest index 0af81e42de52..913a45dc3efa 100644 --- a/sci-physics/reduze/Manifest +++ b/sci-physics/reduze/Manifest @@ -1,4 +1,16 @@ -DIST reduze-1.2.tar.gz 552514 RMD160 462d625723e7b4aed74d04497d4ffe915ffc2064 SHA1 7cd35b25fc70356b586c94ca32ae241e83625019 SHA256 e9528c7361c9e3917b49bcaca2fe000c11307fd898fe148767946ce08fdc973d -EBUILD reduze-1.2.ebuild 659 RMD160 2b794bd818c0eb4eb8a520fb43052370659202d3 SHA1 5e1dc6068f946148efeaedbb41c47272361cf63c SHA256 55b005f14e5e2bdcdf0e16750788e84ad01fcc58333458b16ea901b2b6869e4a -MISC ChangeLog 431 RMD160 76c69996768688509f954c2eeca0831ab475bf18 SHA1 a1137e2a74d5568ffc3dc95e28ce7dd2596095e6 SHA256 2d2da87987b0a6adb52de1ad3f7a916a2701ec5e59a4e402978400e795fb0c8d -MISC metadata.xml 343 RMD160 b06cea3cf4792fe1d4227fb9e8e936574d28e028 SHA1 cf61f9bbf5e50b31f9ab813bd25f3852e03fad5c SHA256 7c556826a4f976ab7f6ca7af89e45de8f362ec41c000a5bc8d306568c792f424 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST reduze-1.2.tar.gz 552514 SHA256 e9528c7361c9e3917b49bcaca2fe000c11307fd898fe148767946ce08fdc973d +DIST reduze-2.0.8.tar.gz 568026 SHA256 96fe0c4d9c8a10393d3a6c7aa8c858ad8b4b9bfd5d11b4fa89ade99b4b84ec93 SHA512 3e597d4617272c31d00db011a5057f232d065112b41930ed6427e7cdc5cee668083925b8d28014d675ec5592c00c8a5ea06f05e999303e8b6e974d67359c0925 WHIRLPOOL cbdbd5769487d0d64086c9114ef579e6227e5783c65203a4d558a00dc066750123c7faf50c1ba21acc932938c1d9cbb7e5e25d3d167fae6662d1752010de67b1 +EBUILD reduze-1.2.ebuild 659 SHA256 55b005f14e5e2bdcdf0e16750788e84ad01fcc58333458b16ea901b2b6869e4a SHA512 f1950d9a4103de11dd765402e97a26cfc0dcc7d5a40ad2183ed6ddd4de2e8b75844d52f0e23c4ab666378b6e5e92448dbca6a52c27e209a9691948077f70b33b WHIRLPOOL 008089acec40e13d2cfe6bbae2809a308a91b62a81a8985dfad42236ac6fa9d7109b9eadfabc2aed8297e2b5b8789c0ff786d25bdcef5a5e78e75cb1ea045ce9 +EBUILD reduze-2.0.8.ebuild 1637 SHA256 ab715ffc643cd2bd2db2539a30e00b7006c538e7e5b6b0c1f248cc3601762e75 SHA512 b9cb134e1df3cbba858b50d19f79cba573b89fb3b8acd826dc47b655bd9c995a6dc8bde71a83d4daacac576d37ecee9fbe74e8177550aa9ab5fdf2dfa3828b0c WHIRLPOOL 053e60e1c4ba93c752b6d393e1cad72192dab0aa24fe34f90c0aca0fad8943b65f33497a6c6745d03e70ae627f0c3acdabe2cdc0a1079c3b0c068beba17ea0bd +MISC ChangeLog 640 SHA256 1f6960112c7a13899f0f7093e92fc7218b3afe130053c3d03ed3965978a08863 SHA512 bcf9fd43fef476f8f03ad7dc0145bb01409e81167f7d6fbc125d3e5a60530171d435bbb3c647a7d36fff0c192f5ab343a19b4200ee3aaf8d29caf9475e1d7d59 WHIRLPOOL 20aa1ccb807661ca1dcc7e0b9bd09089fbd7c26a2462f25122882a268b2afb3e29867e40c92698168e5cd33e53dfecea45e26c8c6e28e8839e7fff68a0ea9061 +MISC metadata.xml 345 SHA256 aacbe71b15d84b9e8aa04467469f9fa30b194dbea1f59fd1de393c20fc74df38 SHA512 04f1f2d789aa900eea1e9e9cc4f52a787f76699080d94cbaef1c8df1be22584ea9cf3849f1772e3bda82de8ef32ead79f120cd48fdb26d1b27a23fdb8a008d5e WHIRLPOOL 75b19b1de215ea971b0f5defec3e09024bd7fe91439873fecf8a82e1217c64664f30b05cf44c6b1bca3bb31b21c019b6585922aca51a8d7b804f6e48e7917a2f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlAh+VgACgkQ1ycZbhPLE2CW1ACfdFC6CZYH0lBMLPVLyEMyM5J/ +bGMAmgP1ivIbvFRQNHOvglo5px7IdKdL +=sXD3 +-----END PGP SIGNATURE----- diff --git a/sci-physics/reduze/metadata.xml b/sci-physics/reduze/metadata.xml index 9e30e0081afb..ae17f7db132d 100644 --- a/sci-physics/reduze/metadata.xml +++ b/sci-physics/reduze/metadata.xml @@ -7,6 +7,6 @@ <name>Andrey Grozin</name> </maintainer> <longdescription lang="en"> -A program for reducing Feynman integrals + A program for reducing Feynman integrals </longdescription> </pkgmetadata> diff --git a/sci-physics/reduze/reduze-2.0.8.ebuild b/sci-physics/reduze/reduze-2.0.8.ebuild new file mode 100644 index 000000000000..06c641058602 --- /dev/null +++ b/sci-physics/reduze/reduze-2.0.8.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/reduze/reduze-2.0.8.ebuild,v 1.1 2012/08/08 05:29:50 bicatali Exp $ + +EAPI=4 + +inherit cmake-utils versionator + +DESCRIPTION="Program for reducing Feynman integrals" +HOMEPAGE="http://reduze.hepforge.org/" +SRC_URI="http://reduze.hepforge.org/download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" + +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="berkdb doc mpi" + +RDEPEND=">=sci-mathematics/ginac-1.4.1 + berkdb? ( sys-libs/db[cxx] ) + mpi? ( virtual/mpi )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +DOCS=( ChangeLog README ) + +src_prepare() { + # gentoo doc directory + sed -i \ + -e "s:share/reduze:share/doc/${PF}:g" \ + CMakeLists.txt || die + use doc || sed -i -e '/share/d' CMakeLists.txt + # prefix and db fix + local ver=$(best_version sys-libs/db) + ver=$(get_version_component_range 1-2 "${ver/*db-/}") + sed -i \ + -e "s:/usr:${EPREFIX}/usr:g" \ + -e "s:db4:db${ver}:g" \ + reduze/CMakeLists.txt || die + + # remove bundled yaml-cpp + # no: it does not build. is it patched? + # sed -i -e '/add_subdirectory ("yaml")/d' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DUSE_HASH_TABLE=ON + $(cmake-utils_use berkdb USE_DATABASE) + $(cmake-utils_use mpi USE_MPI) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile all $(use doc && echo doc) +} + +src_test() { + cd "${CMAKE_BUILD_DIR}" + emake check + use mpi && emake check_mpi +} + +src_install() { + cmake-utils_src_install + use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/code/html/* +} |