public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-libs/libcerf/files/, sci-libs/libcerf/
@ 2014-07-14 17:24 Christoph Junghans
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Junghans @ 2014-07-14 17:24 UTC (permalink / raw
  To: gentoo-commits

commit:     72f0f81a5863c56c9191c49cd827d345fc55094d
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 14 17:24:08 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Jul 14 17:24:08 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=72f0f81a

fix make install/check

Package-Manager: portage-2.2.8-r1

---
 sci-libs/libcerf/ChangeLog                         |  4 ++
 sci-libs/libcerf/files/libcerf-1.3-autotools.patch | 48 ++++++++++++++++++++++
 sci-libs/libcerf/libcerf-1.3.ebuild                | 18 ++------
 3 files changed, 55 insertions(+), 15 deletions(-)

diff --git a/sci-libs/libcerf/ChangeLog b/sci-libs/libcerf/ChangeLog
index d4679f0..798151c 100644
--- a/sci-libs/libcerf/ChangeLog
+++ b/sci-libs/libcerf/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  14 Jul 2014; Christoph Junghans <ottxor@gentoo.org>
+  +files/libcerf-1.3-autotools.patch, libcerf-1.3.ebuild:
+  fix make install/check
+
 *libcerf-1.3 (14 Jul 2014)
 
   14 Jul 2014; Christoph Junghans <ottxor@gentoo.org> +libcerf-1.3.ebuild,

diff --git a/sci-libs/libcerf/files/libcerf-1.3-autotools.patch b/sci-libs/libcerf/files/libcerf-1.3-autotools.patch
new file mode 100644
index 0000000..bd22e31
--- /dev/null
+++ b/sci-libs/libcerf/files/libcerf-1.3-autotools.patch
@@ -0,0 +1,48 @@
+diff -Naur libcerf-1.3.orig/libcerf.pc.in libcerf-1.3/libcerf.pc.in
+--- libcerf-1.3.orig/libcerf.pc.in	2013-07-17 03:51:59.000000000 -0600
++++ libcerf-1.3/libcerf.pc.in	2014-07-14 11:18:01.646512503 -0600
+@@ -7,4 +7,5 @@
+ Description: Complex error function library
+ Version: @PACKAGE_VERSION@
+ Libs: -L${libdir} -lcerf
++Libs.private: -lm
+ Cflags: -I${includedir}
+diff -Naur libcerf-1.3.orig/man/Makefile.am libcerf-1.3/man/Makefile.am
+--- libcerf-1.3.orig/man/Makefile.am	2013-02-01 02:00:14.000000000 -0700
++++ libcerf-1.3/man/Makefile.am	2014-07-14 11:17:36.266182267 -0600
+@@ -19,9 +19,8 @@
+ # Website:
+ #   http://apps.jcns.fz-juelich.de/libcerf
+ 
+-man_MANS = w_of_z.3 im_w_of_x.3 dawson.3 cdawson.3 cerf.3 cerfc.3 erfcx.3 cerfcx.3 erfi.3 cerfi.3 voigt.3 
+-auxdir = $(datadir)/man/html
+-aux_DATA = w_of_z.html voigt.html dawson.html cerf.html erfcx.html erfi.html
++man_MANS = w_of_z.3 im_w_of_x.3 dawson.3 cdawson.3 libcerf-cerf.3 cerfc.3 erfcx.3 cerfcx.3 erfi.3 cerfi.3 voigt.3 
++html_DATA = w_of_z.html voigt.html dawson.html cerf.html erfcx.html erfi.html
+ 
+ w_of_z.3 : w_of_z.pod
+ 	pod2man -s 3 -c "libcerf manual" $< > $@
+@@ -35,7 +34,7 @@
+ cdawson.3 : dawson.pod
+ 	pod2man -s 3 -c "libcerf manual" $< > $@
+ 
+-cerf.3 : cerf.pod
++libcerf-cerf.3 : cerf.pod
+ 	pod2man -s 3 -c "libcerf manual" $< > $@
+ 
+ cerfc.3 : cerf.pod
+diff -Naur libcerf-1.3.orig/test/Makefile.am libcerf-1.3/test/Makefile.am
+--- libcerf-1.3.orig/test/Makefile.am	2013-07-17 01:45:37.000000000 -0600
++++ libcerf-1.3/test/Makefile.am	2014-07-14 11:16:00.204932368 -0600
+@@ -20,8 +20,10 @@
+ #   http://apps.jcns.fz-juelich.de/libcerf
+ 
+ AM_CFLAGS += -I$(srcdir)/../lib
+-noinst_PROGRAMS = test_libcerf_1 runvoigt run_w_of_z
++noinst_PROGRAMS = runvoigt run_w_of_z
+ test_libcerf_1_SOURCES = test1.c
+ runvoigt_SOURCES = runvoigt.c
+ run_w_of_z_SOURCES = run_w_of_z.c
+ AM_LDFLAGS = -lm -L../lib -lcerf
++check_PROGRAMS = test_libcerf_1
++TESTS = test_libcerf_1

diff --git a/sci-libs/libcerf/libcerf-1.3.ebuild b/sci-libs/libcerf/libcerf-1.3.ebuild
index 0be610e..2a61e84 100644
--- a/sci-libs/libcerf/libcerf-1.3.ebuild
+++ b/sci-libs/libcerf/libcerf-1.3.ebuild
@@ -13,22 +13,10 @@ SRC_URI="http://apps.jcns.fz-juelich.de/src/${PN}/${P}.tgz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc static-libs"
+IUSE="doc static-libs test"
 
 DEPEND=""
 RDEPEND="${DEPEND}"
 
-src_install() {
-	autotools-utils_src_install
-
-	#avoid collision with future glibc's cerf function
-	mv "${ED}"/usr/share/man/man3/{,${PN}-}cerf.3 || die
-
-	#htmldir is hard-coded 
-	if use doc; then
-		dohtml "${ED}"/usr/share/man/html/*
-	fi
-	rm -r "${ED}"/usr/share/man/html || die
-
-	echo 'Libs.private: -lm' >> "${ED}/usr/$(get_libdir)/pkgconfig/${PN}.pc" || die
-}
+PATCHES=( "${FILESDIR}/${P}-autotools.patch" )
+AUTOTOOLS_AUTORECONF=1


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

* [gentoo-commits] proj/sci:master commit in: sci-libs/libcerf/files/, sci-libs/libcerf/
@ 2014-07-21 22:47 Christoph Junghans
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Junghans @ 2014-07-21 22:47 UTC (permalink / raw
  To: gentoo-commits

commit:     26c7fa47f08bf4ec9f665a80c74cdccbb3c23270
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 21 22:46:49 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Jul 21 22:46:49 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=26c7fa47

moved to gx86

---
 sci-libs/libcerf/ChangeLog                         | 13 ------
 sci-libs/libcerf/files/libcerf-1.3-autotools.patch | 48 ----------------------
 sci-libs/libcerf/libcerf-1.3.ebuild                | 22 ----------
 sci-libs/libcerf/metadata.xml                      |  5 ---
 4 files changed, 88 deletions(-)

diff --git a/sci-libs/libcerf/ChangeLog b/sci-libs/libcerf/ChangeLog
deleted file mode 100644
index 798151c..0000000
--- a/sci-libs/libcerf/ChangeLog
+++ /dev/null
@@ -1,13 +0,0 @@
-# ChangeLog for sci-libs/libcerf
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-  14 Jul 2014; Christoph Junghans <ottxor@gentoo.org>
-  +files/libcerf-1.3-autotools.patch, libcerf-1.3.ebuild:
-  fix make install/check
-
-*libcerf-1.3 (14 Jul 2014)
-
-  14 Jul 2014; Christoph Junghans <ottxor@gentoo.org> +libcerf-1.3.ebuild,
-  +metadata.xml:
-  initial commit

diff --git a/sci-libs/libcerf/files/libcerf-1.3-autotools.patch b/sci-libs/libcerf/files/libcerf-1.3-autotools.patch
deleted file mode 100644
index bd22e31..0000000
--- a/sci-libs/libcerf/files/libcerf-1.3-autotools.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -Naur libcerf-1.3.orig/libcerf.pc.in libcerf-1.3/libcerf.pc.in
---- libcerf-1.3.orig/libcerf.pc.in	2013-07-17 03:51:59.000000000 -0600
-+++ libcerf-1.3/libcerf.pc.in	2014-07-14 11:18:01.646512503 -0600
-@@ -7,4 +7,5 @@
- Description: Complex error function library
- Version: @PACKAGE_VERSION@
- Libs: -L${libdir} -lcerf
-+Libs.private: -lm
- Cflags: -I${includedir}
-diff -Naur libcerf-1.3.orig/man/Makefile.am libcerf-1.3/man/Makefile.am
---- libcerf-1.3.orig/man/Makefile.am	2013-02-01 02:00:14.000000000 -0700
-+++ libcerf-1.3/man/Makefile.am	2014-07-14 11:17:36.266182267 -0600
-@@ -19,9 +19,8 @@
- # Website:
- #   http://apps.jcns.fz-juelich.de/libcerf
- 
--man_MANS = w_of_z.3 im_w_of_x.3 dawson.3 cdawson.3 cerf.3 cerfc.3 erfcx.3 cerfcx.3 erfi.3 cerfi.3 voigt.3 
--auxdir = $(datadir)/man/html
--aux_DATA = w_of_z.html voigt.html dawson.html cerf.html erfcx.html erfi.html
-+man_MANS = w_of_z.3 im_w_of_x.3 dawson.3 cdawson.3 libcerf-cerf.3 cerfc.3 erfcx.3 cerfcx.3 erfi.3 cerfi.3 voigt.3 
-+html_DATA = w_of_z.html voigt.html dawson.html cerf.html erfcx.html erfi.html
- 
- w_of_z.3 : w_of_z.pod
- 	pod2man -s 3 -c "libcerf manual" $< > $@
-@@ -35,7 +34,7 @@
- cdawson.3 : dawson.pod
- 	pod2man -s 3 -c "libcerf manual" $< > $@
- 
--cerf.3 : cerf.pod
-+libcerf-cerf.3 : cerf.pod
- 	pod2man -s 3 -c "libcerf manual" $< > $@
- 
- cerfc.3 : cerf.pod
-diff -Naur libcerf-1.3.orig/test/Makefile.am libcerf-1.3/test/Makefile.am
---- libcerf-1.3.orig/test/Makefile.am	2013-07-17 01:45:37.000000000 -0600
-+++ libcerf-1.3/test/Makefile.am	2014-07-14 11:16:00.204932368 -0600
-@@ -20,8 +20,10 @@
- #   http://apps.jcns.fz-juelich.de/libcerf
- 
- AM_CFLAGS += -I$(srcdir)/../lib
--noinst_PROGRAMS = test_libcerf_1 runvoigt run_w_of_z
-+noinst_PROGRAMS = runvoigt run_w_of_z
- test_libcerf_1_SOURCES = test1.c
- runvoigt_SOURCES = runvoigt.c
- run_w_of_z_SOURCES = run_w_of_z.c
- AM_LDFLAGS = -lm -L../lib -lcerf
-+check_PROGRAMS = test_libcerf_1
-+TESTS = test_libcerf_1

diff --git a/sci-libs/libcerf/libcerf-1.3.ebuild b/sci-libs/libcerf/libcerf-1.3.ebuild
deleted file mode 100644
index 2a61e84..0000000
--- a/sci-libs/libcerf/libcerf-1.3.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-inherit autotools-utils multilib
-
-DESCRIPTION="library that provides an efficient and accurate implementation of complex error functions"
-HOMEPAGE="http://apps.jcns.fz-juelich.de/doku/sc/libcerf"
-SRC_URI="http://apps.jcns.fz-juelich.de/src/${PN}/${P}.tgz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc static-libs test"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}-autotools.patch" )
-AUTOTOOLS_AUTORECONF=1

diff --git a/sci-libs/libcerf/metadata.xml b/sci-libs/libcerf/metadata.xml
deleted file mode 100644
index 897aa2e..0000000
--- a/sci-libs/libcerf/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <herd>sci</herd>
-</pkgmetadata>


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

end of thread, other threads:[~2014-07-21 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14 17:24 [gentoo-commits] proj/sci:master commit in: sci-libs/libcerf/files/, sci-libs/libcerf/ Christoph Junghans
  -- strict thread matches above, loose matches on Subject: below --
2014-07-21 22:47 Christoph Junghans

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