1 |
commit: 9b6673ddd8470562a41d2d86bce8335e005f80e4 |
2 |
Author: Gavin Howard <yzena.tech <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Nov 26 15:00:11 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 28 16:34:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b6673dd |
7 |
|
8 |
sci-calculators/bc-gh: new package |
9 |
|
10 |
An implementation of dc and POSIX bc with GNU extensions meant to be as |
11 |
bug-free and fast as possible. |
12 |
|
13 |
Signed-off-by: Gavin Howard <yzena.tech <AT> gmail.com> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/11716 |
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
sci-calculators/bc-gh/Manifest | 1 + |
18 |
sci-calculators/bc-gh/bc-gh-2.3.2.ebuild | 19 +++++++++++++++++++ |
19 |
sci-calculators/bc-gh/metadata.xml | 26 ++++++++++++++++++++++++++ |
20 |
3 files changed, 46 insertions(+) |
21 |
|
22 |
diff --git a/sci-calculators/bc-gh/Manifest b/sci-calculators/bc-gh/Manifest |
23 |
new file mode 100644 |
24 |
index 00000000000..3930fb1e205 |
25 |
--- /dev/null |
26 |
+++ b/sci-calculators/bc-gh/Manifest |
27 |
@@ -0,0 +1 @@ |
28 |
+DIST bc-2.3.2.tar.xz 160120 BLAKE2B b9919d45cb45b69c7b10022d472c480fd6e93ffdf65eda1a0ee3e3990e2ad79fced74e5b72276559c6265fd43d08af28d5590c0e3a7bb14fd294010b8bc7b772 SHA512 732cf67a27b537406418ddb1a11c1da0fcbda23bdb7beba0e16a57a9d6639cdb7b9b43f5028c8fac45fe253dadfcb80b50d7fef0bbe32a7391cd946ace1408f8 |
29 |
|
30 |
diff --git a/sci-calculators/bc-gh/bc-gh-2.3.2.ebuild b/sci-calculators/bc-gh/bc-gh-2.3.2.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..ff0f2ac0502 |
33 |
--- /dev/null |
34 |
+++ b/sci-calculators/bc-gh/bc-gh-2.3.2.ebuild |
35 |
@@ -0,0 +1,19 @@ |
36 |
+# Copyright 2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+DESCRIPTION="Implementation of POSIX bc with GNU extensions" |
42 |
+HOMEPAGE="https://github.com/gavinhoward/bc" |
43 |
+SRC_URI="https://github.com/gavinhoward/bc/releases/download/${PV}/bc-${PV}.tar.xz" |
44 |
+ |
45 |
+LICENSE="BSD-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="" |
49 |
+ |
50 |
+S="${WORKDIR}/bc-${PV}" |
51 |
+ |
52 |
+src_configure() { |
53 |
+ EXECSUFFIX="-gh" PREFIX="${EPREFIX}/usr" ./configure.sh -GT || die |
54 |
+} |
55 |
|
56 |
diff --git a/sci-calculators/bc-gh/metadata.xml b/sci-calculators/bc-gh/metadata.xml |
57 |
new file mode 100644 |
58 |
index 00000000000..1f88059f1ec |
59 |
--- /dev/null |
60 |
+++ b/sci-calculators/bc-gh/metadata.xml |
61 |
@@ -0,0 +1,26 @@ |
62 |
+<?xml version="1.0" encoding="UTF-8"?> |
63 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
64 |
+<pkgmetadata> |
65 |
+ <maintainer type="person"> |
66 |
+ <name>Gavin D. Howard</name> |
67 |
+ <email>yzena.tech@×××××.com</email> |
68 |
+ </maintainer> |
69 |
+ <maintainer type="project"> |
70 |
+ <email>proxy-maint@g.o</email> |
71 |
+ <name>Proxy Maintainers</name> |
72 |
+ </maintainer> |
73 |
+ <upstream> |
74 |
+ <maintainer> |
75 |
+ <name>Gavin D. Howard</name> |
76 |
+ <email>yzena.tech@×××××.com</email> |
77 |
+ </maintainer> |
78 |
+ <bugs-to>https://github.com/gavinhoward/bc</bugs-to> |
79 |
+ <doc>https://github.com/gavinhoward/bc/tree/master/manuals</doc> |
80 |
+ </upstream> |
81 |
+ <longdescription lang="en"> |
82 |
+ An implementation of POSIX bc and Unix dc with GNU extensions and some of |
83 |
+ their own extensions. It also removes the dangerous '!' dc command. |
84 |
+ This bc/dc is especially useful for programmers, with extra math and a |
85 |
+ larger builtin library with some hardware-oriented print functions. |
86 |
+ </longdescription> |
87 |
+</pkgmetadata> |