Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/yash/
Date: Sun, 27 May 2018 01:50:48
Message-Id: 1527385002.6cd2f0d1226317b5ab54a0c7f9e1829c2f84c592.hattya@gentoo
1 commit: 6cd2f0d1226317b5ab54a0c7f9e1829c2f84c592
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 27 01:36:42 2018 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sun May 27 01:36:42 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cd2f0d1
7
8 app-shells/yash: initial import
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 app-shells/yash/Manifest | 1 +
13 app-shells/yash/metadata.xml | 26 ++++++++++++++++++++++++++
14 app-shells/yash/yash-2.47.ebuild | 33 +++++++++++++++++++++++++++++++++
15 3 files changed, 60 insertions(+)
16
17 diff --git a/app-shells/yash/Manifest b/app-shells/yash/Manifest
18 new file mode 100644
19 index 00000000000..44c70eccdb1
20 --- /dev/null
21 +++ b/app-shells/yash/Manifest
22 @@ -0,0 +1 @@
23 +DIST yash-2.47.tar.gz 1161675 BLAKE2B 8491d5f977b9e23071098016443e8384bc584b8b1160e84b725a2965d032d8b8f5a7ac8b16b1a1e62d808b0543650e0bc42ddc52806c5475a7ca9e26640e84aa SHA512 c9607990a1cf947f9cf294f818d9c6de314dca92a9f106dc65e8d0fdeb6ac91b21a394c711c4b8aabae33b60fc70b72dc9483b6ac48d4e3be3019501ebc26332
24
25 diff --git a/app-shells/yash/metadata.xml b/app-shells/yash/metadata.xml
26 new file mode 100644
27 index 00000000000..106f4c845b2
28 --- /dev/null
29 +++ b/app-shells/yash/metadata.xml
30 @@ -0,0 +1,26 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>hattya@g.o</email>
36 + </maintainer>
37 + <longdescription lang="en">
38 + Yash, yet another shell, is a POSIX-compliant command line shell
39 + written in C99 (ISO/IEC 9899:1999). Yash is intended to be the most
40 + POSIX-compliant shell in the world while supporting features for daily
41 + interactive and scripting use. Notable features are:
42 +
43 + * Global aliases
44 + * Arrays
45 + * Socket redirection, pipeline redirection, and process redirection
46 + * Brace expansion and extended globbing
47 + * Fractional numbers in arithmetic expansion
48 + * Prompt command and command-not-found handler
49 + * Command line completion with predefined completion scripts for more than 100 commands
50 + * Command line prediction based on command history
51 + </longdescription>
52 + <upstream>
53 + <remote-id type="github">magicant/yash</remote-id>
54 + <remote-id type="sourceforge-jp">yash</remote-id>
55 + </upstream>
56 +</pkgmetadata>
57
58 diff --git a/app-shells/yash/yash-2.47.ebuild b/app-shells/yash/yash-2.47.ebuild
59 new file mode 100644
60 index 00000000000..475398b4442
61 --- /dev/null
62 +++ b/app-shells/yash/yash-2.47.ebuild
63 @@ -0,0 +1,33 @@
64 +# Copyright 1999-2018 Gentoo Foundation
65 +# Distributed under the terms of the GNU General Public License v2
66 +
67 +EAPI="6"
68 +PLOCALES="en ja"
69 +
70 +inherit flag-o-matic l10n toolchain-funcs
71 +
72 +DESCRIPTION="Yash is a POSIX-compliant command line shell"
73 +HOMEPAGE="https://yash.osnd.jp/"
74 +SRC_URI="mirror://sourceforge.jp/${PN}/69353/${P}.tar.gz"
75 +
76 +LICENSE="GPL-2+"
77 +SLOT="0"
78 +KEYWORDS="~amd64 ~x86"
79 +IUSE="nls test"
80 +
81 +RDEPEND="sys-libs/ncurses:=
82 + nls? ( virtual/libintl )"
83 +DEPEND="${RDEPEND}
84 + nls? ( sys-devel/gettext )
85 + test? ( sys-apps/ed )"
86 +
87 +src_configure() {
88 + append-cflags -std=c99
89 +
90 + sh ./configure \
91 + --prefix="${EPREFIX}"/usr \
92 + $(use_enable nls) \
93 + CC=$(tc-getCC) \
94 + LINGUAS="$(l10n_get_locales | sed "s/en/en@quot en@boldquot/")" \
95 + || die
96 +}