diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2004-12-24 15:11:22 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2004-12-24 15:11:22 +0000 |
commit | 3d0a663d6d7f95bb31009e69b07329174e8eded6 (patch) | |
tree | 253f90296b236d55af2a6b6231d18230ec494597 /sci-calculators/units | |
parent | Moving to sci-calculators/units (diff) | |
download | historical-3d0a663d6d7f95bb31009e69b07329174e8eded6.tar.gz historical-3d0a663d6d7f95bb31009e69b07329174e8eded6.tar.bz2 historical-3d0a663d6d7f95bb31009e69b07329174e8eded6.zip |
Moved from app-sci/units to sci-calculators/units.
Diffstat (limited to 'sci-calculators/units')
-rw-r--r-- | sci-calculators/units/ChangeLog | 64 | ||||
-rw-r--r-- | sci-calculators/units/Manifest | 6 | ||||
-rw-r--r-- | sci-calculators/units/files/astronomicalunit.patch | 10 | ||||
-rw-r--r-- | sci-calculators/units/files/digest-units-1.80-r1 | 1 | ||||
-rw-r--r-- | sci-calculators/units/files/remove-script.patch | 21 | ||||
-rw-r--r-- | sci-calculators/units/metadata.xml | 5 | ||||
-rw-r--r-- | sci-calculators/units/units-1.80-r1.ebuild | 35 |
7 files changed, 142 insertions, 0 deletions
diff --git a/sci-calculators/units/ChangeLog b/sci-calculators/units/ChangeLog new file mode 100644 index 000000000000..670ee9271699 --- /dev/null +++ b/sci-calculators/units/ChangeLog @@ -0,0 +1,64 @@ +# ChangeLog for app-sci/units +# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.1 2004/12/24 15:11:22 ribosome Exp $ + +*units-1.80-r1 (24 Dec 2004) + + 24 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +files/astronomicalunit.patch, +files/remove-script.patch, + +units-1.80-r1.ebuild: + Moved from app-sci/units to sci-calculators/units. + +*units-1.80-r1 (19 Oct 2004) + + 19 Oct 2004; Patrick Kursawe <phosphan@gentoo.org> + +files/astronomicalunit.patch, +units-1.80-r1.ebuild, -units-1.80.ebuild: + Trivial fix to units.dat (see bug #67972), changing "HOMEPAGE" and "SRC_URI" + because it can no longer be found where it used to be. + + 06 May 2004; Ferris McCormick <fmccor@gentoo.org> units-1.80.ebuild: + Marked stable on sparc. + + 04 May 2004; Ferris McCormick <fmccor@gentoo.org> units-1.80.ebuild: + Add ~sparc keyword at user request. + + 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> units-1.80.ebuild: + Adding IUSE + + 01 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> units-1.74-r1.ebuild, + units-1.74.ebuild, units-1.80.ebuild: + Cleanup, adding "inherit eutils", stable for amd64 + + 01 Feb 2004; Jon Portnoy <avenj@gentoo.org> units-1.80.ebuild : + AMD64 keywords. + +*units-1.80 (12 Nov 2003) + + 12 Nov 2003; Patrick Kursawe <phosphan@gentoo.org> units-1.80.ebuild: + Version bump. + +*units-1.74-r1 (15 Aug 2003) + + 15 Aug 2003; <spider@gentoo.org> units-1.74-r1.ebuild, + files/remove-script.patch: + A small patch to remove a script at the end that bugged out with gcc 3.3.1 + +*units-1.74 (1 Feb 2002) + + 20 Mar 2003; Aron Griffis <agriffis@gentoo.org> units-1.74.ebuild: + Mark stable on alpha + + 14 Dec 2002; Jon Nall <nall@gentoo.org> units-1.74.ebuild : + keyworded ppc + + 06 May 2002; G. Shapovalov <george@gentoo.org> Changelog: + + Moved from app-misc to app-sci + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/sci-calculators/units/Manifest b/sci-calculators/units/Manifest new file mode 100644 index 000000000000..3f44a5374915 --- /dev/null +++ b/sci-calculators/units/Manifest @@ -0,0 +1,6 @@ +MD5 996c6f831d28ef0abb3d85796f3bab57 units-1.80-r1.ebuild 871 +MD5 648b67c8ccbcaeb50f9fcc247e87b5e5 ChangeLog 2082 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 d8b827b670ceb40f2a8806b195aab0b8 files/digest-units-1.80-r1 62 +MD5 ce4f8d039c68178019ae4759d4735512 files/astronomicalunit.patch 583 +MD5 454866fde7edeaf67e6e6db4956c7953 files/remove-script.patch 460 diff --git a/sci-calculators/units/files/astronomicalunit.patch b/sci-calculators/units/files/astronomicalunit.patch new file mode 100644 index 000000000000..b0f2b32037f6 --- /dev/null +++ b/sci-calculators/units/files/astronomicalunit.patch @@ -0,0 +1,10 @@ +--- units.dat 2004-10-19 09:37:24.802027245 +0200 ++++ units.dat.new 2004-10-19 09:37:19.665715964 +0200 +@@ -1380,6 +1380,7 @@ + # actual mean distance is slightly + # larger because the earth's mass is + # not negligible. ++au 1 astronomicalunit + sundist 1.0000010178 au # mean earth-sun distance + moondist 3.844e8 m # mean earth-moon distance + sundist_near 1.471e11 m # earth-sun distance at perihelion diff --git a/sci-calculators/units/files/digest-units-1.80-r1 b/sci-calculators/units/files/digest-units-1.80-r1 new file mode 100644 index 000000000000..4d69217288fa --- /dev/null +++ b/sci-calculators/units/files/digest-units-1.80-r1 @@ -0,0 +1 @@ +MD5 537f0e1fadc7715e1eb15c9aa33c8c64 units-1.80.tar.gz 206483 diff --git a/sci-calculators/units/files/remove-script.patch b/sci-calculators/units/files/remove-script.patch new file mode 100644 index 000000000000..ad99a97cc2e5 --- /dev/null +++ b/sci-calculators/units/files/remove-script.patch @@ -0,0 +1,21 @@ +--- units.c.old 2003-08-15 13:47:25.881457784 +0200 ++++ units.c 2003-08-15 13:47:08.096161560 +0200 +@@ -2324,11 +2324,11 @@ + crude example to convert lines in a file 'feet' from ft to m might be: + */ + +-#if 0 +- +- "sed 's/.*/& ft\" +- "m/' feet|units -q|sed 's/^[[:space:]]*\* //" +- "/^[[:space:]]*\//d'" +- +-#endif ++// #if 0 ++// ++// "sed 's/.*/& ft\" ++// "m/' feet|units -q|sed 's/^[[:space:]]*\* //" ++// "/^[[:space:]]*\//d'" ++// ++// #endif + diff --git a/sci-calculators/units/metadata.xml b/sci-calculators/units/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/sci-calculators/units/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> diff --git a/sci-calculators/units/units-1.80-r1.ebuild b/sci-calculators/units/units-1.80-r1.ebuild new file mode 100644 index 000000000000..1b1369ab34c0 --- /dev/null +++ b/sci-calculators/units/units-1.80-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/units-1.80-r1.ebuild,v 1.1 2004/12/24 15:11:22 ribosome Exp $ + +inherit eutils + +DESCRIPTION="program for units conversion and units calculation" +SRC_URI="mirror://gentoo/${P}.tar.gz" +HOMEPAGE="http://freshmeat.net/projects/units/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="x86 ppc alpha amd64 sparc" + +DEPEND=">=sys-libs/readline-4.1-r2 + >=sys-libs/ncurses-5.2-r3" + +src_unpack () { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/remove-script.patch + epatch ${FILESDIR}/astronomicalunit.patch +} + +src_compile() { + #Note: the trailing / is required in the datadir path. + econf --datadir=/usr/share/${PN}/ || die + emake || die +} + +src_install() { + einstall datadir=${D}/usr/share/${PN}/ || die + dodoc ChangeLog NEWS README +} |