diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-mathematics/num-utils |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-mathematics/num-utils')
-rw-r--r-- | sci-mathematics/num-utils/Manifest | 8 | ||||
-rw-r--r-- | sci-mathematics/num-utils/metadata.xml | 8 | ||||
-rw-r--r-- | sci-mathematics/num-utils/num-utils-0.3.ebuild | 25 | ||||
-rw-r--r-- | sci-mathematics/num-utils/num-utils-0.5-r1.ebuild | 47 |
4 files changed, 88 insertions, 0 deletions
diff --git a/sci-mathematics/num-utils/Manifest b/sci-mathematics/num-utils/Manifest new file mode 100644 index 000000000000..f2ed1d733ef7 --- /dev/null +++ b/sci-mathematics/num-utils/Manifest @@ -0,0 +1,8 @@ +DIST num-utils-0.3.tar.gz 28208 SHA256 2369fbd7ef094129d6bc60c54a22e98d2329e9ce7b1b958614991398ec1bff72 SHA512 d4133062d63477ef69fa4439600e8d48b9d4944a747e3e1913a4b51e24bf07fb20cd0863c1066b90085d64ce76bc23862e2f548861aee4d8e5d36c6ac336ab7c WHIRLPOOL 39a521c3721f048627f9f053735fc8dd360eaa056280912355c91812120367054bd8ca3c84c00aef81b96b0e407e9985da5b3d525a86758992091bda729d8973 +DIST num-utils-0.5.tar.gz 31845 SHA256 03592760fc7844492163b14ddc9bb4e4d6526e17b468b5317b4a702ea7f6c64e SHA512 6f5a2a8304a0ac3cdba342ecfd28ccd926778a5fde5eed4655f973a5c921e558f0986061ec11ba6146382f63a46b1503570576370a28a0f975e361d790f03561 WHIRLPOOL ca4b61fdb2b865e17835c1b6b8698cd4bab8b3f45c42f4f4b6d44a5e2b99b936020738b6a7a2500320ff34ebe8a3d647e5861e09c590adae36910b84ea010667 +DIST num-utils_0.5-11.diff.gz 11702 SHA256 6b4294671eff9378579f20904b27ef42ba4bfb2ac0af74007a81b08e6cc917ad SHA512 b461771ba1c8054d83f1aea06cd6beb92945ba929ff71df9e9c02b589c59dce2f2a19e7dab76120d48de7ae2f9e30f0271ae0b873d6e220ea195e160d4347bbf WHIRLPOOL 281cca6b716b47ca45657fc37a1000b5e6594b9c50223a8d28d5ada0cba7f721ffc0d874cf79afd8600d13ddc7c07851ca251aaac2bc339bafa172ea9870cf7e +EBUILD num-utils-0.3.ebuild 565 SHA256 cb1a4c63c494b4295549363a2718f8800b8151160b3db78a8345cd5c7e64c742 SHA512 5cb54e3831d8f5451bc2f7e7481d11387d4e2faa795ef0bf04a8d098e028763b44e8506a1805f2c6b694e9f49e5727a2b25913677b0484a46681bca22711c999 WHIRLPOOL ef704dd4532b196565049902f36c40acead5fc02f4513aad660aa80d5859dd6fb37578fe2ac4c9d21c127270b26166a341a65c2fd86c9e65e1887c6c3206abce +EBUILD num-utils-0.5-r1.ebuild 1102 SHA256 52196ae39bc7c516597019f86f62cb93e574bf83748b0c718c9340609c5d5577 SHA512 cb32d9c43624f37bbd5331be9076d7a2d066e2d5a50ec7341fec402fedfea87477577c1813e384cb392346d060ae32be2559286e447ad104ab6d8ac5b7f6d981 WHIRLPOOL a2618673aaeae6cfbac6ee50b3875ed2978467fc1e9385ca8000286e2927e9b5194a2b623ca13fe55d0c2525831465cc0e6549577d0a448b4eef70f099307e24 +MISC ChangeLog 2671 SHA256 db5689c30e4976d60b76eb5e06a7caadecc4996f9e701e854e54273fe3a1dd50 SHA512 85dd6b0b28ec73d506ed173598e5113d69269fa6dc038a3ec16d8d26c275f919eb1b25100ead261247b2d261dd296a09511affba85959870c77160e50efe6542 WHIRLPOOL e9d0aefed53bea9368cb6d97e33fd4229b17fb8f2c0ae84d2e5f43166681c82ee98c9fdaaa064e3eef545a796ce2036b96bc107a27296a74f9f7342427182128 +MISC ChangeLog-2015 1753 SHA256 57a6aefe52a59d3a75e80b7cf70cd18921467f057bf4645f730da206574df945 SHA512 468d9163b4319d983961f1437710c57da5f169c5b97654c7978263999434d9750850636c431ccf07000d8bb7cb378b668fb3366eb6ca35ccefba5e63dc911502 WHIRLPOOL 14140f3fa91704db31c8c2e300bcb37140cc9ec12a842d0b080bebf64a03555df73bed6b35b3b5b4e93748f2baf14bff4fabea29d2b9ca909e3abdb202973c1c +MISC metadata.xml 269 SHA256 a871d7ff10784843cabcb9dc241de96e6fce441b85b5985450dfa226a550d776 SHA512 ecf9121172cdf04793bdbf6684060c7f15fb2a25606e53d8fc7dbc78efe24e264affa600c1ee3106ce8216b7093dff66eced3f78dd6ca7bd6ee589d1c7912cd6 WHIRLPOOL 8b7ba32ab675a9464103d73a803eeb3dae79f7f2ac90fea364a7d003efd6cc4db9c5e098bea367c269fc27e239a6ece61f3e9ce9a0657471197395f27b87bb36 diff --git a/sci-mathematics/num-utils/metadata.xml b/sci-mathematics/num-utils/metadata.xml new file mode 100644 index 000000000000..514f7304d513 --- /dev/null +++ b/sci-mathematics/num-utils/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> +</pkgmetadata> diff --git a/sci-mathematics/num-utils/num-utils-0.3.ebuild b/sci-mathematics/num-utils/num-utils-0.3.ebuild new file mode 100644 index 000000000000..d711b5e0362c --- /dev/null +++ b/sci-mathematics/num-utils/num-utils-0.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="A set of programs for dealing with numbers from the command line" +SRC_URI="http://suso.suso.org/programs/num-utils/downloads/${P}.tar.gz" +HOMEPAGE="http://suso.suso.org/programs/num-utils/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND="" +RDEPEND=" + dev-lang/perl + !<sci-chemistry/gromacs-4" + +src_compile() { + emake || die +} + +src_install () { + make ROOT="${D}" install || die + dodoc CHANGELOG GOALS MANIFEST README VERSION WARNING +} diff --git a/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild b/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild new file mode 100644 index 000000000000..a6bf9e3f0638 --- /dev/null +++ b/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils + +DEB_PR=11 + +DESCRIPTION="A set of programs for dealing with numbers from the command line" +HOMEPAGE="http://suso.suso.org/programs/num-utils/" +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" +IUSE="" + +src_prepare() { + epatch "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff + sed \ + -e 's:../orig/num-utils-0.5/::g' \ + -i "${S}"/debian/patches/*.diff || die + epatch "${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" +} |