[arch-commits] Commit in ruby-sys-proctable/repos/community-any (PKGBUILD PKGBUILD)
Thore Bödecker
foxxx0 at archlinux.org
Wed Mar 18 13:14:43 UTC 2020
Date: Wednesday, March 18, 2020 @ 13:14:43
Author: foxxx0
Revision: 600533
archrelease: copy trunk to community-any
Added:
ruby-sys-proctable/repos/community-any/PKGBUILD
(from rev 600532, ruby-sys-proctable/trunk/PKGBUILD)
Deleted:
ruby-sys-proctable/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-18 13:14:38 UTC (rev 600532)
+++ PKGBUILD 2020-03-18 13:14:43 UTC (rev 600533)
@@ -1,56 +0,0 @@
-# Generated by gem2arch (https://github.com/anatol/gem2arch)
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Christoph Scholz <christoph.scholz at gmail.com>
-
-_gemname='sys-proctable'
-pkgname="ruby-${_gemname}"
-pkgver=1.2.2
-pkgrel=3
-pkgdesc='An interface for providing process table information'
-arch=('any')
-url='https://github.com/djberg96/sys-proctable'
-license=('Apache')
-depends=('ruby' 'ruby-ffi')
-makedepends=('ruby-rake' 'ruby-rdoc' 'ruby-rake-compiler' 'ruby-yard' 'ruby-rspec' 'ruby-bundler')
-checkdepends=('ruby-test-unit')
-options=('!emptydirs')
-source=("${url}/archive/${_gemname}-${pkgver}.tar.gz")
-sha512sums=('c87e5528e41a4ef85d5f406a50aa50216380610f14d2ed4411cbd6e1dedad6ac9da2d653fd82712134a65aea8e7c1a9e82e68efff9484ae2dfd5b5b24047acca')
-
-prepare() {
- cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
-
- # we won't sign our output gemfile (i.e. we won't upload to rubygems)
- sed -i '/spec.signing_key/d' Rakefile
-
- # we're running in a limited chroot and won't reach the default 10 procs for `top` output
- # just disable this test and move on
- sed -i '/described_class.top.size/d' spec/sys_top_spec.rb
-}
-
-build() {
- cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
- rake gem:create
-}
-
-check() {
- cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
- rake spec
-}
-
-package() {
- cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
- local _gemdir="$(gem env gemdir)"
- find . -iname '*.gem'
- gem install \
- --ignore-dependencies \
- --no-user-install \
- -i "${pkgdir}/${_gemdir}" \
- -n "${pkgdir}/usr/bin" \
- "${_gemname}-${pkgver}.gem"
-
- cd "${pkgdir}/${_gemdir}"
- rm -rf cache
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-sys-proctable/repos/community-any/PKGBUILD (from rev 600532, ruby-sys-proctable/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-18 13:14:43 UTC (rev 600533)
@@ -0,0 +1,56 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Christoph Scholz <christoph.scholz at gmail.com>
+
+_gemname='sys-proctable'
+pkgname="ruby-${_gemname}"
+pkgver=1.2.3
+pkgrel=1
+pkgdesc='An interface for providing process table information'
+arch=('any')
+url='https://github.com/djberg96/sys-proctable'
+license=('Apache')
+depends=('ruby' 'ruby-ffi')
+makedepends=('ruby-rake' 'ruby-rdoc' 'ruby-rake-compiler' 'ruby-yard' 'ruby-rspec' 'ruby-bundler')
+checkdepends=('ruby-test-unit')
+options=('!emptydirs')
+source=("${url}/archive/${_gemname}-${pkgver}.tar.gz")
+sha512sums=('3c4a48cca751447bcd70c3c18d679c063823b12c33b0df1ceffd54c498ed283fd97ddf8ada880a7b073112567fea45ea8fb04634363dd7ca624081d8c554c5fe')
+
+prepare() {
+ cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
+
+ # we won't sign our output gemfile (i.e. we won't upload to rubygems)
+ sed -i '/spec.signing_key/d' Rakefile
+
+ # we're running in a limited chroot and won't reach the default 10 procs for `top` output
+ # just disable this test and move on
+ sed -i '/described_class.top.size/d' spec/sys_top_spec.rb
+}
+
+build() {
+ cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
+ rake gem:create
+}
+
+check() {
+ cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
+ rake spec
+}
+
+package() {
+ cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
+ local _gemdir="$(gem env gemdir)"
+ find . -iname '*.gem'
+ gem install \
+ --ignore-dependencies \
+ --no-user-install \
+ -i "${pkgdir}/${_gemdir}" \
+ -n "${pkgdir}/usr/bin" \
+ "${_gemname}-${pkgver}.gem"
+
+ cd "${pkgdir}/${_gemdir}"
+ rm -rf cache
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list