File: 010_disable_ext

package info (click to toggle)
racc 1.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,012 kB
  • sloc: yacc: 22,764; ruby: 4,515; java: 698; ansic: 680; makefile: 14
file content (29 lines) | stat: -rw-r--r-- 814 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Date: Tue, 28 Jan 2025 06:29:39 -0300
Subject: _disable_ext

Forwarded: not-needed
---
 racc.gemspec | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/racc.gemspec b/racc.gemspec
index c25c0c2..a38ae18 100644
--- a/racc.gemspec
+++ b/racc.gemspec
@@ -45,15 +45,4 @@ DESC
   s.rdoc_options = ["--main", "README.rdoc"]
   s.extra_rdoc_files = ["README.ja.rdoc", "README.rdoc"]
   s.metadata["changelog_uri"] = "https://github.com/ruby/racc/releases"
-
-  if RUBY_PLATFORM =~ /java/
-    s.files << 'lib/java/racc/cparse-jruby.jar'
-    s.platform = 'java'
-  else
-    s.extensions = ["ext/racc/cparse/extconf.rb"]
-    s.files.concat(%w[
-      ext/racc/cparse/cparse.c
-      ext/racc/cparse/extconf.rb
-    ])
-  end
 end