public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ta-lib/
@ 2019-12-13 17:41 David Seifert
  0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2019-12-13 17:41 UTC (permalink / raw
  To: gentoo-commits

commit:     c7c75f705d7b16117ffa3c716e77c17425225657
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 13 17:40:29 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Dec 13 17:40:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7c75f70

sci-libs/ta-lib: Port to EAPI 7

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/ta-lib/ta-lib-0.4.0.ebuild | 31 +++++++++++++++++++++----------
 1 file changed, 21 insertions(+), 10 deletions(-)

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 99cb7258bb3..7a7a581a503 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
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ta-lib/
@ 2022-05-13 22:46 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2022-05-13 22:46 UTC (permalink / raw
  To: gentoo-commits

commit:     87851275ef72b7094e7863165eb1ffa573970202
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 13 22:44:55 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 13 22:45:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87851275

sci-libs/ta-lib: simplify for EAPI 8

--disable-static is set by default with EAPI 8+

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild b/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild
index 1b9203041c43..600814664e17 100644
--- a/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild
+++ b/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -26,10 +26,6 @@ src_prepare() {
 	eautoreconf
 }
 
-src_configure() {
-	econf --disable-static
-}
-
 src_test() {
 	src/tools/ta_regtest/ta_regtest || die
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ta-lib/
@ 2024-03-24  6:57 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-03-24  6:57 UTC (permalink / raw
  To: gentoo-commits

commit:     375183c550610e3dd9ea8bcd65f756aa2dc2e983
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Mar 24 06:24:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 06:56:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=375183c5

sci-libs/ta-lib: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/862936
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild b/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild
index 600814664e17..77a8dd512532 100644
--- a/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild
+++ b/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Technical Analysis Library for analyzing financial markets trends"
 HOMEPAGE="https://www.ta-lib.org/"
@@ -26,6 +26,15 @@ src_prepare() {
 	eautoreconf
 }
 
+src_configure() {
+	# -Werror=lto-type-mismatch
+	# https://bugs.gentoo.org/862936
+	# Upstream is sourceforge plus has not been active since 2013. No bug filed.
+	filter-lto
+
+	default
+}
+
 src_test() {
 	src/tools/ta_regtest/ta_regtest || die
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ta-lib/
@ 2024-09-17 15:26 Petr Vaněk
  0 siblings, 0 replies; 4+ messages in thread
From: Petr Vaněk @ 2024-09-17 15:26 UTC (permalink / raw
  To: gentoo-commits

commit:     8d63be4d8ebfeefa609193fe404b5cba169f6bc3
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 17 15:24:51 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Tue Sep 17 15:26:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d63be4d

sci-libs/ta-lib: drop 0.4.0

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 sci-libs/ta-lib/ta-lib-0.4.0.ebuild | 39 -------------------------------------
 1 file changed, 39 deletions(-)

diff --git a/sci-libs/ta-lib/ta-lib-0.4.0.ebuild b/sci-libs/ta-lib/ta-lib-0.4.0.ebuild
deleted file mode 100644
index 7efdaabff8d6..000000000000
--- a/sci-libs/ta-lib/ta-lib-0.4.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="Technical Analysis Library for analyzing financial markets trends"
-HOMEPAGE="https://www.ta-lib.org/"
-SRC_URI="https://downloads.sourceforge.net/ta-lib/${P}-src.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-S="${WORKDIR}/${PN}"
-
-PATCHES=( "${FILESDIR}"/${P}-asneeded.patch )
-
-src_prepare() {
-	default
-	mv configure.{in,ac} || die
-	eautoreconf
-}
-
-src_configure() {
-	econf --disable-static
-}
-
-src_test() {
-	src/tools/ta_regtest/ta_regtest || die
-}
-
-src_install() {
-	default
-
-	# no static archives
-	find "${D}" -name '*.la' -delete || die
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-17 15:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-17 15:26 [gentoo-commits] repo/gentoo:master commit in: sci-libs/ta-lib/ Petr Vaněk
  -- strict thread matches above, loose matches on Subject: below --
2024-03-24  6:57 Sam James
2022-05-13 22:46 Sam James
2019-12-13 17:41 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox