[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/17: gnu: Add ruby-prawn-dev.
From: |
guix-commits |
Subject: |
03/17: gnu: Add ruby-prawn-dev. |
Date: |
Sun, 8 Jan 2023 01:46:25 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit ad6350ab8bb67fe0c2c815113f92a36945acdd11
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 6 00:11:29 2023 -0500
gnu: Add ruby-prawn-dev.
* gnu/packages/ruby.scm (ruby-prawn-dev): New variable.
---
gnu/packages/ruby.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d6c5e91ab1..5a70c65118 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -10886,6 +10886,42 @@ support the tests found in Prawn, a pure Ruby PDF
generation library.")
functionality from Prawn.")
(license license:gpl3+)))
+(define-public ruby-prawn-dev
+ (package
+ (name "ruby-prawn-dev")
+ (version "0.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "prawn-dev" version))
+ (sha256
+ (base32
+ "1hbzzgm0nwc6h8pyv8h9xx068bf676rispxcz4a0sm8nykz54z4x"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list
+ #:tests? #f ;no test suite
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'extract-gemspec 'drop-rubocop-dependency
+ ;; Rubocop depends on Prawn. Remove it to avoid the
+ ;; dependency cycle when using this tool to build
+ ;; Prawn components.
+ (lambda _
+ (substitute* "lib/prawn/dev/tasks.rb"
+ (("require 'rubocop/rake_task'")
+ "")
+ (("RuboCop::RakeTask.new")
+ ""))
+ (substitute* ".gemspec"
+ ((".*add.*dependency.*(rubocop|simplecov).*")
+ "")))))))
+ (propagated-inputs (list ruby-rake ruby-rspec ruby-yard))
+ (synopsis "Shared tools for Prawn projects development")
+ (description "Prawn-dev contains tools to aid the development of the
+various Prawn projects.")
+ (home-page "https://prawnpdf.org/")
+ (license license:expat)))
+
(define-public ruby-prawn
;; There hasn't been a new release since 2017/03/17.
(let ((revision "1")
- branch master updated (db3fdbbdfe -> 17a672524e), guix-commits, 2023/01/08
- 02/17: gnu: ruby-open-uri-cached: Update to 1.0.0., guix-commits, 2023/01/08
- 04/17: gnu: ruby-ttfunk: Update to 1.7.0., guix-commits, 2023/01/08
- 06/17: gnu: ruby-pdf-core: Update to 0.9.0., guix-commits, 2023/01/08
- 07/17: gnu: ruby-prawn: Update to 2.4.0., guix-commits, 2023/01/08
- 08/17: gnu: ruby-asciidoctor-pdf: Update to 2.3.4., guix-commits, 2023/01/08
- 13/17: gnu: ruby-nokogiri: Make it reproducible., guix-commits, 2023/01/08
- 03/17: gnu: Add ruby-prawn-dev.,
guix-commits <=
- 05/17: gnu: Add ruby-matrix., guix-commits, 2023/01/08
- 01/17: gnu: ruby-asciidoctor-multipage: Update to 0.0.16., guix-commits, 2023/01/08
- 09/17: gnu: ruby-prawn-icon: Update to 3.1.0., guix-commits, 2023/01/08
- 10/17: gnu: ruby-prawn-svg: Update to 0.32.0., guix-commits, 2023/01/08
- 11/17: gnu: ruby-ruby-prof: Update to 1.4.5., guix-commits, 2023/01/08
- 15/17: gnu: ruby-html-proofer: Update to 5.0.3., guix-commits, 2023/01/08
- 17/17: gnu: castget: Update to 2.0.0-0.da9727d., guix-commits, 2023/01/08
- 16/17: gnu: ruby-sanitize: Update to 6.0.0., guix-commits, 2023/01/08
- 12/17: gnu: ruby-nokogiri: Update to 1.13.10., guix-commits, 2023/01/08
- 14/17: gnu: ruby-nokogumbo: Deprecate in favor of ruby-nokogiri., guix-commits, 2023/01/08