diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-04-26 15:09:46 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-04-26 15:09:46 +0000 |
commit | 58c36e89667e9cd24f2b3ede594020accbeb44b9 (patch) | |
tree | 7278189a428c7e4ab349b57ea94450b77eafcb6d /sci-libs | |
parent | unmask sys-auth/pambase[passwdqc] (diff) | |
download | historical-58c36e89667e9cd24f2b3ede594020accbeb44b9.tar.gz historical-58c36e89667e9cd24f2b3ede594020accbeb44b9.tar.bz2 historical-58c36e89667e9cd24f2b3ede594020accbeb44b9.zip |
sci-libs/ta-lib: Move to EAPI=4, handle static-libs, use autotools-utils.eclass
Package-Manager: portage-2.2.0_alpha101/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/ta-lib/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/ta-lib/Manifest | 20 | ||||
-rw-r--r-- | sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch | 79 | ||||
-rw-r--r-- | sci-libs/ta-lib/metadata.xml | 2 | ||||
-rw-r--r-- | sci-libs/ta-lib/ta-lib-0.4.0.ebuild | 32 |
5 files changed, 102 insertions, 39 deletions
diff --git a/sci-libs/ta-lib/ChangeLog b/sci-libs/ta-lib/ChangeLog index 87cd3a84090a..efdd71ebcab6 100644 --- a/sci-libs/ta-lib/ChangeLog +++ b/sci-libs/ta-lib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/ta-lib -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/ta-lib/ChangeLog,v 1.7 2010/07/17 11:04:17 hwoarang Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ta-lib/ChangeLog,v 1.8 2012/04/26 15:09:46 jlec Exp $ + + 26 Apr 2012; Justin Lecher <jlec@gentoo.org> ta-lib-0.4.0.ebuild, + files/ta-lib-0.4.0-asneeded.patch, metadata.xml: + Move to EAPI=4, handle static-libs, use autotools-utils.eclass 17 Jul 2010; Markos Chandras <hwoarang@gentoo.org> metadata.xml: Fix metadata.xml. maintainer-needed is not a herd diff --git a/sci-libs/ta-lib/Manifest b/sci-libs/ta-lib/Manifest index 8030131468f9..58fc358cd99d 100644 --- a/sci-libs/ta-lib/Manifest +++ b/sci-libs/ta-lib/Manifest @@ -1,17 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA512 -AUX ta-lib-0.4.0-asneeded.patch 648 RMD160 9ad0af62742aea5c30053aa913436f46feddee25 SHA1 d176674cd191b0e2799886c2ef3720971a25df27 SHA256 e06345f093a62deccc348daddbc9ccd036c5b72e1d845dd9420830c4345649a9 +AUX ta-lib-0.4.0-asneeded.patch 3304 RMD160 cc5be0a35d73d615009bc5c5609012031f688dbc SHA1 70c53f228aa0ce87407b5d3805ee20a3d2d78f4f SHA256 ec37136e33dfecec74ba89759b77bb45bfdabe5ea1514a3f8875da80a9120d16 DIST ta-lib-0.4.0-src.tar.gz 1330299 RMD160 9da16be4b8c856ff59c7b0fcbc3fdae412a9dfb3 SHA1 b326b91e79ca1e569e95aad91e87a38640dd5f1b SHA256 9ff41efcb1c011a4b4b6dfc91610b06e39b1d7973ed5d4dee55029a0ac4dc651 -EBUILD ta-lib-0.4.0.ebuild 903 RMD160 58c9dfd4beeeb332bd579637e0ab70b2025d5958 SHA1 fab8b50441777ec30efcb3ecda2281731bed3ca4 SHA256 ef2ddf1c1b148eaae43ccf1fcc22b13d80e4d97c4e6d6afaf8f04a1abf8b65ca -MISC ChangeLog 1252 RMD160 cd45d2fafde54b403057432d5c690067260cae30 SHA1 02e5220d9a4a2df587c1e5dc44d086a254f11212 SHA256 354d366a417117d291a0e9aec652a6d4392f3dedde143e16e92cbc2ba576a423 -MISC metadata.xml 213 RMD160 3856e91c72d852443b8d262e519156e7e9b25dc7 SHA1 3a59cb99142fba6e10cbd4517fd5c1927466044b SHA256 e32377b4003bbaf839ddaf27c4ecf23297be6196fbba4a68e3adbfa3e79be164 +EBUILD ta-lib-0.4.0.ebuild 769 RMD160 81597868be1a9870a87632a6cb33c8a74e5e2bfe SHA1 ab70650d883ae9a6e73a67a3f706b731183057dd SHA256 1acaaa9f1ae4254b98f9c1394e69ef8cd12d60be7e4ea615e2e1c9f231ad52ce +MISC ChangeLog 1433 RMD160 7144b106e2527818cfc806707f342cf2ebf4a27d SHA1 8f649832c94dc5a8fab87b456ef6be754090c387 SHA256 02f6f9e8ec933c5e44cd8a0bbbbc5b1f2a7035ca33151d2e33542359503275b1 +MISC metadata.xml 214 RMD160 ea476e10a778f79d9273adbbc2403db67d025e10 SHA1 7f156558998e184ab8ea7417fd4739048f012a09 SHA256 0e019c1dee563e5b23815be471ae1b65fcaf721a91ec48037446d41ca787d3e5 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iJwEAQEIAAYFAk59sGgACgkQfXuS5UK5QB2nEwP+Mrb/89UH7F11efxa1mtrpRmT -Ef/XNgEms2ZzBggl08FaNZ+FNLVO3H0CGS23UYEXNVcVtIw1TwD7ZFcJ6udngStN -2YImXOI+iCQb135VlXJTz/o1nf+D2zHRnVszs624mZX/SmIuBLpaZM43yavyXq5h -fkLl6pxXLsfyY2GfJAo= -=FmPF +iEYEAREKAAYFAk+ZZUAACgkQgAnW8HDreRZZaACggjettSbHQk9Kag+9AsQOHeov +n0wAnip6dm18IK/XDbnV6KzUppSk6S3S +=5rWe -----END PGP SIGNATURE----- diff --git a/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch b/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch index e4bbd81acbb7..10183938e667 100644 --- a/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch +++ b/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch @@ -1,7 +1,28 @@ -diff -Naur ta-lib-orig/src/Makefile.in ta-lib/src/Makefile.in ---- ta-lib-orig/src/Makefile.in 2007-09-14 21:42:21.000000000 -0600 -+++ ta-lib/src/Makefile.in 2008-01-20 15:11:33.000000000 -0600 -@@ -56,7 +56,7 @@ + src/Makefile.am | 2 +- + src/Makefile.in | 2 +- + src/ta_abstract/Makefile.am | 8 ++++---- + src/ta_common/Makefile.am | 6 +++--- + src/ta_func/Makefile.am | 6 +++--- + 5 files changed, 12 insertions(+), 12 deletions(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index 12bc5b6..b1a0c6b 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -8,7 +8,7 @@ libta_lib_la_SOURCES = + libta_lib_la_LIBADD = \ + ta_abstract/libta_abstract.la \ + ta_func/libta_func.la \ +- ta_common/libta_common.la ++ ta_common/libta_common.la -lm + + libta_lib_la_LDFLAGS = -version-info $(TALIB_LIBRARY_VERSION) + +diff --git a/src/Makefile.in b/src/Makefile.in +index 489b44a..ef1f506 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -56,7 +56,7 @@ am_libta_lib_la_OBJECTS = libta_lib_la_OBJECTS = $(am_libta_lib_la_OBJECTS) libta_lib_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ @@ -10,3 +31,53 @@ diff -Naur ta-lib-orig/src/Makefile.in ta-lib/src/Makefile.in DEFAULT_INCLUDES = -I. -I$(top_builddir)/include@am__isrc@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +diff --git a/src/ta_abstract/Makefile.am b/src/ta_abstract/Makefile.am +index cba69bb..4411234 100644 +--- a/src/ta_abstract/Makefile.am ++++ b/src/ta_abstract/Makefile.am +@@ -38,12 +38,12 @@ libta_abstract_gc_la_SOURCES = $(libta_abstract_la_SOURCES) + libta_abstract_la_LDFLAGS = -version-info $(TALIB_LIBRARY_VERSION) + libta_abstract_gc_la_LDFLAGS = $(libta_abstract_la_LDFLAGS) + +-libta_abstract_la_CPPFLAGS = -I../ta_common/ -Iframes/ ++libta_abstract_la_CPPFLAGS = -I$(top_srcdir)/src/ta_common/ -Iframes/ + + # The 'gc' version is a minimal version used to just to compile gen_code + libta_abstract_gc_la_CPPFLAGS = -DTA_GEN_CODE $(libta_abstract_la_CPPFLAGS) + + libta_abstractdir=$(includedir)/ta-lib/ +-libta_abstract_HEADERS = ../../include/ta_defs.h \ +- ../../include/ta_libc.h \ +- ../../include/ta_abstract.h ++libta_abstract_HEADERS = $(top_srcdir)/include/ta_defs.h \ ++ $(top_srcdir)/include/ta_libc.h \ ++ $(top_srcdir)/include/ta_abstract.h +diff --git a/src/ta_common/Makefile.am b/src/ta_common/Makefile.am +index 9454490..3e59bd8 100644 +--- a/src/ta_common/Makefile.am ++++ b/src/ta_common/Makefile.am +@@ -9,7 +9,7 @@ libta_common_la_SOURCES = ta_global.c \ + libta_common_la_LDFLAGS = -version-info $(TALIB_LIBRARY_VERSION) + + libta_commondir=$(includedir)/ta-lib/ +-libta_common_HEADERS = ../../include/ta_defs.h \ +- ../../include/ta_libc.h \ +- ../../include/ta_common.h ++libta_common_HEADERS = $(top_builddir)/include/ta_defs.h \ ++ $(top_builddir)/include/ta_libc.h \ ++ $(top_builddir)/include/ta_common.h + +diff --git a/src/ta_func/Makefile.am b/src/ta_func/Makefile.am +index 030a516..299baf9 100644 +--- a/src/ta_func/Makefile.am ++++ b/src/ta_func/Makefile.am +@@ -165,6 +165,6 @@ libta_func_la_SOURCES = ta_utility.c \ + libta_func_la_LDFLAGS = -version-info $(TALIB_LIBRARY_VERSION) + + libta_funcdir=$(includedir)/ta-lib/ +-libta_func_HEADERS = ../../include/ta_defs.h \ +- ../../include/ta_libc.h \ +- ../../include/ta_func.h ++libta_func_HEADERS = $(top_builddir)/include/ta_defs.h \ ++ $(top_builddir)/include/ta_libc.h \ ++ $(top_builddir)/include/ta_func.h diff --git a/sci-libs/ta-lib/metadata.xml b/sci-libs/ta-lib/metadata.xml index aba833ed90e0..91f4e72fb544 100644 --- a/sci-libs/ta-lib/metadata.xml +++ b/sci-libs/ta-lib/metadata.xml @@ -2,6 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer> - <email>maintainer-needed@gentoo.org</email> + <email>maintainer-needed@gentoo.org</email> </maintainer> </pkgmetadata> 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 9b81e92e116a..c7037c353252 100644 --- a/sci-libs/ta-lib/ta-lib-0.4.0.ebuild +++ b/sci-libs/ta-lib/ta-lib-0.4.0.ebuild @@ -1,39 +1,29 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/ta-lib/ta-lib-0.4.0.ebuild,v 1.6 2008/02/23 09:11:23 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ta-lib/ta-lib-0.4.0.ebuild,v 1.7 2012/04/26 15:09:46 jlec Exp $ -inherit eutils +EAPI=4 + +AUTOTOOLS_AUTORECONF=yes + +inherit autotools-utils DESCRIPTION="Technical Analysis Library for analyzing financial markets trends" -HOMEPAGE="http://www.ta-lib.org" +HOMEPAGE="http://www.ta-lib.org/" SRC_URI="mirror://sourceforge/ta-lib/${P}-src.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="" +IUSE="static-libs" S="${WORKDIR}"/${PN} -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-asneeded.patch -} +PATCHES=( "${FILESDIR}"/${P}-asneeded.patch ) -src_compile() { - econf || die "econf failed." - emake -j1 || die "emake failed." -} +AUTOTOOLS_IN_SOURCE_BUILD=1 src_test() { ewarn "Note: this testsuite will fail without an active internet connection." "${S}"/src/tools/ta_regtest/ta_regtest || die "Failed testsuite." } - -src_install(){ - emake DESTDIR="${D}" install || die "install failed" -} |