Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/hexcurse/files/, app-editors/hexcurse/
Date: Tue, 01 Aug 2017 15:00:14
Message-Id: 1501599607.ceb830de0133e302a9db9589b0aaf9f5f0e7ce9e.polynomial-c@gentoo
1 commit: ceb830de0133e302a9db9589b0aaf9f5f0e7ce9e
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 1 14:59:56 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 1 15:00:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceb830de
7
8 app-editors/hexcurse: Bump to version 1.60.0
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-editors/hexcurse/Manifest | 1 +
14 .../hexcurse/files/hexcurse-1.60.0-tinfo.patch | 13 +++++++++
15 app-editors/hexcurse/hexcurse-1.60.0.ebuild | 32 ++++++++++++++++++++++
16 app-editors/hexcurse/metadata.xml | 17 +++++++-----
17 4 files changed, 56 insertions(+), 7 deletions(-)
18
19 diff --git a/app-editors/hexcurse/Manifest b/app-editors/hexcurse/Manifest
20 index 69ec25732b1..5ce4605e23e 100644
21 --- a/app-editors/hexcurse/Manifest
22 +++ b/app-editors/hexcurse/Manifest
23 @@ -1 +1,2 @@
24 DIST hexcurse-1.55.tar.gz 113512 SHA256 b8d589f80acfa590fddd60d9482cf6ba38b295bf785ae4e0aff37b5ab436cb16 SHA512 39f9eae0bb891bdfb702fb871b75c53d15acf6e74b3272b616f00303f444bfddced6fbe3041eb3769fa90fbc226dd584f5d84f7427b659e63f3b74511938a4a7 WHIRLPOOL ee8a5ac7db87db654db1486872687bd8c7dcea7b5376704522a16d58cc467a6ec5409dadacd2ddcb36fd30689268dec334f59cd5885a19b78e666a5ffb7befec
25 +DIST hexcurse-1.60.0.tar.gz 171904 SHA256 f6919e4a824ee354f003f0c42e4c4cef98a93aa7e3aa449caedd13f9a2db5530 SHA512 2301f10e9190922fc61cbbe3a834826ebf87bc5ece9191d368181e2336af240e68cbe46e3a60dee3e0e42281b2f05ae4a7060ee1083b37f4906eacc66e58a094 WHIRLPOOL 738961ef81afe56f36b3930e16b52f88fb98c5c8ffd026ec2d2dd155355365ec03996a023139400c0c22ccd902fbd4ab683237efee55198e6223515a405226e0
26
27 diff --git a/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch b/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch
28 new file mode 100644
29 index 00000000000..e5e0fe0ac40
30 --- /dev/null
31 +++ b/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch
32 @@ -0,0 +1,13 @@
33 +--- hexcurse-1.60.0/configure.ac
34 ++++ hexcurse-1.60.0/configure.ac
35 +@@ -15,7 +15,9 @@
36 +
37 + dnl Checks for libraries.
38 + dnl Replace `main' with a function in -lncurses:
39 +-AC_CHECK_LIB(ncurses, initscr,,[AC_CHECK_LIB(curses, initscr,,[AC_MSG_ERROR([ncurses library not found])])])
40 ++AC_CHECK_LIB(ncurses, initscr)
41 ++AC_SEARCH_LIBS(initscr,curses)
42 ++AC_SEARCH_LIBS(LINES,tinfo)
43 +
44 + dnl Checks for header files.
45 + AC_HEADER_STDC
46
47 diff --git a/app-editors/hexcurse/hexcurse-1.60.0.ebuild b/app-editors/hexcurse/hexcurse-1.60.0.ebuild
48 new file mode 100644
49 index 00000000000..568f74ebbb8
50 --- /dev/null
51 +++ b/app-editors/hexcurse/hexcurse-1.60.0.ebuild
52 @@ -0,0 +1,32 @@
53 +# Copyright 1999-2017 Gentoo Foundation
54 +# Distributed under the terms of the GNU General Public License v2
55 +
56 +EAPI=6
57 +inherit autotools
58 +
59 +DESCRIPTION="ncurses based hex editor"
60 +HOMEPAGE="https://github.com/LonnyGomes/hexcurse"
61 +SRC_URI="https://github.com/LonnyGomes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
62 +
63 +LICENSE="GPL-2"
64 +SLOT="0"
65 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
66 +
67 +RDEPEND=">=sys-libs/ncurses-5.2:0="
68 +DEPEND="
69 + ${RDEPEND}
70 +"
71 +
72 +PATCHES=(
73 + "${FILESDIR}/${PN}-1.60.0-tinfo.patch"
74 +)
75 +
76 +src_prepare() {
77 + default
78 + eautoreconf
79 +}
80 +
81 +src_install() {
82 + emake install DESTDIR="${D}"
83 + dodoc AUTHORS ChangeLog NEWS README
84 +}
85
86 diff --git a/app-editors/hexcurse/metadata.xml b/app-editors/hexcurse/metadata.xml
87 index b75e8cfaa4d..05c3859ddba 100644
88 --- a/app-editors/hexcurse/metadata.xml
89 +++ b/app-editors/hexcurse/metadata.xml
90 @@ -1,11 +1,14 @@
91 <?xml version="1.0" encoding="UTF-8"?>
92 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
93 <pkgmetadata>
94 -<maintainer type="project">
95 - <email>base-system@g.o</email>
96 - <name>Gentoo Base System</name>
97 -</maintainer>
98 -<longdescription>
99 -A console-based hex editor for the *NIX platform which uses the ncurses library.
100 -</longdescription>
101 + <maintainer type="project">
102 + <email>base-system@g.o</email>
103 + <name>Gentoo Base System</name>
104 + </maintainer>
105 + <longdescription>
106 + A console-based hex editor for the *NIX platform which uses the ncurses library.
107 + </longdescription>
108 + <upstream>
109 + <remote-id type="github">LonnyGomes/hexcurse</remote-id>
110 + </upstream>
111 </pkgmetadata>