summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-09-18 12:00:02 +0200
committerJeroen Roovers <jer@gentoo.org>2019-09-18 12:02:35 +0200
commitdf64c57cb14d21d1b8cf4b8e7039b604a18981c7 (patch)
tree84b091893417bd70861e3868011b04d6b59d4022 /sci-calculators
parentdev-ada/gprbuild: use wrapper for gcc and gnatmake (diff)
downloadgentoo-df64c57cb14d21d1b8cf4b8e7039b604a18981c7.tar.gz
gentoo-df64c57cb14d21d1b8cf4b8e7039b604a18981c7.tar.bz2
gentoo-df64c57cb14d21d1b8cf4b8e7039b604a18981c7.zip
sci-calculators/datamash: Version 1.5
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/datamash/Manifest1
-rw-r--r--sci-calculators/datamash/datamash-1.5.ebuild32
-rw-r--r--sci-calculators/datamash/metadata.xml3
3 files changed, 35 insertions, 1 deletions
diff --git a/sci-calculators/datamash/Manifest b/sci-calculators/datamash/Manifest
index fec96d2166e8..d724f7c5881b 100644
--- a/sci-calculators/datamash/Manifest
+++ b/sci-calculators/datamash/Manifest
@@ -1 +1,2 @@
DIST datamash-1.4.tar.gz 2013538 BLAKE2B 7be0d146e24c9d5e4e739e4884dda30c52089410b39b77e80e2265f134aaf3fb4db097b2b138497ed117028191a8a1bd0b82d2754f96bb5473d79b7785e1e1af SHA512 1c47d70c9d7fa5ab2fd2a8cb1d40817ca07e8501628997ae370884fd0a4e926c0718f49f54a5f91eb4db847296bc120db3dd19fc12a92bfe8d2e7d6f2ded5aec
+DIST datamash-1.5.tar.gz 2086985 BLAKE2B 3b377d5886ac7de0066c30ffa7a8923230b928514274be10b213d1a0631709b1c940a4da07709d0cb67a6719f5da9b9f045b8a5bb519370b64a677d20547aa17 SHA512 9f7bff0858a7519ef8efc30ef39c3e99f17e81ed847f1edce6ff28e1191d52fbc173baa5d21d6852effbbf2af800604920d92d412f45519700a9b5809da0e8fa
diff --git a/sci-calculators/datamash/datamash-1.5.ebuild b/sci-calculators/datamash/datamash-1.5.ebuild
new file mode 100644
index 000000000000..db1f765861fa
--- /dev/null
+++ b/sci-calculators/datamash/datamash-1.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="command-line program for basic numeric, textual and statistical operations"
+HOMEPAGE="https://www.gnu.org/software/datamash/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="linux-crypto nls openssl"
+
+CDEPEND="
+ openssl? ( dev-libs/openssl )
+"
+RDEPEND="
+ ${CDEPEND}
+ nls? ( virtual/libintl )
+"
+BDEPEND="
+ ${CDEPEND}
+ nls? ( sys-devel/gettext )
+"
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ $(use_with openssl) \
+ $(use_with linux-crypto)
+}
diff --git a/sci-calculators/datamash/metadata.xml b/sci-calculators/datamash/metadata.xml
index 71dccc38c27d..e792eaf68c54 100644
--- a/sci-calculators/datamash/metadata.xml
+++ b/sci-calculators/datamash/metadata.xml
@@ -5,6 +5,7 @@
<email>jer@gentoo.org</email>
</maintainer>
<use>
-<flag name='openssl'>Use <pkg>dev-libs/openssl</pkg> for cryptographic features</flag>
+<flag name='linux-crypto'>Use Linux kernel cryptographic API</flag>
+<flag name='openssl'>Use <pkg>dev-libs/openssl</pkg> for hash routines instead of internal gnulib</flag>
</use>
</pkgmetadata>