# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

USE_RUBY="ruby32 ruby33"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"

inherit ruby-fakegem

DESCRIPTION="Pure ruby PNG file manipulation & validation"
HOMEPAGE="https://github.com/zed-0xff/zpng"
SRC_URI="https://github.com/zed-0xff/zpng/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"

ruby_add_rdepend "dev-ruby/rainbow"
ruby_add_bdepend "dev-ruby/bundler"
