Little fix to units.dat
authorPatrick Kursawe <phosphan@gentoo.org>
Tue, 19 Oct 2004 07:49:14 +0000 (07:49 +0000)
committerPatrick Kursawe <phosphan@gentoo.org>
Tue, 19 Oct 2004 07:49:14 +0000 (07:49 +0000)
app-sci/units/ChangeLog
app-sci/units/Manifest
app-sci/units/files/astronomicalunit.patch [new file with mode: 0644]
app-sci/units/files/digest-units-1.80-r1 [moved from app-sci/units/files/digest-units-1.80 with 100% similarity]
app-sci/units/units-1.80-r1.ebuild [moved from app-sci/units/units-1.80.ebuild with 72% similarity]

index 8c5bb361859e37a5ca4b8491a0ee402b1ad5a135..a76de16f4d61517cafbc1244567c394c14d44117 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for app-sci/units
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/units/ChangeLog,v 1.13 2004/06/24 22:20:10 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/units/ChangeLog,v 1.14 2004/10/19 07:49:14 phosphan Exp $
+
+*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.
index 1299f958d490dd4dd4c2df19200635bf7707f510..3f44a53749155975c393d172db62c196445e6f85 100644 (file)
@@ -1,5 +1,6 @@
-MD5 b584c000564484dc36cfbdac54ff5535 units-1.80.ebuild 845
-MD5 f7aba1cfbbeea15f2b76c9de38fdd046 ChangeLog 1786
+MD5 996c6f831d28ef0abb3d85796f3bab57 units-1.80-r1.ebuild 871
+MD5 648b67c8ccbcaeb50f9fcc247e87b5e5 ChangeLog 2082
 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
-MD5 d8b827b670ceb40f2a8806b195aab0b8 files/digest-units-1.80 62
+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/app-sci/units/files/astronomicalunit.patch b/app-sci/units/files/astronomicalunit.patch
new file mode 100644 (file)
index 0000000..b0f2b32
--- /dev/null
@@ -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
similarity index 72%
rename from app-sci/units/units-1.80.ebuild
rename to app-sci/units/units-1.80-r1.ebuild
index 466ed9ccbadac80091e1ebd8546ecf4861db1155..2e62ee6ffe79f90aa757f679b3f70aac051780d3 100644 (file)
@@ -1,12 +1,12 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/units/units-1.80.ebuild,v 1.8 2004/06/24 22:20:10 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/units/units-1.80-r1.ebuild,v 1.1 2004/10/19 07:49:14 phosphan Exp $
 
 inherit eutils
 
 DESCRIPTION="program for units conversion and units calculation"
-SRC_URI="ftp://ftp.gnu.org/gnu/units/${P}.tar.gz"
-HOMEPAGE="http://www.gnu.org/software/units/units.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+HOMEPAGE="http://freshmeat.net/projects/units/"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -20,6 +20,7 @@ src_unpack () {
        unpack ${A}
        cd ${S}
        epatch ${FILESDIR}/remove-script.patch
+       epatch ${FILESDIR}/astronomicalunit.patch
 }
 
 src_compile() {