public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] cddlib for the main tree
@ 2010-11-06 17:33 Thomas Kahle
  2010-11-06 18:13 ` François Bissey
  2010-11-06 18:31 ` Kacper Kowalik
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Kahle @ 2010-11-06 17:33 UTC (permalink / raw
  To: Gentoo Science

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

Hi,

I'm planning to move cddlib to the main tree.  It is a dep of various
math things that I plan to move step by step.

Any objections or anyone who can reproduce
http://bugs.gentoo.org/show_bug.cgi?id=230423

Cheers,
Thomas


-- 
Thomas Kahle
http://dev.gentoo.org/~tomka/

[-- Attachment #2: Type: application/pgp-signature, Size: 316 bytes --]

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

* Re: [gentoo-science] cddlib for the main tree
  2010-11-06 17:33 [gentoo-science] cddlib for the main tree Thomas Kahle
@ 2010-11-06 18:13 ` François Bissey
  2010-11-06 18:31 ` Kacper Kowalik
  1 sibling, 0 replies; 5+ messages in thread
From: François Bissey @ 2010-11-06 18:13 UTC (permalink / raw
  To: gentoo-science

> Hi,
> 
> I'm planning to move cddlib to the main tree.  It is a dep of various
> math things that I plan to move step by step.
> 
> Any objections or anyone who can reproduce
> http://bugs.gentoo.org/show_bug.cgi?id=230423
> 
Hi,

Could you use the latest version from the sage-on-gentoo overlay?
We haven't synced it recently. Actually I had forgotten that I put
a copy in the science overlay!
I am guessing that once you put it in the main tree they may be more
noise if there are more problems.

Francois



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

* Re: [gentoo-science] cddlib for the main tree
  2010-11-06 17:33 [gentoo-science] cddlib for the main tree Thomas Kahle
  2010-11-06 18:13 ` François Bissey
@ 2010-11-06 18:31 ` Kacper Kowalik
  2010-11-06 19:30   ` François Bissey
  1 sibling, 1 reply; 5+ messages in thread
From: Kacper Kowalik @ 2010-11-06 18:31 UTC (permalink / raw
  To: gentoo-science

[-- Attachment #1: Type: text/plain, Size: 828 bytes --]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

W dniu 06.11.2010 18:33, Thomas Kahle pisze:
> Hi,
>
> I'm planning to move cddlib to the main tree. It is a dep of various
> math things that I plan to move step by step.
>
> Any objections or anyone who can reproduce
> http://bugs.gentoo.org/show_bug.cgi?id=230423
>
> Cheers,
> Thomas
I would remove .la files and make static-libs optional.
Ah, and remove that pkg_postinst msg ;)
Cheers,
Kacper
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iJwEAQECAAYFAkzVnwAACgkQIiMqcbOVdxQDyAQAjZR5Bm14pq9Wrl0spa4yyfFa
4HJeQkjQD3mtEkKgjfFSJu461qFmV9E7JO7IfrAjH14Qvha/xwDk4afW5I05AAXu
Ta7SagtqjVE4Gd4zzoc185d3oINdGV61e2LhF6Yh7SO8mOLY2gHbBpHcwoqrj95r
OXs6E2qjjHuB6ZE4ezU=
=TU/z
-----END PGP SIGNATURE-----


[-- Attachment #2: cddlib-094f.patch --]
[-- Type: text/plain, Size: 855 bytes --]

--- cddlib-094f.ebuild
+++ cddlib-094f.ebuild
@@ -2,6 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
+EAPI=2
+
 inherit eutils autotools
 
 DESCRIPTION="C implementation of the Double Description Method of Motzkin et al. "
@@ -12,22 +14,24 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
+IUSE="static-libs"
 
 DEPEND=">=dev-libs/gmp-4.2.2"
 RDEPEND="${DEPEND}"
 
-src_unpack(){
-	unpack ${A}
-	cd "${S}"
-
+src_prepare(){
 	epatch "${FILESDIR}/${P}-libtool.patch"
 	eautoreconf
 }
 
+src_configure() {
+	econf $(use_enable static-libs static)
+}
+
 src_install() {
-	emake DESTDIR="${D}" install || die "Install failed"
-	dodoc README
+	emake DESTDIR="${D}" install || die
+	find "${D}" -name '*.la' -exec rm -f '{}' +
+	dodoc AUTHORS ChangeLog README || die
 }
 
 pkg_postinst() {

[-- Attachment #3: cddlib-094f.patch.sig --]
[-- Type: application/pgp-signature, Size: 158 bytes --]

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

* Re: [gentoo-science] cddlib for the main tree
  2010-11-06 18:31 ` Kacper Kowalik
@ 2010-11-06 19:30   ` François Bissey
  2010-11-08 23:21     ` Thomas Kahle
  0 siblings, 1 reply; 5+ messages in thread
From: François Bissey @ 2010-11-06 19:30 UTC (permalink / raw
  To: gentoo-science

> W dniu 06.11.2010 18:33, Thomas Kahle pisze:
> > Hi,
> > 
> > I'm planning to move cddlib to the main tree. It is a dep of various
> > math things that I plan to move step by step.
> > 
> > Any objections or anyone who can reproduce
> > http://bugs.gentoo.org/show_bug.cgi?id=230423
> > 
> > Cheers,
> > Thomas
> 
> I would remove .la files and make static-libs optional.
> Ah, and remove that pkg_postinst msg ;)
> Cheers,
The latest version in sage-on-gentoo uses the autotools eclass which
takes care of both .la files and static-libs. We don't have pkg_postinst
either ;) 

Just don't forget to remove:
RESTRICT="mirror"

Francois



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

* Re: [gentoo-science] cddlib for the main tree
  2010-11-06 19:30   ` François Bissey
@ 2010-11-08 23:21     ` Thomas Kahle
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Kahle @ 2010-11-08 23:21 UTC (permalink / raw
  To: gentoo-science

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

Hi!

On 08:30 Sun 07 Nov     , François Bissey wrote:
> The latest version in sage-on-gentoo uses the autotools eclass which
> takes care of both .la files and static-libs. We don't have pkg_postinst
> either ;) 

I committed your -r2 version to the main tree, lets see what happens. I
also dumped the science-overlay version, you might choose to do the same
for sage on gentoo as soon as sage works with the latest and greatest.

Cheers,
Thomas


-- 
Thomas Kahle
http://dev.gentoo.org/~tomka/

[-- Attachment #2: Type: application/pgp-signature, Size: 316 bytes --]

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

end of thread, other threads:[~2010-11-09  0:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-06 17:33 [gentoo-science] cddlib for the main tree Thomas Kahle
2010-11-06 18:13 ` François Bissey
2010-11-06 18:31 ` Kacper Kowalik
2010-11-06 19:30   ` François Bissey
2010-11-08 23:21     ` Thomas Kahle

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