diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-01-20 11:15:47 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-01-20 11:15:47 +0100 |
commit | 69f9c19877ad660642c5ef49b085b89787c69843 (patch) | |
tree | 63ffc7ba07bc82d024ed0def422fd9f4c942b856 /sci-mathematics/num-utils | |
parent | sci-mathematics/minisat: Remove old (diff) | |
download | gentoo-69f9c19877ad660642c5ef49b085b89787c69843.tar.gz gentoo-69f9c19877ad660642c5ef49b085b89787c69843.tar.bz2 gentoo-69f9c19877ad660642c5ef49b085b89787c69843.zip |
sci-mathematics/num-utils: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-mathematics/num-utils')
-rw-r--r-- | sci-mathematics/num-utils/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/num-utils/num-utils-0.5-r1.ebuild | 49 |
2 files changed, 0 insertions, 50 deletions
diff --git a/sci-mathematics/num-utils/Manifest b/sci-mathematics/num-utils/Manifest index 042126090ef2..5c0293fd7b59 100644 --- a/sci-mathematics/num-utils/Manifest +++ b/sci-mathematics/num-utils/Manifest @@ -1,3 +1,2 @@ DIST num-utils-0.5.tar.gz 31845 BLAKE2B fe6620dd0cc7c0d0dc03447918b525f57e9360c5d2a44a32afe7879cf8000bbce646dc271fc821531642c209bf6b356783b09e969755eb7c7af785a8a07a2462 SHA512 6f5a2a8304a0ac3cdba342ecfd28ccd926778a5fde5eed4655f973a5c921e558f0986061ec11ba6146382f63a46b1503570576370a28a0f975e361d790f03561 -DIST num-utils_0.5-11.diff.gz 11702 BLAKE2B d0f81877b3dedbd98f89d0e7448739eb6c953cc966a2a49dfc598821802837b7ade4d6ee70586febd0e72218f042dead06bc3750616960862a63c9e8134f1bef SHA512 b461771ba1c8054d83f1aea06cd6beb92945ba929ff71df9e9c02b589c59dce2f2a19e7dab76120d48de7ae2f9e30f0271ae0b873d6e220ea195e160d4347bbf DIST num-utils_0.5-15.debian.tar.xz 17436 BLAKE2B 099e22a67b359072789106581c6d3b4fe006eb0064ad70578c0cf07388d1b9a677eb418d8d79ae59d6a9e0f3bff93e3159448e36c965f314c6bc559f5af70921 SHA512 5cbcf0d984e2c87fc16932bbd3e952a2b38c1272e00b55839d42ffaf28e0a8b0f5e4340ae01124ef34507ec4a144df0a48fa2af087f876cef39fdc5ba20ce0d1 diff --git a/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild b/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild deleted file mode 100644 index cc567101a6ba..000000000000 --- a/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DEB_PR=11 -DESCRIPTION="A set of programs for dealing with numbers from the command line" -HOMEPAGE="https://suso.suso.org/programs/num-utils/index.phtml" -SRC_URI=" - http://suso.suso.org/programs/num-utils/downloads/${P}.tar.gz - mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-${DEB_PR}.diff.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" - -PATCHES=( - "${WORKDIR}/${PN}_${PV}-${DEB_PR}.diff" -) - -src_prepare() { - default - - sed \ - -e 's:../orig/num-utils-0.5/::g' \ - -i "${S}"/debian/patches/*.diff || die - - eapply -p0 "${S}"/debian/patches/*.diff - - local x - for x in average bound interval normalize random range round; do - mv $x num$x || die "renaming $x failed" - done - - sed \ - -e 's/^RPMDIR/#RPMDIR/' \ - -e 's/COPYING//' \ - -e 's/LICENSE//' \ - -e '/^DOCS/s/MANIFEST//' \ - -i Makefile || die "sed Makefile failed" -} - -src_install() { - emake ROOT="${ED}" install -} - -pkg_postinst() { - elog "All ${PN} programs have been renamed with prefix 'num' to avoid collisions" -} |