public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-ml/zarith/
@ 2012-08-11 22:23 Guillaume Horel
  0 siblings, 0 replies; 10+ messages in thread
From: Guillaume Horel @ 2012-08-11 22:23 UTC (permalink / raw
  To: gentoo-commits

commit:     8d467727dbee6d5ad10ec2ac5af11f4c51662ce8
Author:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
AuthorDate: Sat Aug 11 22:17:01 2012 +0000
Commit:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
CommitDate: Sat Aug 11 22:17:01 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8d467727

[dev-ml/zarith] fix license

---
 dev-ml/zarith/ChangeLog         |    3 +++
 dev-ml/zarith/zarith-1.1.ebuild |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-ml/zarith/ChangeLog b/dev-ml/zarith/ChangeLog
index 94e7529..f0789a3 100644
--- a/dev-ml/zarith/ChangeLog
+++ b/dev-ml/zarith/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  11 Aug 2012; Guillaume Horel <guillaume.horel@gmail.com> zarith-1.1.ebuild:
+  fix license and depend on multilib eclass
+
 *zarith-1.1 (30 Mar 2012)
 
   30 Mar 2012; Guillaume Horel <guillaume.horel@gmail.com> -zarith-1.0.ebuild,

diff --git a/dev-ml/zarith/zarith-1.1.ebuild b/dev-ml/zarith/zarith-1.1.ebuild
index 8d208be..7afe572 100644
--- a/dev-ml/zarith/zarith-1.1.ebuild
+++ b/dev-ml/zarith/zarith-1.1.ebuild
@@ -4,13 +4,13 @@
 
 EAPI="4"
 
-inherit findlib eutils
+inherit findlib multilib
 
 DESCRIPTION="Arithmetic and logic operations over arbitrary-precision integers"
 HOMEPAGE="https://forge.ocamlcore.org/projects/zarith/"
 SRC_URI="http://forge.ocamlcore.org/frs/download.php/835/${P}.tgz"
 
-LICENSE="LGPL-2.1-linking-exception"
+LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc mpir +ocamlopt"


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

* [gentoo-commits] proj/sci:master commit in: dev-ml/zarith/
@ 2013-01-14 14:10 Jonathan-Christofer Demay
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan-Christofer Demay @ 2013-01-14 14:10 UTC (permalink / raw
  To: gentoo-commits

commit:     5654739daa2e92b974e3a1f5680dee5ddfc18c52
Author:     Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com>
AuthorDate: Mon Jan 14 14:05:04 2013 +0000
Commit:     Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com>
CommitDate: Mon Jan 14 14:05:04 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5654739d

dev-ml/zarith: initial commit

---
 dev-ml/zarith/ChangeLog         |   19 ++-----------
 dev-ml/zarith/metadata.xml      |   20 +++++++++-----
 dev-ml/zarith/zarith-1.1.ebuild |   54 ++++++++++++++++-----------------------
 3 files changed, 38 insertions(+), 55 deletions(-)

diff --git a/dev-ml/zarith/ChangeLog b/dev-ml/zarith/ChangeLog
index f0789a3..51d9f44 100644
--- a/dev-ml/zarith/ChangeLog
+++ b/dev-ml/zarith/ChangeLog
@@ -1,21 +1,8 @@
 # ChangeLog for dev-ml/zarith
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
-  11 Aug 2012; Guillaume Horel <guillaume.horel@gmail.com> zarith-1.1.ebuild:
-  fix license and depend on multilib eclass
-
-*zarith-1.1 (30 Mar 2012)
-
-  30 Mar 2012; Guillaume Horel <guillaume.horel@gmail.com> -zarith-1.0.ebuild,
-  -files/zarith-1.0-bytecode.patch, -files/zarith-1.0-optnotrequired.patch,
+  14 Jan 2013; J.-C. Demay <jcdemay@gmail.com>
   +zarith-1.1.ebuild:
-  version bump
-
-*zarith-1.0 (02 Mar 2012)
-
-  02 Mar 2012; Guillaume Horel <guillaume.horel@gmail.com> +zarith-1.0.ebuild,
-  +files/zarith-1.0-bytecode.patch, +files/zarith-1.0-optnotrequired.patch,
-  +metadata.xml:
-  initial import
+  initial commit
 

diff --git a/dev-ml/zarith/metadata.xml b/dev-ml/zarith/metadata.xml
index a87c2ac..d2e9691 100644
--- a/dev-ml/zarith/metadata.xml
+++ b/dev-ml/zarith/metadata.xml
@@ -1,11 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci</herd>
-<longdescription lang='en'>
-Arithmetic and logic operations over arbitrary-precision integers in Ocaml
-</longdescription>
-<use>
-<flag name='mpir'>Use mpir library instead of gmp</flag>
-</use>
+	<herd>sci</herd>
+	<longdescription>
+		The Zarith library implements arithmetic and logical operations over
+		arbitrary-precision integers. It uses GMP to efficiently implement
+		arithmetic over big integers. Small integers are represented as Caml
+		unboxed integers, for speed and space economy.
+	</longdescription>
+	<maintainer>
+  		<email>sci@gentoo.org</email>
+	</maintainer>
+	<use>
+		<flag name="ocamlopt">?ocamlopt?</flag>
+	</use>
 </pkgmetadata>

diff --git a/dev-ml/zarith/zarith-1.1.ebuild b/dev-ml/zarith/zarith-1.1.ebuild
index 7afe572..795378f 100644
--- a/dev-ml/zarith/zarith-1.1.ebuild
+++ b/dev-ml/zarith/zarith-1.1.ebuild
@@ -1,50 +1,40 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="4"
+EAPI=4
 
-inherit findlib multilib
-
-DESCRIPTION="Arithmetic and logic operations over arbitrary-precision integers"
-HOMEPAGE="https://forge.ocamlcore.org/projects/zarith/"
+DESCRIPTION="The Zarith library implements arithmetic and logical operations over arbitrary-precision integers"
+HOMEPAGE="http://forge.ocamlcore.org/projects/zarith"
 SRC_URI="http://forge.ocamlcore.org/frs/download.php/835/${P}.tgz"
 
-LICENSE="LGPL-2.1-with-linking-exception"
+LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc mpir +ocamlopt"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+ocamlopt"
 
-RDEPEND=">=dev-lang/ocaml-3.12.1[ocamlopt?]
-!mpir? ( dev-libs/gmp )
-mpir? ( sci-libs/mpir )"
+OCAMLDIR=`ocamlc -where`
 
-DEPEND="${RDEPEND}
-dev-lang/perl"
+DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
+		dev-libs/gmp"
+RDEPEND="${DEPEND}"
 
-src_configure() {
-	MY_OPTS="-ocamllibdir /usr/$(get_libdir) -installdir \
-	${D}/usr/$(get_libdir)/ocaml"
-	use mpir && MY_OPTS="${MY_OPTS} -mpir"
-	./configure ${MY_OPTS}|| die
+src_prepare(){
+	sed -i ${S}/project.mak -e "s:(OCAMLFIND) install:(OCAMLFIND) install -ldconf \$(INSTALLDIR)/ld.conf:g"
 }
 
-src_compile() {
-	emake all
-	use doc && emake doc
+src_configure(){
+    ./configure -installdir "${D}${OCAMLDIR}" || die "configure failed"
 }
 
-src_test() {
-	if use ocamlopt; then
-		emake test;LD_LIBRARY_PATH="." ./test || die
-	else
-		emake test.b;LD_LIBRARY_PATH="." ./test.b || die
-	fi
+src_compile(){
+	emake || die "emake failed"
 }
 
-src_install() {
-	findlib_src_preinst
-	emake install
+src_install(){
+	mkdir -p "${D}${OCAMLDIR}"
+	cp "${OCAMLDIR}/ld.conf" "${D}${OCAMLDIR}/ld.conf"
+	emake install || die "emake install failed"
+	rm "${D}${OCAMLDIR}/ld.conf"
 	dodoc Changes README
-	use doc && dodoc -r html/
 }


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

* [gentoo-commits] proj/sci:master commit in: dev-ml/zarith/
@ 2013-03-03 17:52 Justin Lecher
  0 siblings, 0 replies; 10+ messages in thread
From: Justin Lecher @ 2013-03-03 17:52 UTC (permalink / raw
  To: gentoo-commits

commit:     0e2f6f54be504910d077fdff0130197345909c7b
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 17:31:17 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 17:31:17 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0e2f6f54

dev-ml/zarith: Clean wrong space and blank lines; move EAPI=5

Package-Manager: portage-2.2.0_alpha164

---
 dev-ml/zarith/ChangeLog         |    3 +++
 dev-ml/zarith/metadata.xml      |   16 ++++++++--------
 dev-ml/zarith/zarith-1.1.ebuild |   31 ++++++++++++++++---------------
 3 files changed, 27 insertions(+), 23 deletions(-)

diff --git a/dev-ml/zarith/ChangeLog b/dev-ml/zarith/ChangeLog
index 51d9f44..aab4931 100644
--- a/dev-ml/zarith/ChangeLog
+++ b/dev-ml/zarith/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  03 Mar 2013; Justin Lecher <jlec@gentoo.org> zarith-1.1.ebuild, metadata.xml:
+  Clean wrong space and blank lines; move EAPI=5
+
   14 Jan 2013; J.-C. Demay <jcdemay@gmail.com>
   +zarith-1.1.ebuild:
   initial commit

diff --git a/dev-ml/zarith/metadata.xml b/dev-ml/zarith/metadata.xml
index d2e9691..e750043 100644
--- a/dev-ml/zarith/metadata.xml
+++ b/dev-ml/zarith/metadata.xml
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<herd>sci</herd>
-	<longdescription>
+  <herd>sci</herd>
+  <longdescription>
 		The Zarith library implements arithmetic and logical operations over
 		arbitrary-precision integers. It uses GMP to efficiently implement
 		arithmetic over big integers. Small integers are represented as Caml
 		unboxed integers, for speed and space economy.
 	</longdescription>
-	<maintainer>
-  		<email>sci@gentoo.org</email>
-	</maintainer>
-	<use>
-		<flag name="ocamlopt">?ocamlopt?</flag>
-	</use>
+  <maintainer>
+    <email>sci@gentoo.org</email>
+  </maintainer>
+  <use>
+    <flag name="ocamlopt">?ocamlopt?</flag>
+  </use>
 </pkgmetadata>

diff --git a/dev-ml/zarith/zarith-1.1.ebuild b/dev-ml/zarith/zarith-1.1.ebuild
index 795378f..61220fe 100644
--- a/dev-ml/zarith/zarith-1.1.ebuild
+++ b/dev-ml/zarith/zarith-1.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
 DESCRIPTION="The Zarith library implements arithmetic and logical operations over arbitrary-precision integers"
 HOMEPAGE="http://forge.ocamlcore.org/projects/zarith"
@@ -13,28 +13,29 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="+ocamlopt"
 
-OCAMLDIR=`ocamlc -where`
-
-DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
-		dev-libs/gmp"
+DEPEND="
+	>=dev-lang/ocaml-3.10.2[ocamlopt?]
+	dev-libs/gmp"
 RDEPEND="${DEPEND}"
 
-src_prepare(){
-	sed -i ${S}/project.mak -e "s:(OCAMLFIND) install:(OCAMLFIND) install -ldconf \$(INSTALLDIR)/ld.conf:g"
+pkg_setup() {
+	OCAMLDIR=$(ocamlc -where)
 }
 
-src_configure(){
-    ./configure -installdir "${D}${OCAMLDIR}" || die "configure failed"
+src_prepare(){
+	sed \
+		-e "s:(OCAMLFIND) install:(OCAMLFIND) install -ldconf \$(INSTALLDIR)/ld.conf:g" \
+		-i "${S}"/project.mak || die
 }
 
-src_compile(){
-	emake || die "emake failed"
+src_configure(){
+	./configure -installdir "${D}${OCAMLDIR}" || die
 }
 
 src_install(){
-	mkdir -p "${D}${OCAMLDIR}"
-	cp "${OCAMLDIR}/ld.conf" "${D}${OCAMLDIR}/ld.conf"
-	emake install || die "emake install failed"
-	rm "${D}${OCAMLDIR}/ld.conf"
+	dodir "${OCAMLDIR}"
+	cp "${OCAMLDIR}/ld.conf" "${D}${OCAMLDIR}/ld.conf" || die
+	emake install
+	rm "${D}${OCAMLDIR}/ld.conf" || die
 	dodoc Changes README
 }


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

* [gentoo-commits] proj/sci:master commit in: dev-ml/zarith/
@ 2014-06-22 18:52 Jonathan-Christofer Demay
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan-Christofer Demay @ 2014-06-22 18:52 UTC (permalink / raw
  To: gentoo-commits

commit:     901dfcb7c29bb1b78e4667c7832411d8b12d0df5
Author:     Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com>
AuthorDate: Sun Jun 22 18:49:27 2014 +0000
Commit:     Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com>
CommitDate: Sun Jun 22 18:49:27 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=901dfcb7

zarith no longer asks ocamlc for libdir

---
 dev-ml/zarith/zarith-1.2.1.ebuild | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/dev-ml/zarith/zarith-1.2.1.ebuild b/dev-ml/zarith/zarith-1.2.1.ebuild
index 2822592..90b5183 100644
--- a/dev-ml/zarith/zarith-1.2.1.ebuild
+++ b/dev-ml/zarith/zarith-1.2.1.ebuild
@@ -2,7 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
+
+inherit eutils findlib multilib
 
 DESCRIPTION="The Zarith library implements arithmetic and logical operations over arbitrary-precision integers"
 HOMEPAGE="http://forge.ocamlcore.org/projects/zarith"
@@ -11,12 +13,11 @@ SRC_URI="http://forge.ocamlcore.org/frs/download.php/1199/${P}.tgz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+ocamlopt"
-
-OCAMLDIR=`ocamlc -where`
+IUSE="+ocamlopt doc mpir"
 
 DEPEND=">=dev-lang/ocaml-3.12.1[ocamlopt?]
-		dev-libs/gmp"
+		!mpir? ( dev-libs/gmp )
+		mpir? ( sci-libs/mpir )"
 RDEPEND="${DEPEND}"
 
 src_prepare(){
@@ -24,17 +25,21 @@ src_prepare(){
 }
 
 src_configure(){
-    ./configure -installdir "${D}${OCAMLDIR}" || die "configure failed"
+	MY_OPTS="-ocamllibdir /usr/$(get_libdir) -installdir ${D}/usr/$(get_libdir)/ocaml"
+	use mpir && MY_OPTS="${MY_OPTS} -mpir"
+	./configure ${MY_OPTS}|| die || die "configure failed"
 }
 
 src_compile(){
 	emake || die "emake failed"
+	use doc && emake doc || die "emake doc failed"
 }
 
 src_install(){
-	mkdir -p "${D}${OCAMLDIR}"
-	cp "${OCAMLDIR}/ld.conf" "${D}${OCAMLDIR}/ld.conf"
+	findlib_src_preinst
+	cp /usr/$(get_libdir)/ocaml/ld.conf ${D}/usr/$(get_libdir)/ocaml/ld.conf
 	emake install || die "emake install failed"
-	rm "${D}${OCAMLDIR}/ld.conf"
+	rm -f ${D}/usr/$(get_libdir)/ocaml/ld.conf
 	dodoc Changes README
+	use doc && dodoc -r html/
 }


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

* [gentoo-commits] proj/sci:master commit in: dev-ml/zarith/
@ 2014-06-22 19:12 Jonathan-Christofer Demay
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan-Christofer Demay @ 2014-06-22 19:12 UTC (permalink / raw
  To: gentoo-commits

commit:     2fc91a64c86849c2fdb775c6a9babb45b2d2b6d0
Author:     Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com>
AuthorDate: Sun Jun 22 19:09:30 2014 +0000
Commit:     Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com>
CommitDate: Sun Jun 22 19:09:30 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2fc91a64

fix pkg_setup regression

---
 dev-ml/zarith/ChangeLog           |  8 ++++++++
 dev-ml/zarith/zarith-1.2.1.ebuild | 15 ++++++++++-----
 2 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/dev-ml/zarith/ChangeLog b/dev-ml/zarith/ChangeLog
index a521a07..2868b84 100644
--- a/dev-ml/zarith/ChangeLog
+++ b/dev-ml/zarith/ChangeLog
@@ -2,10 +2,18 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  22 Jun 2014; Jonathan-Christofer Demay <jcdemay@gmail.com>
+  zarith-1.2.1.ebuild:
+  fix regression of pkg_setup
+  
   10 Jun 2014; Jonathan-Christofer Demay <jcdemay@gmail.com>
   -zarith-1.1.ebuild, +zarith-1.2.1.ebuild:
   version bump
 
+  03 Mar 2013; Justin Lecher <jlec@gentoo.org>
+  zarith-1.1.ebuild, metadata.xml:
+  Clean wrong space and blank lines; move EAPI=5
+
   14 Jan 2013; Jonathan-Christofer Demay <jcdemay@gmail.com>
   +zarith-1.1.ebuild:
   initial commit

diff --git a/dev-ml/zarith/zarith-1.2.1.ebuild b/dev-ml/zarith/zarith-1.2.1.ebuild
index 90b5183..1603ad3 100644
--- a/dev-ml/zarith/zarith-1.2.1.ebuild
+++ b/dev-ml/zarith/zarith-1.2.1.ebuild
@@ -20,14 +20,19 @@ DEPEND=">=dev-lang/ocaml-3.12.1[ocamlopt?]
 		mpir? ( sci-libs/mpir )"
 RDEPEND="${DEPEND}"
 
+pkg_setup() {
+         OCAMLDIR=$(ocamlc -where)
+}
+
 src_prepare(){
-	sed -i ${S}/project.mak -e "s:(OCAMLFIND) install:(OCAMLFIND) install -ldconf \$(INSTALLDIR)/ld.conf:g"
+	sed -e "s:(OCAMLFIND) install:(OCAMLFIND) install -ldconf \$(INSTALLDIR)/ld.conf:g" \
+		-i ${S}/project.mak
 }
 
 src_configure(){
-	MY_OPTS="-ocamllibdir /usr/$(get_libdir) -installdir ${D}/usr/$(get_libdir)/ocaml"
+	MY_OPTS="-ocamllibdir /usr/$(get_libdir) -installdir ${D}/${OCAMLDIR}"
 	use mpir && MY_OPTS="${MY_OPTS} -mpir"
-	./configure ${MY_OPTS}|| die || die "configure failed"
+	./configure ${MY_OPTS} || die "configure failed"
 }
 
 src_compile(){
@@ -37,9 +42,9 @@ src_compile(){
 
 src_install(){
 	findlib_src_preinst
-	cp /usr/$(get_libdir)/ocaml/ld.conf ${D}/usr/$(get_libdir)/ocaml/ld.conf
+	cp ${OCAMLDIR}/ld.conf ${D}/${OCAMLDIR}/ld.conf
 	emake install || die "emake install failed"
-	rm -f ${D}/usr/$(get_libdir)/ocaml/ld.conf
+	rm -f ${D}/${OCAMLDIR}/ld.conf
 	dodoc Changes README
 	use doc && dodoc -r html/
 }


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

* [gentoo-commits] proj/sci:master commit in: dev-ml/zarith/
@ 2014-07-20  9:53 Jonathan-Christofer Demay
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan-Christofer Demay @ 2014-07-20  9:53 UTC (permalink / raw
  To: gentoo-commits

commit:     25ebbaaa45bdc4904c002de89a56c0d45f484720
Author:     Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com>
AuthorDate: Sun Jul 20 09:49:27 2014 +0000
Commit:     Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com>
CommitDate: Sun Jul 20 09:49:27 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=25ebbaaa

dev-ml/zarith-1.2.1: fix doc building

---
 dev-ml/zarith/zarith-1.2.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-ml/zarith/zarith-1.2.1.ebuild b/dev-ml/zarith/zarith-1.2.1.ebuild
index 1603ad3..5657ff8 100644
--- a/dev-ml/zarith/zarith-1.2.1.ebuild
+++ b/dev-ml/zarith/zarith-1.2.1.ebuild
@@ -37,7 +37,9 @@ src_configure(){
 
 src_compile(){
 	emake || die "emake failed"
-	use doc && emake doc || die "emake doc failed"
+	if use doc; then
+		emake doc || die "emake doc failed"
+	fi
 }
 
 src_install(){


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

* [gentoo-commits] proj/sci:master commit in: dev-ml/zarith/
@ 2014-09-04 21:04 Jauhien Piatlicki
  0 siblings, 0 replies; 10+ messages in thread
From: Jauhien Piatlicki @ 2014-09-04 21:04 UTC (permalink / raw
  To: gentoo-commits

commit:     ab8f61ee3def18711d5b3748e7bee610bb0af8d8
Author:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  4 20:32:14 2014 +0000
Commit:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
CommitDate: Thu Sep  4 20:32:14 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ab8f61ee

dev-ml/zarith: silence repoman

---
 dev-ml/zarith/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-ml/zarith/metadata.xml b/dev-ml/zarith/metadata.xml
index 1ff3218..5cabf83 100644
--- a/dev-ml/zarith/metadata.xml
+++ b/dev-ml/zarith/metadata.xml
@@ -8,4 +8,8 @@
   arithmetic over big integers. Small integers are represented as Caml
   unboxed integers, for speed and space economy.
 </longdescription>
+<use>
+  <flag name='mpir'>Use <pkg>sci-libs/mpir</pkg> for arbitrary
+  precision integer arithmetic</flag>
+</use>
 </pkgmetadata>


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

* [gentoo-commits] proj/sci:master commit in: dev-ml/zarith/
@ 2016-02-10 18:27 Justin Lecher
  0 siblings, 0 replies; 10+ messages in thread
From: Justin Lecher @ 2016-02-10 18:27 UTC (permalink / raw
  To: gentoo-commits

commit:     89b2b95c6c218426d7662fe7a95ac72205ab3be2
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 10 17:29:53 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Feb 10 17:29:53 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=89b2b95c

dev-ml/zarith: Chop DESCRIPTION to 80 chars

* Bump EAPI to 6

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-ml/zarith/zarith-1.2.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-ml/zarith/zarith-1.2.1.ebuild b/dev-ml/zarith/zarith-1.2.1.ebuild
index 96187a5..6f3b12a 100644
--- a/dev-ml/zarith/zarith-1.2.1.ebuild
+++ b/dev-ml/zarith/zarith-1.2.1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit eutils findlib multilib
 
-DESCRIPTION="The Zarith library implements arithmetic and logical operations over arbitrary-precision integers"
+DESCRIPTION="Arithmetic and logical operations over arbitrary-precision integers"
 HOMEPAGE="http://forge.ocamlcore.org/projects/zarith"
 SRC_URI="http://forge.ocamlcore.org/frs/download.php/1199/${P}.tgz"
 


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

* [gentoo-commits] proj/sci:master commit in: dev-ml/zarith/
@ 2016-06-04 18:24 Andrew Savchenko
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Savchenko @ 2016-06-04 18:24 UTC (permalink / raw
  To: gentoo-commits

commit:     796ec7f5682921549d5a64130b83b31b0b2323c7
Author:     Andrew Savchenko <bircoph <AT> gmail <DOT> com>
AuthorDate: Sat Jun  4 18:23:10 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Jun  4 18:23:10 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=796ec7f5

dev-ml/zarith: fix src_prepare()

Since 89b2b95c6c218426d7662fe7a95ac72205ab3be2 package is broken,
because src_prepare() was not ported for EAPI=6 (call to default or
eapply_user is mandatory).

Package-Manager: portage-2.3.0_rc1
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 dev-ml/zarith/zarith-1.2.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-ml/zarith/zarith-1.2.1.ebuild b/dev-ml/zarith/zarith-1.2.1.ebuild
index 6f3b12a..cd0fa27 100644
--- a/dev-ml/zarith/zarith-1.2.1.ebuild
+++ b/dev-ml/zarith/zarith-1.2.1.ebuild
@@ -26,6 +26,7 @@ pkg_setup() {
 }
 
 src_prepare(){
+	default
 	sed \
 		-e 's:(OCAMLFIND) install:(OCAMLFIND) install -ldconf $(INSTALLDIR)/ld.conf:g' \
 		-i "${S}"/project.mak || die


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

* [gentoo-commits] proj/sci:master commit in: dev-ml/zarith/
@ 2016-06-05 16:04 Guillaume Horel
  0 siblings, 0 replies; 10+ messages in thread
From: Guillaume Horel @ 2016-06-05 16:04 UTC (permalink / raw
  To: gentoo-commits

commit:     c67313e237d5ffae23cd93194b90fda95197b411
Author:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
AuthorDate: Sun Jun  5 16:03:44 2016 +0000
Commit:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
CommitDate: Sun Jun  5 16:03:44 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c67313e2

dev-ml/zarith: remove since in main tree

 dev-ml/zarith/metadata.xml        | 18 -------------
 dev-ml/zarith/zarith-1.2.1.ebuild | 54 ---------------------------------------
 2 files changed, 72 deletions(-)

diff --git a/dev-ml/zarith/metadata.xml b/dev-ml/zarith/metadata.xml
deleted file mode 100644
index e8c58a4..0000000
--- a/dev-ml/zarith/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <maintainer type="project">
-    <email>sci-mathematics@gentoo.org</email>
-    <name>Gentoo Mathematics Project</name>
-  </maintainer>
-  <longdescription>
-  The Zarith library implements arithmetic and logical operations over
-  arbitrary-precision integers. It uses GMP to efficiently implement
-  arithmetic over big integers. Small integers are represented as Caml
-  unboxed integers, for speed and space economy.
-</longdescription>
-  <use>
-    <flag name="mpir">Use <pkg>sci-libs/mpir</pkg> for arbitrary
-  precision integer arithmetic</flag>
-  </use>
-</pkgmetadata>

diff --git a/dev-ml/zarith/zarith-1.2.1.ebuild b/dev-ml/zarith/zarith-1.2.1.ebuild
deleted file mode 100644
index cd0fa27..0000000
--- a/dev-ml/zarith/zarith-1.2.1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit eutils findlib multilib
-
-DESCRIPTION="Arithmetic and logical operations over arbitrary-precision integers"
-HOMEPAGE="http://forge.ocamlcore.org/projects/zarith"
-SRC_URI="http://forge.ocamlcore.org/frs/download.php/1199/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+ocamlopt doc mpir"
-
-DEPEND="
-	>=dev-lang/ocaml-3.12.1[ocamlopt?]
-	!mpir? ( dev-libs/gmp:0 )
-	mpir? ( sci-libs/mpir:0 )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-	OCAMLDIR=$(ocamlc -where)
-}
-
-src_prepare(){
-	default
-	sed \
-		-e 's:(OCAMLFIND) install:(OCAMLFIND) install -ldconf $(INSTALLDIR)/ld.conf:g' \
-		-i "${S}"/project.mak || die
-}
-
-src_configure(){
-	MY_OPTS="-ocamllibdir /usr/$(get_libdir) -installdir ${D}/${OCAMLDIR}"
-	use mpir && MY_OPTS="${MY_OPTS} -mpir"
-	./configure ${MY_OPTS} || die "configure failed"
-}
-
-src_compile(){
-	default
-	use doc && emake doc
-}
-
-src_install(){
-	findlib_src_preinst
-	cp "${OCAMLDIR}"/ld.conf "${D}/${OCAMLDIR}"/ld.conf || die
-	default
-	rm -f "${D}/${OCAMLDIR}"/ld.conf || die
-	DOCS=( Changes README )
-	use doc && HTML_DOCS=( html/. )
-	einstalldocs
-}


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

end of thread, other threads:[~2016-06-05 16:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-14 14:10 [gentoo-commits] proj/sci:master commit in: dev-ml/zarith/ Jonathan-Christofer Demay
  -- strict thread matches above, loose matches on Subject: below --
2016-06-05 16:04 Guillaume Horel
2016-06-04 18:24 Andrew Savchenko
2016-02-10 18:27 Justin Lecher
2014-09-04 21:04 Jauhien Piatlicki
2014-07-20  9:53 Jonathan-Christofer Demay
2014-06-22 19:12 Jonathan-Christofer Demay
2014-06-22 18:52 Jonathan-Christofer Demay
2013-03-03 17:52 Justin Lecher
2012-08-11 22:23 Guillaume Horel

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