public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-astronomy/healpix_cxx/
@ 2013-06-17  1:07 Sebastien Fabbro
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastien Fabbro @ 2013-06-17  1:07 UTC (permalink / raw
  To: gentoo-commits

commit:     195a1f3287a4bdfbb25b405706ecdf3d7cbafa26
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 23:53:55 2013 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 23:53:55 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=195a1f32

sci-astronomy/healpix_cxx: Initial import

Package-Manager: portage-2.2.01.22013-prefix
RepoMan-Options: --force

---
 sci-astronomy/healpix_cxx/ChangeLog               |  9 ++++
 sci-astronomy/healpix_cxx/healpix_cxx-3.11.ebuild | 54 +++++++++++++++++++++++
 sci-astronomy/healpix_cxx/metadata.xml            | 12 +++++
 3 files changed, 75 insertions(+)

diff --git a/sci-astronomy/healpix_cxx/ChangeLog b/sci-astronomy/healpix_cxx/ChangeLog
new file mode 100644
index 0000000..fa357f4
--- /dev/null
+++ b/sci-astronomy/healpix_cxx/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-astronomy/healpix_cxx
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*healpix_cxx-3.11 (16 Jun 2013)
+
+  16 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> +healpix_cxx-3.11.ebuild,
+  +metadata.xml:
+  sci-astronomy/healpix_cxx: Initial import

diff --git a/sci-astronomy/healpix_cxx/healpix_cxx-3.11.ebuild b/sci-astronomy/healpix_cxx/healpix_cxx-3.11.ebuild
new file mode 100644
index 0000000..f25aa9d
--- /dev/null
+++ b/sci-astronomy/healpix_cxx/healpix_cxx-3.11.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils toolchain-funcs
+
+MYP="Healpix_${PV}"
+MYPP="2013Apr24"
+
+DESCRIPTION="Hierarchical Equal Area isoLatitude Pixelization of a sphere - C++"
+HOMEPAGE="http://healpix.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MYP}/${MYP}_${MYPP}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="openmp static-libs"
+
+RDEPEND="
+	>=sci-libs/cfitsio-3"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+S="${WORKDIR}/${MYP}/src/cxx/autotools"
+
+DOCS=( ../CHANGES ../../../READ_Copyrights_Licenses.txt )
+
+pkg_setup() {
+	if use openmp; then
+		if [[ $(tc-getCXX)$ == *g++* ]] && ! tc-has-openmp; then
+			ewarn "You are using a g++ without OpenMP capabilities"
+			die "Need an OpenMP capable compiler"
+		fi
+	fi
+}
+
+src_prepare() {
+	# respect user flags
+	sed -i -e '/^AX_CHECK_COMPILE_FLAG/d' configure.ac || die
+	# why was static-libtool-libs forced?
+	use static-libs || sed -i -e '/-static-libtool-libs/d' Makefile.am
+	autotools-utils_src_prepare
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable openmp)
+	)
+	autotools-utils_src_configure
+}

diff --git a/sci-astronomy/healpix_cxx/metadata.xml b/sci-astronomy/healpix_cxx/metadata.xml
new file mode 100644
index 0000000..391b83c
--- /dev/null
+++ b/sci-astronomy/healpix_cxx/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-astronomy</herd>
+<longdescription lang="en">
+  HEALPix is an acronym for Hierarchical Equal Area isoLatitude
+  Pixelization of a sphere. As suggested in the name, this pixelization produces a
+  subdivision of a spherical surface in which each pixel covers the same
+  surface area as every other pixel. This package contains the C++
+  library and programs.
+</longdescription>
+</pkgmetadata>


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

* [gentoo-commits] proj/sci:master commit in: sci-astronomy/healpix_cxx/
@ 2014-02-03  1:39 Sebastien Fabbro
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastien Fabbro @ 2014-02-03  1:39 UTC (permalink / raw
  To: gentoo-commits

commit:     a8bb81c3428899e555a647b9598d43a75ca64451
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  3 01:33:36 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Feb  3 01:33:36 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a8bb81c3

sci-astronomy/healpix_cxx: Version bump

Package-Manager: portage-2.2.8-prefix

---
 sci-astronomy/healpix_cxx/ChangeLog                      |  8 +++++++-
 ...healpix_cxx-3.11.ebuild => healpix_cxx-3.11.2.ebuild} | 16 +++++-----------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/sci-astronomy/healpix_cxx/ChangeLog b/sci-astronomy/healpix_cxx/ChangeLog
index fa357f4..1e48b74 100644
--- a/sci-astronomy/healpix_cxx/ChangeLog
+++ b/sci-astronomy/healpix_cxx/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for sci-astronomy/healpix_cxx
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*healpix_cxx-3.11.2 (03 Feb 2014)
+
+  03 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org>
+  +healpix_cxx-3.11.2.ebuild, -healpix_cxx-3.11.ebuild:
+  sci-astronomy/healpix_cxx: Version bump
+
 *healpix_cxx-3.11 (16 Jun 2013)
 
   16 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> +healpix_cxx-3.11.ebuild,

diff --git a/sci-astronomy/healpix_cxx/healpix_cxx-3.11.ebuild b/sci-astronomy/healpix_cxx/healpix_cxx-3.11.2.ebuild
similarity index 70%
rename from sci-astronomy/healpix_cxx/healpix_cxx-3.11.ebuild
rename to sci-astronomy/healpix_cxx/healpix_cxx-3.11.2.ebuild
index 85d2898..502bbd3 100644
--- a/sci-astronomy/healpix_cxx/healpix_cxx-3.11.ebuild
+++ b/sci-astronomy/healpix_cxx/healpix_cxx-3.11.2.ebuild
@@ -7,12 +7,11 @@ EAPI=5
 AUTOTOOLS_AUTORECONF=1
 inherit autotools-utils toolchain-funcs
 
-MYP="Healpix_${PV}"
-MYPP="2013Apr24"
+MYP="Healpix_3.11"
 
 DESCRIPTION="Hierarchical Equal Area isoLatitude Pixelization of a sphere - C++"
 HOMEPAGE="http://healpix.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MYP}/${MYP}_${MYPP}.tar.gz"
+SRC_URI="mirror://sourceforge/healpix/${MYP}/autotools_packages/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -25,13 +24,9 @@ RDEPEND="
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
-S="${WORKDIR}/${MYP}/src/cxx/autotools"
-
-DOCS=( ../CHANGES ../../../READ_Copyrights_Licenses.txt )
-
 pkg_setup() {
-	if use openmp; then
-		if [[ $(tc-getCXX)$ == *g++* ]] && ! tc-has-openmp; then
+	if use openmp && [[ $(tc-getCXX)$ == *g++* ]]; then
+		if ! tc-has-openmp; then
 			ewarn "You are using a g++ without OpenMP capabilities"
 			die "Need an OpenMP capable compiler"
 		fi
@@ -39,9 +34,8 @@ pkg_setup() {
 }
 
 src_prepare() {
-	# respect user flags
-	sed -i -e '/^AX_CHECK_COMPILE_FLAG/d' configure.ac || die
 	# why was static-libtool-libs forced?
+	# it screws up as-neeeded
 	use static-libs || sed -i -e '/-static-libtool-libs/d' Makefile.am
 	autotools-utils_src_prepare
 }


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

end of thread, other threads:[~2014-02-03  1:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-03  1:39 [gentoo-commits] proj/sci:master commit in: sci-astronomy/healpix_cxx/ Sebastien Fabbro
  -- strict thread matches above, loose matches on Subject: below --
2013-06-17  1:07 Sebastien Fabbro

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