diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
commit | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch) | |
tree | 230f3135ceaace633cf93e9838b185c4a6664c2e /sci-mathematics/num-utils/num-utils-0.5-r1.ebuild | |
parent | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff) |
gentoo resync : 23.09.2020
Diffstat (limited to 'sci-mathematics/num-utils/num-utils-0.5-r1.ebuild')
-rw-r--r-- | sci-mathematics/num-utils/num-utils-0.5-r1.ebuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild b/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild index 8d00e1555da9..cc567101a6ba 100644 --- a/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild +++ b/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild @@ -1,14 +1,11 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 - -inherit eutils +EAPI=7 DEB_PR=11 - DESCRIPTION="A set of programs for dealing with numbers from the command line" -HOMEPAGE="http://suso.suso.org/programs/num-utils/" +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" @@ -16,14 +13,19 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="" + +PATCHES=( + "${WORKDIR}/${PN}_${PV}-${DEB_PR}.diff" +) src_prepare() { - epatch "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff + default + sed \ -e 's:../orig/num-utils-0.5/::g' \ -i "${S}"/debian/patches/*.diff || die - epatch "${S}"/debian/patches/*.diff + + eapply -p0 "${S}"/debian/patches/*.diff local x for x in average bound interval normalize random range round; do |