Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/agda-stdlib/
Date: Thu, 08 Oct 2020 18:22:59
Message-Id: 1602181358.5f3bacb87367edb140d02e00fec2fc6214207356.slyfox@gentoo
1 commit: 5f3bacb87367edb140d02e00fec2fc6214207356
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 8 18:22:38 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 8 18:22:38 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f3bacb8
7
8 sci-mathematics/agda-stdlib: drop old
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 sci-mathematics/agda-stdlib/Manifest | 1 -
14 .../agda-stdlib/agda-stdlib-2.4.2.5.ebuild | 66 ----------------------
15 2 files changed, 67 deletions(-)
16
17 diff --git a/sci-mathematics/agda-stdlib/Manifest b/sci-mathematics/agda-stdlib/Manifest
18 index 3b6c51e561f..4279dcb29b8 100644
19 --- a/sci-mathematics/agda-stdlib/Manifest
20 +++ b/sci-mathematics/agda-stdlib/Manifest
21 @@ -1,2 +1 @@
22 -DIST agda-stdlib-2.4.2.5.tar.gz 253379 BLAKE2B c635040892bf940057bacf35f85fa6b7e3b49d1877ca7310933c27312b37566f3df077ad021d34e7855daa1e23b2495df82fe288e8416a11f630beeb313ca027 SHA512 b15ed5838916240c8602fe7a4bccddf43c71ab3a18ecb5a6dc85199b908e261b04cf794a4d93c90af0a9263a36603c392280639ace7fecead0c39269c2623302
23 DIST agda-stdlib-2.5.2.0.13.tar.gz 264701 BLAKE2B f35b419aac1b80af86217a86fb8e21a2f3427ef9629c8f2e284036859cd89da16ce1b64ceb87f8a3030b5bdb2a68b4f59f74a717fc1e13378ecb20cc6b28f59c SHA512 340a7b9cb15793cdbe99f558a32eaab3476b94b4d43d45bdc92c6b368197d075c977fd2f6ce0c5b0baf584289a2218b07dd030ad2b83f6d9e4bc7effee91eece
24
25 diff --git a/sci-mathematics/agda-stdlib/agda-stdlib-2.4.2.5.ebuild b/sci-mathematics/agda-stdlib/agda-stdlib-2.4.2.5.ebuild
26 deleted file mode 100644
27 index be6d6baf391..00000000000
28 --- a/sci-mathematics/agda-stdlib/agda-stdlib-2.4.2.5.ebuild
29 +++ /dev/null
30 @@ -1,66 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -CABAL_FEATURES="bin"
37 -inherit haskell-cabal elisp-common
38 -
39 -DESCRIPTION="Agda standard library"
40 -HOMEPAGE="https://wiki.portal.chalmers.se/agda/"
41 -SRC_URI="https://github.com/agda/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="MIT"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~x86"
46 -IUSE="profile +ffi"
47 -
48 -# filemanip is used in lib.cabal to make the GenerateEverything and
49 -# AllNonAsciiChars executables, so agda-stdlib does not require a subslot
50 -# dependency on filemanip.
51 -
52 -RDEPEND="~sci-mathematics/agda-${PV}:=[profile?]
53 - >=dev-haskell/filemanip-0.3.6.2[profile?] <dev-haskell/filemanip-0.4[profile?]
54 - >=dev-lang/ghc-6.12.1
55 - ffi? ( sci-mathematics/agda-lib-ffi )
56 -"
57 -DEPEND="${RDEPEND}
58 - >=dev-haskell/cabal-1.8.0.2
59 -"
60 -
61 -SITEFILE="50${PN}-gentoo.el"
62 -
63 -src_prepare() {
64 - cabal-mksetup
65 - eapply_user
66 -}
67 -
68 -src_compile() {
69 - haskell-cabal_src_compile
70 - "${S}"/dist/build/GenerateEverything/GenerateEverything \
71 - || die "GenerateEverything failed"
72 - local prof
73 - use profile && prof="--ghc-flag=-prof"
74 - agda +RTS -K1G -RTS ${prof} \
75 - -i "${S}" -i "${S}"/src "${S}"/Everything.agda || die
76 - # Although my agda-9999 build has
77 - # /var/tmp/portage/sci-mathematics/agda-9999/work/agda-9999/dist/build/autogen/Paths_Agda.hs
78 - # containing:
79 - # datadir = "/usr/share/agda-9999/ghc-7.6.1"
80 - # it fails without the --css option like:
81 - # /usr/share/agda-9999/ghc-7.4.1/Agda.css: copyFile: does not exist
82 - local cssdir=$(egrep 'datadir *=' "${S}/dist/build/autogen/Paths_lib.hs" | sed -e 's@datadir = \(.*\)@\1@')
83 - agda --html -i "${S}" -i "${S}"/src --css="${cssdir}/Agda.css" "${S}"/README.agda || die
84 -}
85 -
86 -src_test() {
87 - agda -i "${S}" -i "${S}"/src README.agda || die
88 -}
89 -
90 -src_install() {
91 - insinto usr/share/agda-stdlib
92 - insopts --preserve-timestamps
93 - doins -r src/*
94 - dodoc -r html/*
95 - elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
96 -}