Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/wxc/
Date: Sat, 12 Sep 2020 22:54:03
Message-Id: 1599951233.f0882a6d6ed1b5a22a4c08070bcf77e2f6d0aead.slyfox@gentoo
1 commit: f0882a6d6ed1b5a22a4c08070bcf77e2f6d0aead
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 12 22:52:03 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 12 22:53:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0882a6d
7
8 dev-haskell/wxc: drop old
9
10 Package-Manager: Portage-3.0.6, Repoman-3.0.1
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-haskell/wxc/Manifest | 1 -
14 dev-haskell/wxc/wxc-0.92.2.0.ebuild | 57 -------------------------------------
15 2 files changed, 58 deletions(-)
16
17 diff --git a/dev-haskell/wxc/Manifest b/dev-haskell/wxc/Manifest
18 index c24115f1645..b82eb1f350d 100644
19 --- a/dev-haskell/wxc/Manifest
20 +++ b/dev-haskell/wxc/Manifest
21 @@ -1,2 +1 @@
22 -DIST wxc-0.92.2.0.tar.gz 203065 BLAKE2B 3f873b3bbc50e5fa7690f2f05a25ab360260d90523dd0b9c016f5dfeea99e9a59fe4848de520d642d2cea52dbadfd69aa31671f521243240488d643d4554e880 SHA512 e6fba1be94978603965b8902fad9326772b5483d5df621d5245f1fae97d85bcb1aff4565f1e8396de23c854050151c5e009e34a1ea29c3037057599ac0412bcd
23 DIST wxc-0.92.3.0.tar.gz 203597 BLAKE2B e73745fe17747c1abb79cdb2e7ecadee1f286abd34d1ccfbc2bb53d729fbab4dc60ab054af07f75cae9aa67e83ae794ea23f3f00decd39f69b93a5a56726d9d2 SHA512 60f34e316a4dfa4951e18d99d24508d36806f8a9d0bf05485904b03622ebda138b7a93a7477a2a107007d40e8cadbe51200322507054f65bd0b720545b414b37
24
25 diff --git a/dev-haskell/wxc/wxc-0.92.2.0.ebuild b/dev-haskell/wxc/wxc-0.92.2.0.ebuild
26 deleted file mode 100644
27 index 0e5e4f13e99..00000000000
28 --- a/dev-haskell/wxc/wxc-0.92.2.0.ebuild
29 +++ /dev/null
30 @@ -1,57 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -
36 -# ebuild generated by hackport 0.4.7.9999
37 -
38 -WX_GTK_VER="3.0"
39 -
40 -CABAL_FEATURES="lib profile"
41 -inherit haskell-cabal multilib versionator wxwidgets
42 -
43 -DESCRIPTION="wxHaskell C++ wrapper"
44 -HOMEPAGE="https://wiki.haskell.org/WxHaskell"
45 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
46 -
47 -LICENSE="wxWinLL-3.1"
48 -SLOT="${WX_GTK_VER}/${PV}"
49 -KEYWORDS="~amd64 ~x86"
50 -IUSE=""
51 -
52 -RDEPEND=">dev-haskell/split-0:=[profile?]
53 - >=dev-haskell/wxdirect-0.90.1.1:${WX_GTK_VER}=[profile?]
54 - x11-libs/wxGTK:${WX_GTK_VER}=[X,gstreamer,opengl]
55 - >=dev-lang/ghc-7.6.1:=
56 -"
57 -DEPEND="${RDEPEND}
58 - >=dev-haskell/cabal-1.16.0
59 -"
60 -
61 -src_prepare() {
62 - sed -e "s@\"wx-config\"@\"${WX_CONFIG}\"@g" \
63 - -i "${S}/Setup.hs" || die "Could not specify wx-config in Setup.hs"
64 -}
65 -
66 -src_configure() {
67 - local cgcc=()
68 - for i in ${CXXFLAGS}
69 - do
70 - cgcc+=( --gcc-option="${i}" )
71 - done
72 - # Trying to specify the LDFLAGS in --ld-option does not work, as ld does
73 - # not understand ld options prefixed with -Wl,
74 - # The linker that is used to link the libwxc.so shared library is hard coded
75 - # in Setup.hs. So the --with-ld would not change the linker used when
76 - # linking libwxc.so. --with-ld="gcc" does not help, as then cabal passes
77 - # ld options like -x to gcc which then returns a non-zero exit status, then
78 - # cabal ignores all the --ld-option parameters.
79 - # So I place all the LDFLAGS in --gcc-option parameters. They are ignored
80 - # when building .o files.
81 - local cld=()
82 - for i in ${LDFLAGS}
83 - do
84 - cld+=( --gcc-option="${i}" )
85 - done
86 - cabal_src_configure ${cgcc[*]} ${cld[*]} --verbose=3
87 -}