diff options
Diffstat (limited to 'sci-libs/ta-lib')
-rw-r--r-- | sci-libs/ta-lib/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/ta-lib/ta-lib-0.4.0.ebuild | 31 |
2 files changed, 22 insertions, 11 deletions
diff --git a/sci-libs/ta-lib/Manifest b/sci-libs/ta-lib/Manifest index fd3f7ddadbe0..df3c7661b457 100644 --- a/sci-libs/ta-lib/Manifest +++ b/sci-libs/ta-lib/Manifest @@ -1,4 +1,4 @@ AUX ta-lib-0.4.0-asneeded.patch 3304 BLAKE2B 5350248ae6511136ed09f66faca62021175b4c98030e271f98f08ad948b8b7795eeba84d44b4e808217da76e163a1f1cbcd1dde052de6a8f2351d53947728328 SHA512 aa43a9cd5382eb43cce2dd64325a36fd88bdae7969c3c191ddbbc7ed726145d7cd1cca17196093c7b4af63a95d3a118d6f2e93ff5d021105091056a325042123 DIST ta-lib-0.4.0-src.tar.gz 1330299 BLAKE2B 2acc09c2a01c02912dd4ea9a72296376dcb4b434723508829d3b97fcb77baaf8d4eaa44a84fbdb094119890fc1949fc52f759345101d8848032c3814576623c7 SHA512 d7ae2acd830cd23b58bded8a90759edfabc73923fbed3cc09501c121cc937caf728c29678f456c2dc7e72fabb52166bccc19ab51ab1131c7d8d35c201c94ed4c -EBUILD ta-lib-0.4.0.ebuild 661 BLAKE2B 8ea3f75115b2a7d08fde2086da34263c1a25107b2188f3a3a2cad0f8319ac1b89c818110b97af16c14cab1fa670f6e9a48652d428a6f2d32b0eab743e73d2dd5 SHA512 018cc046768f40cdc719c494168abb7379da2d4b7b0f4abc3d14ad0003d4a50358a5bc9baf40497e6a6a3e28031db09f1372deeb4af02cc98777bf0c79852a27 +EBUILD ta-lib-0.4.0.ebuild 679 BLAKE2B e7f8cb0f03219836d0fffaa0d5dc90d3fb2911485ad7b46a75b68fe3a6ef3f5ddb5610275c0449cfb7f92cb17b261cdbe2d525fbfef101b471d8cd8ac070747f SHA512 e178ea0cdab132427d2eb5fbb11e76150c8b8a6382d6ce9d01e5f02f515c8c119989405ea5a7624fa0c3580e70cd7d35976bee5b9d0d23bce5de86490d162457 MISC metadata.xml 243 BLAKE2B 400c5a1dd01546d5bf24cbf3a8944fa5f83d60ebe181ae799e2d3ce7c862458369524793540d78cd0c8e15b77df23cb90db634b7b7c8ede5373a53a03fe49b33 SHA512 7ce6628e1ef9623673a4981aaaca3a1a3e9f030b6826929de1307bc1ea6d18b31bb5f14e8aefa60a6ecf34c874b4cb18ba8d64e869e151cf750b79e76e394bcf diff --git a/sci-libs/ta-lib/ta-lib-0.4.0.ebuild b/sci-libs/ta-lib/ta-lib-0.4.0.ebuild index 99cb7258bb33..7a7a581a503c 100644 --- a/sci-libs/ta-lib/ta-lib-0.4.0.ebuild +++ b/sci-libs/ta-lib/ta-lib-0.4.0.ebuild @@ -1,11 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -AUTOTOOLS_AUTORECONF=yes - -inherit autotools-utils +inherit autotools DESCRIPTION="Technical Analysis Library for analyzing financial markets trends" HOMEPAGE="http://www.ta-lib.org/" @@ -14,15 +12,28 @@ SRC_URI="mirror://sourceforge/ta-lib/${P}-src.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="static-libs" -S="${WORKDIR}"/${PN} +S="${WORKDIR}/${PN}" PATCHES=( "${FILESDIR}"/${P}-asneeded.patch ) -AUTOTOOLS_IN_SOURCE_BUILD=1 +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf --disable-static +} src_test() { - ewarn "Note: this testsuite will fail without an active internet connection." - "${S}"/src/tools/ta_regtest/ta_regtest || die "Failed testsuite." + src/tools/ta_regtest/ta_regtest || die +} + +src_install() { + default + + # no static archives + find "${D}" -name '*.la' -delete || die } |