diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-libs/qrupdate | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-libs/qrupdate')
-rw-r--r-- | sci-libs/qrupdate/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/qrupdate/files/qrupdate-1.0.1-makefile.patch | 24 | ||||
-rw-r--r-- | sci-libs/qrupdate/files/qrupdate-1.1.1-Makefiles.patch | 88 | ||||
-rw-r--r-- | sci-libs/qrupdate/files/qrupdate-1.1.2-install.patch | 23 | ||||
-rw-r--r-- | sci-libs/qrupdate/metadata.xml | 11 | ||||
-rw-r--r-- | sci-libs/qrupdate/qrupdate-1.1.0.ebuild | 47 | ||||
-rw-r--r-- | sci-libs/qrupdate/qrupdate-1.1.1.ebuild | 44 | ||||
-rw-r--r-- | sci-libs/qrupdate/qrupdate-1.1.2.ebuild | 46 |
8 files changed, 286 insertions, 0 deletions
diff --git a/sci-libs/qrupdate/Manifest b/sci-libs/qrupdate/Manifest new file mode 100644 index 00000000000..04744c5edd0 --- /dev/null +++ b/sci-libs/qrupdate/Manifest @@ -0,0 +1,3 @@ +DIST qrupdate-1.1.0.tar.gz 48830 SHA256 4048f17bb0cf084b74962c882aa6d1367568dc65900259fbea1407eb9ec28bd3 +DIST qrupdate-1.1.1.tar.gz 50063 SHA256 9f0100d358f96cae9394c28c97dbf1fd359675671d2a2c9ac88cfd121a46662a +DIST qrupdate-1.1.2.tar.gz 49734 SHA256 e2a1c711dc8ebc418e21195833814cb2f84b878b90a2774365f0166402308e08 SHA512 cc4e466ea91958e15c66be82b0c4c8ad813fbe4643f21259a9cb3ca8e0a411dd764bb2397ece848a7045f322d30316801d1540c4ebf7912030bef6995b44917c WHIRLPOOL 9e6fb1d77c63e209816d42a864e3e9bf7fd6e238f672012a1dfc2235036c482291745e947a74afa316b9ef0e4a054fbcd7759d5620b75ac35fc2e4cfbd6467a9 diff --git a/sci-libs/qrupdate/files/qrupdate-1.0.1-makefile.patch b/sci-libs/qrupdate/files/qrupdate-1.0.1-makefile.patch new file mode 100644 index 00000000000..fa8925fd8bb --- /dev/null +++ b/sci-libs/qrupdate/files/qrupdate-1.0.1-makefile.patch @@ -0,0 +1,24 @@ +diff -Naur qrupdate-1.0.1/Makefile qrupdate-1.0.1.new/Makefile +--- qrupdate-1.0.1/Makefile 2009-02-06 04:12:00.000000000 -0500 ++++ qrupdate-1.0.1.new/Makefile 2009-09-10 09:55:32.000000000 -0400 +@@ -34,7 +34,7 @@ + lib: + make -C src/ lib + solib: +- make -C src/ solib ++ +make -C src/ solib + test: lib + make -C test/ + +diff -Naur qrupdate-1.0.1/src/Makefile qrupdate-1.0.1.new/src/Makefile +--- qrupdate-1.0.1/src/Makefile 2009-02-06 04:12:50.000000000 -0500 ++++ qrupdate-1.0.1.new/src/Makefile 2009-09-10 09:49:29.000000000 -0400 +@@ -40,7 +40,7 @@ + ar -cr $@ $(OBJS) + + ../libqrupdate.so: $(OBJS) +- $(FC) $(FFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(OBJS) \ ++ $(FC) $(FFLAGS) $(LDFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(OBJS) \ + $(BLAS) $(LAPACK) + + $(OBJS): %.o: %.f diff --git a/sci-libs/qrupdate/files/qrupdate-1.1.1-Makefiles.patch b/sci-libs/qrupdate/files/qrupdate-1.1.1-Makefiles.patch new file mode 100644 index 00000000000..9c9ef931734 --- /dev/null +++ b/sci-libs/qrupdate/files/qrupdate-1.1.1-Makefiles.patch @@ -0,0 +1,88 @@ +diff -Nur qrupdate-1.1.1.orig/Makefile qrupdate-1.1.1/Makefile +--- qrupdate-1.1.1.orig/Makefile 2009-02-06 09:12:00.000000000 +0000 ++++ qrupdate-1.1.1/Makefile 2010-05-13 17:27:15.000000000 +0100 +@@ -32,22 +32,22 @@ + @echo " make install - installs everything" + + lib: +- make -C src/ lib ++ $(MAKE) -C src lib + solib: +- make -C src/ solib ++ $(MAKE) -C src solib + test: lib +- make -C test/ ++ $(MAKE) -C test + + clean: + rm -f libqrupdate.a libqrupdate.so +- make -C src/ clean +- make -C test/ clean ++ $(MAKE) -C src clean ++ $(MAKE) -C test clean + + install: +- make -C src/ install ++ $(MAKE) -C src install + + install-shlib: +- make -C src/ install-shlib ++ $(MAKE) -C src install-shlib + + install-staticlib: +- make -C src/ install-staticlib ++ $(MAKE) -C src install-staticlib +diff -Nur qrupdate-1.1.1.orig/src/Makefile qrupdate-1.1.1/src/Makefile +--- qrupdate-1.1.1.orig/src/Makefile 2010-01-19 11:32:35.000000000 +0000 ++++ qrupdate-1.1.1/src/Makefile 2010-05-13 17:28:30.000000000 +0100 +@@ -34,6 +34,8 @@ + + OBJS = $(SRC:%.f=%.o) + ++PICOBJS = $(SRC:%.f=%.lo) ++ + lib: ../libqrupdate.a + + ifeq ($(shell uname),Darwin) +@@ -46,19 +48,22 @@ + ../libqrupdate.a: $(OBJS) + ar -cr $@ $(OBJS) + +-../libqrupdate.so: $(OBJS) +- $(FC) $(FFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(OBJS) \ ++../libqrupdate.so: $(PICOBJS) ++ $(FC) $(LDFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(PICOBJS) \ + $(BLAS) $(LAPACK) + +-../libqrupdate.dylib: $(OBJS) +- $(FC) $(FFLAGS) $(LDFLAGS) -dynamiclib -o $@ -install_name $(PREFIX)/$(LIBDIR)/libqrupdate.$(MAJOR).dylib $(OBJS) \ ++../libqrupdate.dylib: $(PICOBJS) ++ $(FC) $(LDFLAGS) -dynamiclib -o $@ -install_name $(PREFIX)/$(LIBDIR)/libqrupdate.$(MAJOR).dylib $(PICOBJS) \ + $(BLAS) $(LAPACK) + ++$(PICOBJS): %.lo: %.f ++ $(FC) $(FFLAGS) $(FPICFLAGS) -c $< -o $@ ++ + $(OBJS): %.o: %.f +- $(FC) $(FFLAGS) $(FPICFLAGS) -c $< ++ $(FC) $(FFLAGS) -c $< + + clean: +- rm -f $(OBJS) ++ rm -f $(OBJS) $(PICOBJS) + + install: install-shlib install-staticlib + +diff -Nur qrupdate-1.1.1.orig/test/Makefile qrupdate-1.1.1/test/Makefile +--- qrupdate-1.1.1.orig/test/Makefile 2010-02-11 08:25:37.000000000 +0000 ++++ qrupdate-1.1.1/test/Makefile 2010-05-13 17:15:51.000000000 +0100 +@@ -41,7 +41,7 @@ + $(FC) $(FFLAGS) -c $< + + ../libqrupdate.a: +- make -C ../ lib +- ++ $(MAKE) -C .. lib ++ + clean: + rm -f *.o $(PROGS) $(OUTS) diff --git a/sci-libs/qrupdate/files/qrupdate-1.1.2-install.patch b/sci-libs/qrupdate/files/qrupdate-1.1.2-install.patch new file mode 100644 index 00000000000..0eee49ae68f --- /dev/null +++ b/sci-libs/qrupdate/files/qrupdate-1.1.2-install.patch @@ -0,0 +1,23 @@ +--- src/Makefile.orig 2010-02-07 15:58:01 +0100 ++++ src/Makefile 2010-02-07 16:02:18 +0100 +@@ -65,14 +65,17 @@ + install-shlib: ../libqrupdate$(SOEXT) install-lib$(SOEXT) + + install-lib.so: +- install -D -m644 ../libqrupdate.so $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.so.$(VERSION) ++ install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)/ ++ install -m644 ../libqrupdate.so $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.so.$(VERSION) + ln -s libqrupdate.so.$(VERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.so.$(MAJOR) + ln -s libqrupdate.so.$(VERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.so + + install-lib.dylib: +- install -D -m644 ../libqrupdate.dylib $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.$(VERSION).dylib ++ install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)/ ++ install -m644 ../libqrupdate.dylib $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.$(VERSION).dylib + ln -s libqrupdate.$(VERSION).dylib $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.$(MAJOR).dylib + ln -s libqrupdate.$(VERSION).dylib $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.dylib + + install-staticlib: ../libqrupdate.a +- install -D -m644 ../libqrupdate.a $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.a ++ install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)/ ++ install -m644 ../libqrupdate.a $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.a diff --git a/sci-libs/qrupdate/metadata.xml b/sci-libs/qrupdate/metadata.xml new file mode 100644 index 00000000000..a4214a64f6c --- /dev/null +++ b/sci-libs/qrupdate/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <longdescription lang="en"> + qrupdate is a library for fast updating of qr and cholesky decompositions. +</longdescription> + <upstream> + <remote-id type="sourceforge">qrupdate</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-libs/qrupdate/qrupdate-1.1.0.ebuild b/sci-libs/qrupdate/qrupdate-1.1.0.ebuild new file mode 100644 index 00000000000..9750a6ac662 --- /dev/null +++ b/sci-libs/qrupdate/qrupdate-1.1.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils fortran-2 multilib toolchain-funcs versionator + +DESCRIPTION="A library for fast updating of QR and Cholesky decompositions" +HOMEPAGE="http://sourceforge.net/projects/qrupdate" +SRC_URI="mirror://sourceforge/qrupdate/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=" + virtual/blas + virtual/lapack" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0.1-makefile.patch + + local BLAS_LIBS="$($(tc-getPKG_CONFIG) --libs blas)" + local LAPACK_LIBS="$($(tc-getPKG_CONFIG) --libs lapack)" + + sed -i Makeconf \ + -e "s:gfortran:$(tc-getFC):g" \ + -e "s:FFLAGS=.*:FFLAGS=${FFLAGS}:" \ + -e "s:BLAS=.*:BLAS=${BLAS_LIBS}:" \ + -e "s:LAPACK=.*:LAPACK=${LAPACK_LIBS}:" \ + || die "Failed to set up Makeconf" +} + +src_compile() { + emake solib || die "emake failed" +} + +src_install() { + newlib.so libqrupdate.so libqrupdate.so.1 \ + || die "Failed to install libqrupdate.so.1" + dosym libqrupdate.so.1 /usr/$(get_libdir)/libqrupdate.so + dodoc README ChangeLog || die "dodoc failed" +} diff --git a/sci-libs/qrupdate/qrupdate-1.1.1.ebuild b/sci-libs/qrupdate/qrupdate-1.1.1.ebuild new file mode 100644 index 00000000000..751e78bf5a8 --- /dev/null +++ b/sci-libs/qrupdate/qrupdate-1.1.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils fortran-2 multilib versionator toolchain-funcs + +DESCRIPTION="Library for updating of QR and Cholesky decompositions" +HOMEPAGE="http://sourceforge.net/projects/qrupdate" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~amd64-linux" +IUSE="static-libs" + +RDEPEND="virtual/lapack" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-Makefiles.patch + sed -i Makeconf \ + -e "s:gfortran:$(tc-getFC):g" \ + -e "s:FFLAGS=.*:FFLAGS=${FFLAGS}:" \ + -e "s:BLAS=.*:BLAS=$($(tc-getPKG_CONFIG) --libs blas):" \ + -e "s:LAPACK=.*:LAPACK=$($(tc-getPKG_CONFIG) --libs lapack):" \ + -e "/^LIBDIR=/a\PREFIX=${EPREFIX}/usr" \ + -e "s:LIBDIR=lib:LIBDIR=$(get_libdir):" \ + || die "Failed to set up Makeconf" +} + +src_compile() { + emake solib + use static-libs && emake lib +} + +src_install() { + emake DESTDIR="${D}" install-shlib + dosym libqrupdate.so.$(get_major_version) /usr/$(get_libdir)/libqrupdate.so + use static-libs && emake DESTDIR="${D}" install-staticlib + dodoc README ChangeLog +} diff --git a/sci-libs/qrupdate/qrupdate-1.1.2.ebuild b/sci-libs/qrupdate/qrupdate-1.1.2.ebuild new file mode 100644 index 00000000000..0f36f159cac --- /dev/null +++ b/sci-libs/qrupdate/qrupdate-1.1.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils fortran-2 multilib versionator toolchain-funcs + +DESCRIPTION="Library for updating of QR and Cholesky decompositions" +HOMEPAGE="http://sourceforge.net/projects/qrupdate" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ppc-macos" +IUSE="static-libs" + +RDEPEND="virtual/lapack" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.1.1-Makefiles.patch \ + "${FILESDIR}"/${PN}-1.1.2-install.patch + sed -i Makeconf \ + -e "s:gfortran:$(tc-getFC):g" \ + -e "s:FFLAGS=.*:FFLAGS=${FFLAGS}:" \ + -e "s:BLAS=.*:BLAS=$($(tc-getPKG_CONFIG) --libs blas):" \ + -e "s:LAPACK=.*:LAPACK=$($(tc-getPKG_CONFIG) --libs lapack):" \ + -e "/^LIBDIR=/a\PREFIX=${EPREFIX}/usr" \ + -e "s:LIBDIR=lib:LIBDIR=$(get_libdir):" \ + || die "Failed to set up Makeconf" +} + +src_compile() { + emake solib + use static-libs && emake lib +} + +src_install() { + emake DESTDIR="${D}" install-shlib + dosym libqrupdate.so.$(get_major_version) /usr/$(get_libdir)/libqrupdate.so + use static-libs && emake DESTDIR="${D}" install-staticlib + dodoc README ChangeLog +} |