[arch-commits] Commit in ruby-net-ping/repos/community-any (PKGBUILD PKGBUILD)
Thore Bödecker
foxxx0 at archlinux.org
Thu Mar 26 15:37:40 UTC 2020
Date: Thursday, March 26, 2020 @ 15:37:40
Author: foxxx0
Revision: 604480
archrelease: copy trunk to community-any
Added:
ruby-net-ping/repos/community-any/PKGBUILD
(from rev 604479, ruby-net-ping/trunk/PKGBUILD)
Deleted:
ruby-net-ping/repos/community-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-26 15:37:32 UTC (rev 604479)
+++ PKGBUILD 2020-03-26 15:37:40 UTC (rev 604480)
@@ -1,49 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Tim Meusel <tim at bastelfreak.de>
-
-_gemname='net-ping'
-pkgname="ruby-${_gemname}"
-pkgver=2.0.6
-pkgrel=3
-pkgdesc='Provides a ping interface for Ruby. It includes separate TCP, HTTP, LDAP, ICMP, UDP and external ping classes.'
-arch=('any')
-url='https://github.com/chernesk/net-ping'
-license=('Artistic-2.0')
-depends=('ruby')
-makedepends=('ruby-rake' 'ruby-rdoc' 'ruby-rake-compiler' 'ruby-yard' 'ruby-rspec' 'ruby-bundler')
-checkdepends=('ruby-test-unit' 'ruby-fakeweb')
-options=('!emptydirs')
-source=("${url}/archive/${_gemname}-${pkgver}.tar.gz")
-sha512sums=('3f05978e0d22a71a529bc34ad59291134573a1a6ea4a3aa1f4152826a7abfe4834577d5c5e5f133bd507ed8b3aa2b408dbceaa09adb9ed1cfca9c200dadd2c21')
-
-prepare() {
- cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
- :
-}
-
-build() {
- cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
- rake gem:create
-}
-
-check() {
- cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
- # pretty much all tests require elevated capabilities (i.e NET:RAW), skip them
- #rake test
-}
-
-package() {
- cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
- local _gemdir="$(gem env gemdir)"
- 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-net-ping/repos/community-any/PKGBUILD (from rev 604479, ruby-net-ping/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-26 15:37:40 UTC (rev 604480)
@@ -0,0 +1,49 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Tim Meusel <tim at bastelfreak.de>
+
+_gemname='net-ping'
+pkgname="ruby-${_gemname}"
+pkgver=2.0.7
+pkgrel=1
+pkgdesc='Provides a ping interface for Ruby. It includes separate TCP, HTTP, LDAP, ICMP, UDP and external ping classes.'
+arch=('any')
+url='https://github.com/chernesk/net-ping'
+license=('Artistic-2.0')
+depends=('ruby')
+makedepends=('ruby-rake' 'ruby-rdoc' 'ruby-rake-compiler' 'ruby-yard' 'ruby-rspec' 'ruby-bundler')
+checkdepends=('ruby-test-unit' 'ruby-fakeweb')
+options=('!emptydirs')
+source=("${url}/archive/${_gemname}-${pkgver}.tar.gz")
+sha512sums=('ea8f74fb731ec5ce80996645b1225edb22d79da0b878ab593fd7ee10f445b5a224841dfe5412d0894f7ab69a5baee0327fdcaab3c49e435f4714c6d320bfe63d')
+
+prepare() {
+ cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
+ :
+}
+
+build() {
+ cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
+ rake gem:create
+}
+
+check() {
+ cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
+ # pretty much all tests require elevated capabilities (i.e NET:RAW), skip them
+ #rake test
+}
+
+package() {
+ cd "${srcdir}/${_gemname}-${_gemname}-${pkgver}"
+ local _gemdir="$(gem env gemdir)"
+ 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