[packages/ruby-pry] Up to 0.16.0

arekm arekm at pld-linux.org
Sat Mar 28 01:17:41 CET 2026


commit cc959be42041d6b7865d325e4e0573b2daf43b72
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Mar 28 01:17:29 2026 +0100

    Up to 0.16.0

 ruby-pry-shebang.patch |  8 ++++++++
 ruby-pry.spec          | 47 +++++++++++++++++------------------------------
 2 files changed, 25 insertions(+), 30 deletions(-)
---
diff --git a/ruby-pry.spec b/ruby-pry.spec
index d7ec405..41583c2 100644
--- a/ruby-pry.spec
+++ b/ruby-pry.spec
@@ -5,41 +5,30 @@
 %define	pkgname	pry
 Summary:	An IRB alternative and runtime developer console
 Name:		ruby-%{pkgname}
-Version:	0.9.12.2
-Release:	2
+Version:	0.16.0
+Release:	1
 License:	MIT
 Group:		Development/Languages
 Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
-# Source0-md5:	c5d654869df4ba75715a399935fc8114
-URL:		http://pry.github.com/
+# Source0-md5:	837db6bb81159ea3209e2f8dc26eced5
+Patch0:		ruby-pry-shebang.patch
+URL:		http://pry.github.io
 BuildRequires:	rpm-rubyprov
 BuildRequires:	rpmbuild(macros) >= 1.656
-BuildRequires:	sed >= 4.0
 %if %{with tests}
-BuildRequires:	ruby-bacon < 2
-BuildRequires:	ruby-bacon >= 1.2
-BuildRequires:	ruby-bond < 0.5
-BuildRequires:	ruby-bond >= 0.4.2
-BuildRequires:	ruby-guard < 1.4
-BuildRequires:	ruby-guard >= 1.3.2
-BuildRequires:	ruby-mocha < 0.14
-BuildRequires:	ruby-mocha >= 0.13.1
-BuildRequires:	ruby-open4 < 2
-BuildRequires:	ruby-open4 >= 1.3
-BuildRequires:	ruby-rake < 1
-BuildRequires:	ruby-rake >= 0.9
+BuildRequires:	ruby-coderay >= 1.1
+BuildRequires:	ruby-method_source >= 1.0
+BuildRequires:	ruby-reline >= 0.6.0
+BuildRequires:	ruby-rspec
 %endif
-Requires:	ruby-coderay < 1.1
-Requires:	ruby-coderay >= 1.0.5
-Requires:	ruby-method_source < 1
-Requires:	ruby-method_source >= 0.8
-Requires:	ruby-slop < 4
-Requires:	ruby-slop >= 3.4
+Requires:	ruby-coderay >= 1.1
+Requires:	ruby-method_source >= 1.0
+Requires:	ruby-reline >= 0.6.0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-An IRB alternative and runtime developer console
+An IRB alternative and runtime developer console.
 
 %package doc
 Summary:	Documentation for %{name}
@@ -51,22 +40,21 @@ Documentation for %{name}.
 
 %prep
 %setup -q -n %{pkgname}-%{version}
-%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+%patch -P0 -p1
 
 %build
 # write .gemspec
 %__gem_helper spec
 
 %if %{with tests}
-bacon -Ispec -q spec/*_spec.rb
+%{__ruby} -S rspec spec
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir},%{_bindir},%{_mandir}/man1}
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir},%{_bindir}}
 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
 cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
-cp -a man/pry.1 $RPM_BUILD_ROOT%{_mandir}/man1
 cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
 
 %clean
@@ -74,9 +62,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.markdown LICENSE CHANGELOG CONTRIBUTORS
+%doc README.md LICENSE CHANGELOG.md
 %attr(755,root,root) %{_bindir}/pry
-%{_mandir}/man1/pry.1*
 %{ruby_vendorlibdir}/pry.rb
 %{ruby_vendorlibdir}/pry
 %{ruby_specdir}/pry-%{version}.gemspec
diff --git a/ruby-pry-shebang.patch b/ruby-pry-shebang.patch
new file mode 100644
index 0000000..d3d0dc1
--- /dev/null
+++ b/ruby-pry-shebang.patch
@@ -0,0 +1,8 @@
+--- pry-0.16.0/bin/pry.orig	2026-03-27 00:00:00.000000000 +0000
++++ pry-0.16.0/bin/pry	2026-03-27 00:00:00.000000000 +0000
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env ruby
++#!/usr/bin/ruby
+ # frozen_string_literal: true
+
+ # (C) John Mair (banisterfiend)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-pry.git/commitdiff/cc959be42041d6b7865d325e4e0573b2daf43b72



More information about the pld-cvs-commit mailing list