diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
| commit | 290aebdea65a02557706eaeda477fef0437b6a48 (patch) | |
| tree | f87a939169a508a2e943570501b64cc16b411cda /dev-ruby/chunky_png | |
| parent | 6783ddcd4b73d9ce586a71770caed352bec93b16 (diff) | |
| download | baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/chunky_png')
| -rw-r--r-- | dev-ruby/chunky_png/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/chunky_png/chunky_png-1.4.0-r1.ebuild | 38 | ||||
| -rw-r--r-- | dev-ruby/chunky_png/files/chunky_png-1.4.0-ruby32.patch | 29 | ||||
| -rw-r--r-- | dev-ruby/chunky_png/metadata.xml | 9 |
4 files changed, 0 insertions, 77 deletions
diff --git a/dev-ruby/chunky_png/Manifest b/dev-ruby/chunky_png/Manifest deleted file mode 100644 index 5c6a46ef8233..000000000000 --- a/dev-ruby/chunky_png/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST chunky_png-1.4.0.gem 363008 BLAKE2B 3fc484985565f223127c43eb1d55137ee9b58fc5ab6f25256dd54efddb817a5ecf78b39754a042fd09b83493cbdfdf02d0b90d150ab90b084f01c9a98aba5a8e SHA512 1276ba527723af973ca00535baab0dd3be8185cfaa77efb28c3b1ef1e949312710a616ca55711923875e54cb9c92b38de71062d2ba68b2314c7b9ce7a9b50b11 diff --git a/dev-ruby/chunky_png/chunky_png-1.4.0-r1.ebuild b/dev-ruby/chunky_png/chunky_png-1.4.0-r1.ebuild deleted file mode 100644 index 7d78c4035e13..000000000000 --- a/dev-ruby/chunky_png/chunky_png-1.4.0-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby32 ruby33 ruby34 ruby40" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_DOCDIR="" - -RUBY_FAKEGEM_EXTRADOC="BENCHMARKING.rdoc CHANGELOG.rdoc README.md" - -RUBY_FAKEGEM_BINWRAP="" - -RUBY_FAKEGEM_GEMSPEC="chunky_png.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Pure Ruby library that can read and write PNG images" -HOMEPAGE="https://github.com/wvanbergen/chunky_png" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -PATCHES=( - "${FILESDIR}/${P}-ruby32.patch" -) - -all_ruby_prepare() { - sed -i -e '/[bB]undler/s:^:#:' {spec,benchmarks}/*.rb || die - rm Gemfile* || die - - # Avoid git dependency - sed -i -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die -} diff --git a/dev-ruby/chunky_png/files/chunky_png-1.4.0-ruby32.patch b/dev-ruby/chunky_png/files/chunky_png-1.4.0-ruby32.patch deleted file mode 100644 index 75d08c9fc88d..000000000000 --- a/dev-ruby/chunky_png/files/chunky_png-1.4.0-ruby32.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 8e6f5934541833f15664398f90331f3724e40933 Mon Sep 17 00:00:00 2001 -From: Mamoru TASAKA <mtasaka@fedoraproject.org> -Date: Tue, 15 Nov 2022 23:22:20 +0900 -Subject: [PATCH] ruby3_2 fix: check if object responds to regex_match op - -Object#=~ is already deprecated since ruby2.6 and will be -removed from ruby3.2. As the result, Array no longer -respond to =~ from ruby3.2, for example. - -Check if the target object really respond to =~ . - -Closes #168 ---- - lib/chunky_png/vector.rb | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/chunky_png/vector.rb b/lib/chunky_png/vector.rb -index 4ef965f..034104c 100644 ---- a/lib/chunky_png/vector.rb -+++ b/lib/chunky_png/vector.rb -@@ -166,7 +166,7 @@ def dimension - # @return [Array<ChunkyPNG::Point>] The list of points interpreted from the input array. - def self.multiple_from_array(source) - return [] if source.empty? -- if source.first.is_a?(Numeric) || source.first =~ /^\d+$/ -+ if source.first.is_a?(Numeric) || ( source.first.respond_to?(:=~) && source.first =~ /^\d+$/ ) - raise ArgumentError, "The points array is expected to have an even number of items!" if source.length % 2 != 0 - - points = [] diff --git a/dev-ruby/chunky_png/metadata.xml b/dev-ruby/chunky_png/metadata.xml deleted file mode 100644 index c685ebad7e3a..000000000000 --- a/dev-ruby/chunky_png/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> - </maintainer> - <origin>baldeagleos-repo</origin> -</pkgmetadata> |
