Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/suite3270/
Date: Sat, 14 Sep 2019 02:41:21
Message-Id: 1568428749.d5ce56095a91af88b6c5a55a587684689ef0006a.vapier@gentoo
1 commit: d5ce56095a91af88b6c5a55a587684689ef0006a
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 14 02:32:41 2019 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 14 02:39:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5ce5609
7
8 net-misc/suite3270: drop old 3.4 versions
9
10 Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
11
12 net-misc/suite3270/Manifest | 1 -
13 net-misc/suite3270/suite3270-3.4_p10.ebuild | 101 ----------------------------
14 2 files changed, 102 deletions(-)
15
16 diff --git a/net-misc/suite3270/Manifest b/net-misc/suite3270/Manifest
17 index af20b8dced7..75a7a8b1703 100644
18 --- a/net-misc/suite3270/Manifest
19 +++ b/net-misc/suite3270/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST suite3270-3.4ga10-src.tgz 3398730 BLAKE2B 4adc02b416d5fbf2facbf4e42c58a2bd3ed551ce46494ece039ef129663957632316882d5a5b28e272fa47010105a3682618b8ac2d355e745c576af74d0bb310 SHA512 d9ed4aa41c45a2e961d5c2d0c00c6b81526da64b9c1765b0c5e39cb647157026a787db2054b2feb55c57e5a458a31062141471447b1177fd46cbbeb7d71e3f28
22 DIST suite3270-3.5ga10-src.tgz 3412329 BLAKE2B c9ed308cf970da150da985d76ec377c83a03041eddfcbad9baa7211776a7b68292109cccb2ec250952edb77eeca79143137eb8a94da8b774e952c3e5790c6231 SHA512 0cce1212ca7589595cd2f775d18086f231a9e6d621716be5a41123a379358d9ac08c9668de2bd6a2e401ae54d12a4905c3c260cb7ba90482bbce6790d8e3efb8
23 DIST suite3270-3.5ga12-src.tgz 3412286 BLAKE2B 5602f8bbe7b916a977c97848ff9a413a873f61e1c0c62b8c118dc43703adcd4a668e3cc301f9e37a139eebeeae44aca3cdedd0c10de15870ad8ead00d783e1ef SHA512 c7cb25b5c82b0d7ccac8c3ed17317a5a5ebce24fb32dcdfcaf7158157578617a7bccc265fdb67fce0557caa9c75d1afc2d8152a06b98af43ad9a9e29b5f2a267
24 DIST suite3270-3.6ga4-src.tgz 3288095 BLAKE2B 34245d6050f7d70ef6195dc669fea55eed70cb9b6c616a4bc88bc52bcfd9d837e527debc87eba4ccdc47c4a453e16749c23b9618d5bf4198e4131573f437209b SHA512 5309c4b4ad0d730033166b0bdb7638bba5fc00908776a229d5f0a131f72741897a0bf6b86dee3b1c9f3d480dc4f23e03e812d3349cec7094908c6a54a87d5ccb
25
26 diff --git a/net-misc/suite3270/suite3270-3.4_p10.ebuild b/net-misc/suite3270/suite3270-3.4_p10.ebuild
27 deleted file mode 100644
28 index 8eaf62808b2..00000000000
29 --- a/net-misc/suite3270/suite3270-3.4_p10.ebuild
30 +++ /dev/null
31 @@ -1,101 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="5"
36 -
37 -MY_PV=${PV/_p/ga}
38 -MY_P=${PN}-${MY_PV}
39 -SUB_PV=${PV:0:3}
40 -
41 -S=${WORKDIR}/${PN}-${SUB_PV}
42 -
43 -# only the x3270 package installs fonts
44 -FONT_PN="x3270"
45 -FONT_S=${WORKDIR}/${FONT_PN}
46 -
47 -inherit eutils font
48 -
49 -DESCRIPTION="Complete 3270 access package"
50 -HOMEPAGE="http://x3270.bgp.nu/"
51 -SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
52 -
53 -LICENSE="GPL-2"
54 -SLOT="0"
55 -KEYWORDS="amd64 ppc s390 sparc x86"
56 -IUSE="cjk doc ncurses ssl tcl X"
57 -
58 -RDEPEND="ssl? ( dev-libs/openssl:0= )
59 - X? (
60 - x11-libs/libX11
61 - x11-libs/libXaw
62 - x11-libs/libXmu
63 - x11-libs/libXt
64 - )
65 - ncurses? (
66 - sys-libs/ncurses:=
67 - sys-libs/readline:0=
68 - )
69 - tcl? ( dev-lang/tcl:0 )"
70 -DEPEND="${RDEPEND}
71 - X? (
72 - x11-base/xorg-proto
73 - x11-misc/xbitmaps
74 - app-text/rman
75 - x11-apps/mkfontdir
76 - x11-apps/bdftopcf
77 - )"
78 -
79 -suite3270_makelist() {
80 - echo pr3287 s3270 \
81 - $(usex ncurses c3270 '') \
82 - $(usex tcl tcl3270 '') \
83 - $(usex X x3270 '')
84 -}
85 -
86 -src_prepare() {
87 - # Some subdirs (like c3270/x3270/s3270) install the same set of data files
88 - # (they have the same contents). Wrap that in a retry to avoid errors.
89 - cat <<-EOF > _install
90 - #!/bin/sh
91 - for n in 1 2 3 4 5; do
92 - install "\$@" && exit
93 - echo "retrying ..."
94 - done
95 - exit 1
96 - EOF
97 - chmod a+rx _install
98 - # Can't use the $INSTALL var as top level configure also uses it.
99 - # https://sourceforge.net/p/x3270/bugs/15/
100 - export ac_cv_path_install="${S}/_install"
101 -}
102 -
103 -src_configure() {
104 - echo "${INSTALL}"
105 - econf \
106 - --cache-file="${S}"/config.cache \
107 - --enable-s3270 \
108 - --enable-pr3287 \
109 - $(use_enable ncurses c3270) \
110 - $(use_enable tcl tcl3270) \
111 - $(use_enable X x3270) \
112 - $(use_with X x) \
113 - $(use_with X fontdir "${FONTDIR}")
114 -}
115 -
116 -src_install() {
117 - use X && dodir "${FONTDIR}"
118 - emake DESTDIR="${D}" install{,.man}
119 -
120 - local p
121 - for p in $(suite3270_makelist) ; do
122 - cd "${S}/${p}"
123 - docinto ${p}
124 - dodoc README*
125 - use doc && dohtml html/*
126 - done
127 -
128 - use X && font_src_install
129 -}
130 -
131 -pkg_postinst() { use X && font_pkg_postinst ; }
132 -pkg_postrm() { use X && font_pkg_postrm ; }