sci-electronics/gwave: Revert back to old tarball
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 25 Aug 2018 22:43:02 +0000 (00:43 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 25 Aug 2018 22:53:00 +0000 (00:53 +0200)
This reverts 5dfa4f57d8fa86f4eb7ccea80088a025c72f177f and faulty
SRC_URI to use the existing tarball from GENTOO_MIRRORS.

Bug: https://bugs.gentoo.org/664230
Package-Manager: Portage-2.3.48, Repoman-2.3.10

sci-electronics/gwave/Manifest
sci-electronics/gwave/gwave-20120229-r1.ebuild
sci-electronics/gwave/gwave-20120229.ebuild

index 2c6abbd525ec43ed7bde2f9ee64dfdc37c34cec0..d49f652ce604914e9133a0ba50916a4f3ae240a6 100644 (file)
@@ -1,2 +1,2 @@
-DIST gwave-code-r249-trunk.zip 418899 BLAKE2B 314c426914e9049cf5390f31204f9a84b1216577f1e6a33bc6588a58afdfc392ef54d69e7cc840ac2bfff5ce232f8ec791bc657f7640add23e58b0ec57cbfa34 SHA512 7a073b9eae2f72f17c3b552b671f3c7e72dc265d62c33a746fdd24a54cfb53100fd9ae53e80a512fd8b029f7e8fac2eb5e9456787ef708d18a3ab2417a31a5ac
+DIST gwave-code-249-trunk.zip 415799 BLAKE2B d128d9497f05f61e334886f0884a745c2cab624131ff2811162dc4ad0d39a244c4f08783dc7ddb12edde3287466744d8f6f8db6a61f77a493811d887ca611a5d SHA512 351e5db7c65a0ff3ff68785986c3c4f16e2fbf2386c944c8ed63ced4b4714e9e00c2d30a12f7180477bb8f1ac56a09208cf6379b0e0074dc92de71ff483d5d87
 DIST gwave2-20090213.tar.gz 403957 BLAKE2B aeb1db92bfc5977d1a11e0baad89919f4eafd8c9c8ceaf94e29e8a8a6aed29f38f27bec6a340c8610b0acde83c0f8fa3944313417ae3db7d91e155db920fa358 SHA512 9b39ed2923901af18253abe8e3ae1a6f71a660e31181dce31b0d784eb1dd0800a31ff48158b2c68555fcd268029e20295e87626e8e1d4cebc236b3863fe25e8c
index 79db65e55b8500a3c075d5e5bf6ada7f20a6620b..a5697a7a0ed30ad33339fdd988cb79e917de7abe 100644 (file)
@@ -3,36 +3,35 @@
 
 EAPI=6
 
+REV="249"
 WANT_AUTOMAKE=1.9
-
 inherit autotools desktop gnome2-utils xdg-utils
 
-rev="r249"
-
 DESCRIPTION="Analog waveform viewer for SPICE-like simulations"
 HOMEPAGE="http://gwave.sourceforge.net"
-SRC_URI="https://sourceforge.net/code-snapshots/svn/g/gw/gwave/code/gwave-code-${rev}-trunk.zip"
+SRC_URI="https://sourceforge.net/code-snapshots/svn/g/gw/gwave/code/gwave-code-${REV}-trunk.zip"
 
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~x86"
 IUSE="gnuplot plotutils"
 SLOT="0"
 
-DEPEND="app-arch/unzip
+COMMON_DEPEND="
        >=dev-scheme/guile-2[deprecated,networking]
        <dev-scheme/guile-2.2
        dev-scheme/guile-gnome-platform
        x11-libs/guile-gtk"
 
-RDEPEND="${DEPEND}
+RDEPEND="${COMMON_DEPEND}
        sci-electronics/electronics-menu
        gnuplot? ( sci-visualization/gnuplot )
        plotutils? ( media-libs/plotutils )"
 
-DEPEND="${DEPEND}
+DEPEND="${COMMON_DEPEND}
+       app-arch/unzip
        app-text/docbook-sgml-utils"
 
-S="${WORKDIR}/gwave-code-${rev}-trunk"
+S="${WORKDIR}/gwave-code-${REV}-trunk"
 
 PATCHES=(
        "${FILESDIR}"/${P}_as-needed.patch
@@ -45,8 +44,9 @@ PATCHES=(
        )
 
 src_prepare() {
-       sed 's/AM_INIT_AUTOMAKE(gwave, [0-9]*)/AM_INIT_AUTOMAKE(gwave, ${PV})/' -i configure.ac || die
        default
+       sed -e 's/AM_INIT_AUTOMAKE(gwave, [0-9]*)/AM_INIT_AUTOMAKE(gwave, ${PV})/' \
+               -i configure.ac || die
        eautoreconf
 }
 
@@ -56,10 +56,6 @@ src_install() {
        make_desktop_entry gwave "Gwave" gwave "Electronics"
 }
 
-pkg_preinst() {
-       gnome2_icon_savelist
-}
-
 pkg_postinst() {
        xdg_desktop_database_update
        xdg_mimeinfo_database_update
index 8c483369652d00d1a840b0e10099ecffde74225f..acd8cfe91817d1360104c08f4c727eacb2cd88ce 100644 (file)
@@ -7,7 +7,7 @@ WANT_AUTOMAKE=1.9
 
 inherit autotools fdo-mime gnome2-utils
 
-rev="r249"
+rev=249
 
 DESCRIPTION="Analog waveform viewer for SPICE-like simulations"
 LICENSE="GPL-2"