mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-pdf-inspector: Enable tests.
* gnu/packages/ruby.scm (ruby-pdf-inspector)[origin]: Use the git-fetch method. [phases]: Add the 'drop-signing-key-requirement phase and replace the 'check phase to enable tests. [license]: Set to %prawn-project-licenses.
This commit is contained in:
parent
9622928d1e
commit
ed2f26f879
1 changed files with 38 additions and 17 deletions
|
@ -9590,25 +9590,46 @@ access to the contents of a PDF file with a high degree of flexibility.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public ruby-pdf-inspector
|
(define-public ruby-pdf-inspector
|
||||||
(package
|
(let ((revision "1")
|
||||||
(name "ruby-pdf-inspector")
|
(commit "00ee4c92ff917118785ebec188e81effc968abeb"))
|
||||||
(version "1.3.0")
|
(package
|
||||||
(source (origin
|
(name "ruby-pdf-inspector")
|
||||||
(method url-fetch)
|
(version (git-version "1.3.0" revision commit))
|
||||||
(uri (rubygems-uri "pdf-inspector" version))
|
(source (origin
|
||||||
(sha256
|
(method git-fetch)
|
||||||
(base32
|
(uri (git-reference
|
||||||
"1g853az4xzgqxr5xiwhb76g4sqmjg4s79mm35mp676zjsrwpa47w"))))
|
(url "https://github.com/prawnpdf/pdf-inspector.git")
|
||||||
(build-system ruby-build-system)
|
(commit commit)))
|
||||||
(propagated-inputs
|
(file-name (git-file-name name version))
|
||||||
`(("ruby-pdf-reader" ,ruby-pdf-reader)))
|
(sha256
|
||||||
(arguments `(#:tests? #f)); No rakefile
|
(base32
|
||||||
(home-page "https://github.com/prawnpdf/pdf-inspector")
|
"0h9w81ddd0gvkh5n2cvny9ddb5qiac1si0dhinkk0xxh5382qs0m"))))
|
||||||
(synopsis "Analysis classes for inspecting PDF output")
|
(build-system ruby-build-system)
|
||||||
(description "This library provides a number of PDF::Reader based tools for
|
(arguments
|
||||||
|
`(#:test-target "spec"
|
||||||
|
#:phases (modify-phases %standard-phases
|
||||||
|
(add-before 'build 'drop-signing-key-requirement
|
||||||
|
(lambda _
|
||||||
|
(substitute* "pdf-inspector.gemspec"
|
||||||
|
(("spec.signing_key =.*")
|
||||||
|
"spec.signing_key = nil"))
|
||||||
|
#t))
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(substitute* "pdf-inspector.gemspec"
|
||||||
|
((".*rubocop.*") "")
|
||||||
|
((".*yard.*") ""))
|
||||||
|
(invoke "rspec"))))))
|
||||||
|
(native-inputs
|
||||||
|
`(("ruby-rspec" ,ruby-rspec)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("ruby-pdf-reader" ,ruby-pdf-reader)))
|
||||||
|
(home-page "https://github.com/prawnpdf/pdf-inspector")
|
||||||
|
(synopsis "Analysis classes for inspecting PDF output")
|
||||||
|
(description "This library provides a number of PDF::Reader based tools for
|
||||||
use in testing PDF output. Presently, the primary purpose of this tool is to
|
use in testing PDF output. Presently, the primary purpose of this tool is to
|
||||||
support the tests found in Prawn, a pure Ruby PDF generation library.")
|
support the tests found in Prawn, a pure Ruby PDF generation library.")
|
||||||
(license license:gpl3+)))
|
(license %prawn-project-licenses))))
|
||||||
|
|
||||||
(define-public ruby-pdf-core
|
(define-public ruby-pdf-core
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue