fpm 1.10.0 → 1.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rst +6 -0
- data/lib/fpm/package/cpan.rb +5 -5
- data/lib/fpm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 628976fa0ada7a760e93bb6caa541529fe23221c
|
4
|
+
data.tar.gz: 3612ee1afeddbc8a971afb25b8da61f20c311e69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c068d932e567f422e367fd0e7e6d508a9d2d4eaf71d6a7d44c0b4dad1b722932a7d4645193f5bcf2d737f48a0aa91ba419afc7a2fde4aa3522d927c274dfa90
|
7
|
+
data.tar.gz: 2835d7a4611aabd05a9db4cb416e70d9238583ecc8c6e00155fc01ed9f1532d779e1f2d0b13ec6aef59f1cdc0db2e8c05c4ba3c570ae3baf7aa27475c61e3dae
|
data/CHANGELOG.rst
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
Release Notes and Change Log
|
2
2
|
============================
|
3
3
|
|
4
|
+
1.10.1 (July 3, 2018)
|
5
|
+
^^^^^^^^^^^^^^^^^^^^^
|
6
|
+
|
7
|
+
* cpan: Fixes some package building by setting PERL5LIB correctly (`#1509`_, `#1511`_; William N. Braswell, Jr)
|
8
|
+
* cpan: Adds `--[no-]cpan-verbose` flag which, when set, runs `cpanm` with the `--verbose` flag (`#1511`_; William N. Braswell, Jr)
|
9
|
+
|
4
10
|
1.10.0 (May 21, 2018)
|
5
11
|
^^^^^^^^^^^^^^^^^^^^
|
6
12
|
|
data/lib/fpm/package/cpan.rb
CHANGED
@@ -25,6 +25,9 @@ class FPM::Package::CPAN < FPM::Package
|
|
25
25
|
option "--test", :flag,
|
26
26
|
"Run the tests before packaging?", :default => true
|
27
27
|
|
28
|
+
option "--verbose", :flag,
|
29
|
+
"Produce verbose output from cpanm?", :default => false
|
30
|
+
|
28
31
|
option "--perl-lib-path", "PERL_LIB_PATH",
|
29
32
|
"Path of target Perl Libraries"
|
30
33
|
|
@@ -137,6 +140,7 @@ class FPM::Package::CPAN < FPM::Package
|
|
137
140
|
cpanm_flags += ["--mirror", "#{attributes[:cpan_mirror]}"] if !attributes[:cpan_mirror].nil?
|
138
141
|
cpanm_flags += ["--mirror-only"] if attributes[:cpan_mirror_only?] && !attributes[:cpan_mirror].nil?
|
139
142
|
cpanm_flags += ["--force"] if attributes[:cpan_cpanm_force?]
|
143
|
+
cpanm_flags += ["--verbose"] if attributes[:cpan_verbose?]
|
140
144
|
|
141
145
|
safesystem(attributes[:cpan_cpanm_bin], *cpanm_flags)
|
142
146
|
|
@@ -241,11 +245,7 @@ class FPM::Package::CPAN < FPM::Package
|
|
241
245
|
# Empty install_base to avoid local::lib being used.
|
242
246
|
"INSTALL_BASE=")
|
243
247
|
end
|
244
|
-
|
245
|
-
make = [ "env", "PERL5LIB=#{build_path("cpan/lib/perl5")}", "make" ]
|
246
|
-
else
|
247
|
-
make = [ "make" ]
|
248
|
-
end
|
248
|
+
make = [ "env", "PERL5LIB=#{build_path("cpan/lib/perl5")}", "make" ]
|
249
249
|
safesystem(*make)
|
250
250
|
safesystem(*(make + ["test"])) if attributes[:cpan_test?]
|
251
251
|
safesystem(*(make + ["DESTDIR=#{staging_path}", "install"]))
|
data/lib/fpm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan Sissel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|