From 596f2d01dcf7618022a0027223a3e314051ba2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rousset?= Date: Fri, 14 Apr 2023 20:19:01 +0200 Subject: [PATCH] dev-java/hashcash: new package, add 1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Valérian Rousset Signed-off-by: Sam James --- dev-java/hashcash/Manifest | 1 + dev-java/hashcash/hashcash-1.1.ebuild | 23 +++++++++++++++++++++++ dev-java/hashcash/metadata.xml | 8 ++++++++ licenses/GregoryRubin | 2 ++ 4 files changed, 34 insertions(+) create mode 100644 dev-java/hashcash/Manifest create mode 100644 dev-java/hashcash/hashcash-1.1.ebuild create mode 100644 dev-java/hashcash/metadata.xml create mode 100644 licenses/GregoryRubin diff --git a/dev-java/hashcash/Manifest b/dev-java/hashcash/Manifest new file mode 100644 index 0000000000000..073e15819b7f4 --- /dev/null +++ b/dev-java/hashcash/Manifest @@ -0,0 +1 @@ +DIST HashCash.java 16678 BLAKE2B 1909addd4b698243a0008712a146aea28205af5ce35049836ff67fc6026235416f0092f9f702a75ade65a9d8c491a4afe136c995bee913cba28d93beabce2f34 SHA512 a3cc8535cb99f100139b5cae7bb3668cda726f60eea8de83b5e272982dacc4783f65fd462b388029e21ebf9d9a157c9b06784fb90f921955d4022b1f341eb103 diff --git a/dev-java/hashcash/hashcash-1.1.ebuild b/dev-java/hashcash/hashcash-1.1.ebuild new file mode 100644 index 0000000000000..155c3025dd1fe --- /dev/null +++ b/dev-java/hashcash/hashcash-1.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Generation and parsing of Hashcash" +HOMEPAGE="https://www.nettgryppa.com/code" +SRC_URI="https://www.nettgryppa.com/code/HashCash.java" + +LICENSE="GregoryRubin" +SLOT="1" +KEYWORDS="~amd64 ~x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +src_unpack() { + cp "${DISTDIR}/${A}" "${S}" || die 'copy source file' +} diff --git a/dev-java/hashcash/metadata.xml b/dev-java/hashcash/metadata.xml new file mode 100644 index 0000000000000..4221e170cbc00 --- /dev/null +++ b/dev-java/hashcash/metadata.xml @@ -0,0 +1,8 @@ + + + + + java@gentoo.org + Java + + diff --git a/licenses/GregoryRubin b/licenses/GregoryRubin new file mode 100644 index 0000000000000..1143d2f354f0d --- /dev/null +++ b/licenses/GregoryRubin @@ -0,0 +1,2 @@ +Copyright 2006 Gregory Rubin grrubin@gmail.com +Permission is given to use, modify, and or distribute this code so long as this message remains attached