[arch-commits] Commit in ruby-ronn-ng/repos (3 files)

Anatol Pomozov anatolik at archlinux.org
Tue Jan 19 18:08:35 UTC 2021


    Date: Tuesday, January 19, 2021 @ 18:08:34
  Author: anatolik
Revision: 823791

archrelease: copy trunk to community-any

Added:
  ruby-ronn-ng/repos/community-any/
  ruby-ronn-ng/repos/community-any/0001-allow-mustache-1.0.patch
    (from rev 823790, ruby-ronn-ng/trunk/0001-allow-mustache-1.0.patch)
  ruby-ronn-ng/repos/community-any/PKGBUILD
    (from rev 823790, ruby-ronn-ng/trunk/PKGBUILD)

-------------------------------+
 0001-allow-mustache-1.0.patch |   21 +++++++++++++++++++++
 PKGBUILD                      |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

Copied: ruby-ronn-ng/repos/community-any/0001-allow-mustache-1.0.patch (from rev 823790, ruby-ronn-ng/trunk/0001-allow-mustache-1.0.patch)
===================================================================
--- community-any/0001-allow-mustache-1.0.patch	                        (rev 0)
+++ community-any/0001-allow-mustache-1.0.patch	2021-01-19 18:08:34 UTC (rev 823791)
@@ -0,0 +1,21 @@
+--- ronn-ng-0.9.1.gemspec	2020-07-01 14:00:43.366500117 +0700
++++ ronn-ng-0.9.1.gemspec	2020-07-01 14:01:16.024325361 +0700
+@@ -29,7 +29,7 @@
+ 
+   if s.respond_to? :add_runtime_dependency then
+     s.add_runtime_dependency(%q<kramdown>.freeze, ["~> 2.1"])
+-    s.add_runtime_dependency(%q<mustache>.freeze, ["~> 0.7", ">= 0.7.0"])
++    s.add_runtime_dependency(%q<mustache>.freeze, ["~> 1.0"])
+     s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.9", ">= 1.9.0"])
+     s.add_development_dependency(%q<rack>.freeze, ["~> 2.0", ">= 2.0.6"])
+     s.add_development_dependency(%q<rake>.freeze, ["~> 12.3", ">= 12.3.0"])
+@@ -38,7 +38,7 @@
+     s.add_development_dependency(%q<test-unit>.freeze, ["~> 3.2", ">= 3.2.7"])
+   else
+     s.add_dependency(%q<kramdown>.freeze, ["~> 2.1"])
+-    s.add_dependency(%q<mustache>.freeze, ["~> 0.7", ">= 0.7.0"])
++    s.add_dependency(%q<mustache>.freeze, ["~> 1.0"])
+     s.add_dependency(%q<nokogiri>.freeze, ["~> 1.9", ">= 1.9.0"])
+     s.add_dependency(%q<rack>.freeze, ["~> 2.0", ">= 2.0.6"])
+     s.add_dependency(%q<rake>.freeze, ["~> 12.3", ">= 12.3.0"])
+

Copied: ruby-ronn-ng/repos/community-any/PKGBUILD (from rev 823790, ruby-ronn-ng/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-01-19 18:08:34 UTC (rev 823791)
@@ -0,0 +1,33 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
+
+_gemname=ronn-ng
+pkgname=ruby-$_gemname
+pkgver=0.9.1
+pkgrel=1
+pkgdesc='Manual page formatter that generates man pages from markdown'
+arch=(any)
+url='https://github.com/apjanke/ronn-ng'
+license=(MIT)
+depends=(ruby ruby-hpricot ruby-rdiscount ruby-mustache ruby-kramdown ruby-nokogiri)
+makedepends=('ruby-rdoc')
+conflicts=('ruby-ronn')
+provides=('ruby-ronn')
+options=(!emptydirs)
+source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem"
+        '0001-allow-mustache-1.0.patch')
+noextract=($_gemname-$pkgver.gem)
+sha256sums=('d04d8fe205e018dea9bb97e3bcf60d9853a326f90714ee5082752976ca739dea'
+            '9151397a0dc51392065de74bd52ab8e76e3ea5e3e810d0e557f2a67734633ea5')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+  patch -d "$pkgdir/$_gemdir/specifications" -i "$srcdir/0001-allow-mustache-1.0.patch"
+  rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+  install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+
+  install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/man/ronn.1" "$pkgdir/usr/share/man/man1/ronn.1"
+  install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/man/ronn-format.7" "$pkgdir/usr/share/man/man7/ronn-format.7"
+}



More information about the arch-commits mailing list