summaryrefslogtreecommitdiff
path: root/dev-ruby/openssl-ccm/openssl-ccm-1.3.0.ebuild
blob: d27bedaf9e6eedac2015ef277903629aae148a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

USE_RUBY="ruby32 ruby33 ruby34"

RUBY_FAKEGEM_GEMSPEC="openssl-ccm.gemspec"

inherit ruby-fakegem

DESCRIPTION="OpenSSL CBC-MAC (CCM) ruby gem"
HOMEPAGE="https://github.com/SmallLars/openssl-ccm"
SRC_URI="https://github.com/SmallLars/openssl-ccm/archive/refs/tags/${PV}.tar.gz -> {P}.tar.gz"

LICENSE="BSD"
SLOT="${PV}"
KEYWORDS="~amd64 ~arm ~x86"

all_ruby_prepare() {
	sed -i -e '/bundler/ s:^:#:' Rakefile || die
	sed -i -e '/coverall/I s:^:#:' test/test_ccm.rb || die
}