sci-misc/gt-itm: Rename the distfiles
authorMichał Górny <mgorny@gentoo.org>
Sat, 24 Aug 2019 06:15:05 +0000 (08:15 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 27 Aug 2019 02:57:15 +0000 (04:57 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/12783
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-misc/gt-itm/Manifest
sci-misc/gt-itm/gt-itm-19961004-r2.ebuild

index 11e2f46493fe1e635169ecf94113c092e96bb5b3..2cf70b9c8419bb8be6d136e85551b809bbfefe9e 100644 (file)
@@ -1,2 +1,2 @@
-DIST gt-itm.tar.gz 623345 BLAKE2B e9cf712d6a4411cbb66faf9bbd803bb3753ebbbd05174c02581c9b606e02f1c7132b0b96f483e3f273a28aebd64a8ede046de7397ddb9606efccad59ba137524 SHA512 e775ac475d40fc753a27fb619f262d701818190fa3be90d587f95e215610918b56b9d67783d4e7e2f55d0064e5b2d2ce911042353b29bce1e4dbcf407ff9fabc
-DIST sgb2ns.tar.gz 50635 BLAKE2B b669d9def20c7e149de33072467183190f85b7fb30662cad83c53c1d9317532a1bd95174498eebd13b98eccf2ac693159793a40b667cdc97a6f15fbd027e0975 SHA512 77ec6fdad61f43bf078851852aa03dfea02df235a78853e477dacc8e2b94c0d8bda9772fc00d18fdaeabc419b2780c016b7a64a1a06ac0be2c8c2aa6608c06cf
+DIST gt-itm-19961004.tar.gz 623345 BLAKE2B e9cf712d6a4411cbb66faf9bbd803bb3753ebbbd05174c02581c9b606e02f1c7132b0b96f483e3f273a28aebd64a8ede046de7397ddb9606efccad59ba137524 SHA512 e775ac475d40fc753a27fb619f262d701818190fa3be90d587f95e215610918b56b9d67783d4e7e2f55d0064e5b2d2ce911042353b29bce1e4dbcf407ff9fabc
+DIST sgb2ns-19961004.tar.gz 50635 BLAKE2B b669d9def20c7e149de33072467183190f85b7fb30662cad83c53c1d9317532a1bd95174498eebd13b98eccf2ac693159793a40b667cdc97a6f15fbd027e0975 SHA512 77ec6fdad61f43bf078851852aa03dfea02df235a78853e477dacc8e2b94c0d8bda9772fc00d18fdaeabc419b2780c016b7a64a1a06ac0be2c8c2aa6608c06cf
index 36c7552cf47edbe3a714e359ff64ffded2f5f24f..99585d83edfe1e50c470b658167d674933a0bd2c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,9 +7,9 @@ inherit toolchain-funcs
 
 DESCRIPTION="Routines to generate / analyze graphs using models for internetwork topology"
 HOMEPAGE="http://www.cc.gatech.edu/fac/Ellen.Zegura/graphs.html
-                 http://www.isi.edu/nsnam/ns/ns-topogen.html#gt-itm"
-SRC_URI="http://www.cc.gatech.edu/fac/Ellen.Zegura/gt-itm/gt-itm.tar.gz
-                http://www.isi.edu/nsnam/dist/sgb2ns.tar.gz"
+               http://www.isi.edu/nsnam/ns/ns-topogen.html#gt-itm"
+SRC_URI="http://www.cc.gatech.edu/fac/Ellen.Zegura/gt-itm/gt-itm.tar.gz -> ${P}.tar.gz
+               http://www.isi.edu/nsnam/dist/sgb2ns.tar.gz -> sgb2ns-${PV}.tar.gz"
 
 LICENSE="all-rights-reserved sgb2ns"
 SLOT="0"
@@ -27,12 +27,13 @@ PATCHES=( "${FILESDIR}"/${PN}-implicits.patch )
 DOCS=( README docs/. )
 
 src_unpack() {
-       unpack sgb2ns.tar.gz
+       unpack "sgb2ns-${PV}.tar.gz"
 
        mkdir "$S" || die
        cd "$S" || die
-       unpack gt-itm.tar.gz
+       unpack "${P}.tar.gz"
 }
+
 src_prepare() {
        sed -ri -e '/^[[:alnum:]]+\.o:/d' \
                -e 's|LIBS = -lm -lgb.*|LIBS = -lm -lgb|' \