dev-ruby/openssl-cmac: new package, add 2.0.2

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2023-03-12 08:47:51 +01:00
parent 9b019ee14a
commit 3547114781
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST openssl-cmac-2.0.2.gem 9728 BLAKE2B 0113459326d6d42f256848cee682607a3d7a03778bd6963eaf86519d263c8295726acd462600bf047cca0c92704c8dfa6e0edd34b93dcb1673c232bb73c9331f SHA512 dbe4083ee3e1f2d1254a035d7d6c46a927e4dcde69d466ae9af5fa53ded89519f58c30095019fc5fa258f0c14493870e05c2b32cfba0921c451c6709710be3b4

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ruby@gentoo.org</email>
<name>Gentoo Ruby Project</name>
</maintainer>
<upstream>
<remote-id type="github">SmallLars/openssl-cmac</remote-id>
<remote-id type="rubygems">openssl-cmac</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,20 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby27 ruby30 ruby31 ruby32"
inherit ruby-fakegem
DESCRIPTION="Gem for RFC 4493, 4494, 4615 - The AES-CMAC Algorithm"
HOMEPAGE="https://github.com/SmallLars/openssl-cmac"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64"
IUSE=""
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die
sed -i -e '/coverall/I s:^:#:' test/test_cmac.rb || die
}