Commit a1ffd2b root
committed
1 parent fc8a853 commit a1ffd2b Copy full SHA for a1ffd2b
File tree 2 files changed +33
-0
lines changed
2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ diff --git a/pycall.rb/spec/pycall_spec.rb b/pycall.rb/spec/pycall_spec.rb
2
+ index 536438b..3089cdd 100644
3
+ --- a/pycall.rb/spec/pycall_spec.rb
4
+ +++ b/pycall.rb/spec/pycall_spec.rb
5
+ @@ -152,7 +152,7 @@ require 'pycall'
6
+ puts(PyCall.init ? 'true' : 'false')
7
+ RUBY
8
+ expect(status).to be_success
9
+ - expect(out.chomp).to eq('true')
10
+ + expect(out.lines.last.chomp).to eq('true')
11
+ end
12
+
13
+ it 'returns false if already initialized' do
Original file line number Diff line number Diff line change
1
+ diff --git PKGBUILD PKGBUILD
2
+ index 001dd0c..50fa715 100644
3
+ --- PKGBUILD
4
+ +++ PKGBUILD
5
+ @@ -27,10 +27,13 @@ checkdepends=(
6
+ ruby-test-unit
7
+ )
8
+ options=(!emptydirs)
9
+ - source=("git+${url}.git#tag=v${pkgver}")
10
+ - sha512sums=('SKIP')
11
+ + source=("git+${url}.git#tag=v${pkgver}"
12
+ + init-return-test.patch)
13
+ + sha512sums=('SKIP'
14
+ + '4abb802b714e7279381a554e94ad484d6d51319754f64fbc3518e8d75c3838813b543c838df6734ef4ff0ececf6396c5791003bd04c98665b261ff5624d2d21e')
15
+
16
+ prepare() {
17
+ + patch -Np1 -i ./init-return-test.patch
18
+ cd pycall.rb
19
+ sed -r -e '/rake-compiler-dock/d' -e '/launchy/d' -i pycall.gemspec
20
+ }
You can’t perform that action at this time.
0 commit comments