diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /sci-libs/primegen | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'sci-libs/primegen')
-rw-r--r-- | sci-libs/primegen/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/primegen/primegen-0.97-r1.ebuild | 51 | ||||
-rw-r--r-- | sci-libs/primegen/primegen-0.97-r2.ebuild | 4 |
3 files changed, 3 insertions, 55 deletions
diff --git a/sci-libs/primegen/Manifest b/sci-libs/primegen/Manifest index fa999ad4cc48..26996834ac26 100644 --- a/sci-libs/primegen/Manifest +++ b/sci-libs/primegen/Manifest @@ -1,6 +1,5 @@ AUX primegen-0.97-man.patch 738 BLAKE2B cd89d5156fca4a060cb59a6d9878998ac3c2f52d52891db56daf5f30986f12d20cd6d58f3cd62687f74dc44616b21c12f943c79717c72bd07d41fb925441979e SHA512 42b3748fe77eea9af4ffd531c9dabe28a6be49e05afbf705a47f7111c936fb7cb31517df475c04dc4a3157be9b7890bff64e5ae73a49d8c3517ab756d954f0e8 AUX primegen-0.97-missing-headers.patch 1282 BLAKE2B 2863d18462642f91c8e7e29a6dfef1b570793ca468eb1bef714f311d0115c1e9019439b913f30d0a0c350dc31b19b1a623a871a74e54bce7aa28c2f110215034 SHA512 4933f7fd107f8272ae863f4b5ccf976ea29a0f1a7eab7f93160ed8dc188fef3520e2cea62513eb802e51db46190d0199c4e440b770abfed4d39b0dc6cef582c1 DIST primegen-0.97.tar.gz 31491 BLAKE2B d9e48075a38456da30a23aa95dcf98143f5ad59e8ec56469ea06b6f33b8b2376261fd254fdb9c40ca55f76fae58b89c82329194dd99be3a6bbb356416f294337 SHA512 d6d8de4d9866dbbec20afd4d4b563e3383528138cd3ec849f706211045d735c28bbf7aa6931b8aa54163664e87c2e7ad028c68f407040ac88efce7856bc8b6f4 -EBUILD primegen-0.97-r1.ebuild 1315 BLAKE2B 14dd60c4b67ec81527719bee5069e2ef22ba2700f25737593409e140734565a3b70c27ae18080d108589b15da1ce2f00b14bd2fb09ade985d29760ef3183bd98 SHA512 d0f4237601b08f9431af575143b8ff5a7ac471b9f4d40be3f90a32c860c8047f972a47a0f32548c69a252df76ca5f2ac8452bfd506ac9e83391e7d83fe34c4f7 -EBUILD primegen-0.97-r2.ebuild 1385 BLAKE2B 2531c1772d8abfb4ff3acdaf63b948e23b5b71a01e2736f2613315b982b8237b356b7dbc7affa0d5e2eb8082036903f382bf2fa9434c1cd63939bb6ba46475f5 SHA512 99222f8bdc801d758c6d98cd3eff24c2bf37dc6bb843b1a63fdf220d949b7c15a6401b3b0ecc85c56a7a69c2115323f676ff00c6304d4b9dcc4bbcd02bc2d3ea +EBUILD primegen-0.97-r2.ebuild 1380 BLAKE2B 717488da736d893dfdc889250fa45183cf90102d4e8cf85be70b84bb83581504a24e2508a5c000026136af4a33a3e54d676009b0eec6eb7a23f2b55f880c110d SHA512 471d3008fcaef1d65ba91cc75395a8f2ebeff1538cc3bc148c2ed73d9995e09f78bc2e94c6e70fd070b2106ef4002c9610603f273554b3e5b3981be4f3ee704d MISC metadata.xml 722 BLAKE2B 2200f436b6abff92d1ea37cc45bd5485b2ad2e8c3d8ab0745a98ed5099a7ed136bc898be524d1469e6c5412665776f20bc230ae0a063fd1cee29e5b704428e71 SHA512 343b3b0a267710506ae692987fa40a0197f1d50140bb14c5bb276ea44efb36691182bf52f2f71a8ad50072eee6258180d3215741ce2ff37b206d4ff2cbaac3c3 diff --git a/sci-libs/primegen/primegen-0.97-r1.ebuild b/sci-libs/primegen/primegen-0.97-r1.ebuild deleted file mode 100644 index 4dc121e56cd5..000000000000 --- a/sci-libs/primegen/primegen-0.97-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Small, fast library to generate primes in order" -HOMEPAGE="http://cr.yp.to/primegen.html" -SRC_URI="http://cr.yp.to/primegen/${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND="" -RDEPEND="" - -src_prepare() { - epatch "${FILESDIR}/${P}-man.patch" - epatch "${FILESDIR}/${P}-missing-headers.patch" - find . -type f -exec \ - sed -i -e 's:\(primegen.a\):lib\1:' {} \; - mkdir usr -} - -src_configure() { - # Fixes bug #161015 - append-flags -fsigned-char - echo "$(tc-getCC) ${CFLAGS}" > conf-cc - echo "${S}/usr" > conf-home - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld -} - -src_test() { - [[ $(./primes 1 100000000 | md5sum ) == "4e2b0027288a27e9c99699364877c9db "* ]] || die "test failed" -} - -src_install() { - dobin primegaps primes primespeed - doman primegaps.1 primes.1 primespeed.1 primegen.3 - dolib.a libprimegen.a - # include the 2 typedefs to avoid collision (bug #248327) - sed -i \ - -e "s/#include \"uint32.h\"/$(grep typedef uint32.h)/" \ - -e "s/#include \"uint64.h\"/$(grep typedef uint64.h)/" \ - primegen.h || die - insinto /usr/include - doins primegen.h - dodoc BLURB CHANGES README TODO -} diff --git a/sci-libs/primegen/primegen-0.97-r2.ebuild b/sci-libs/primegen/primegen-0.97-r2.ebuild index a71a29ef2560..72285f5925f0 100644 --- a/sci-libs/primegen/primegen-0.97-r2.ebuild +++ b/sci-libs/primegen/primegen-0.97-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ SRC_URI="http://cr.yp.to/primegen/${P}.tar.gz" LICENSE="public-domain" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" IUSE="" PATCHES=( |