[arch-commits] Commit in ruby-zeitwerk/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Nov 9 15:50:12 UTC 2020


    Date: Monday, November 9, 2020 @ 15:50:12
  Author: dvzrv
Revision: 747182

archrelease: copy trunk to community-any

Added:
  ruby-zeitwerk/repos/community-any/PKGBUILD
    (from rev 747181, ruby-zeitwerk/trunk/PKGBUILD)
Deleted:
  ruby-zeitwerk/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-09 15:50:10 UTC (rev 747181)
+++ PKGBUILD	2020-11-09 15:50:12 UTC (rev 747182)
@@ -1,51 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=zeitwerk
-pkgname=ruby-zeitwerk
-pkgver=2.4.0
-pkgrel=1
-pkgdesc='Efficient and thread-safe code loader for Ruby'
-arch=('any')
-url="https://github.com/fxn/zeitwerk"
-license=('MIT')
-depends=('ruby')
-makedepends=('ruby-rake' 'ruby-rdoc')
-# TODO: package ruby-minitest-focus
-# TODO: package ruby-minitest-reporters
-# checkdepends=('ruby-minitest' 'ruby-minitest-focus' 'ruby-minitest-reporters')
-options=(!emptydirs)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/fxn/${_name}/archive/v${pkgver}.tar.gz")
-sha512sums=('2538cda71d5e1d381d8d455eba5e6fa115096ec36765d5ad11ee9f33d34d0d08ab594e6788f92053f76d239ec9b52027cb97c07e19d96852f4dc8767dc8e3057')
-b2sums=('60b03153fc90b371d4b1ef59c7f61dd2f577a39ddcf946d8b1a52a2b982164260bc1fe86f79cb9c7937151e93d38a4dfbad7876d384d88b7f43161e1fd66c4e5')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  # we don't do version pinning
-  sed -r 's|~>|>=|g' -i *.gemspec Gemfile Rakefile
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  gem build "${_name}.gemspec"
-}
-
-# check() {
-#   cd "$pkgname-$pkgver"
-#   rake test
-# }
-
-package() {
-  cd "$pkgname-$pkgver"
-  local _gemdir="$(gem env gemdir)"
-  gem install --ignore-dependencies \
-              --no-user-install \
-              -i "${pkgdir}/${_gemdir}" \
-              -n "${pkgdir}/usr/bin" \
-              ${_name}-${pkgver}.gem
-  install -vDm 644 MIT-LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  # removing all unneeded stuff
-  cd "${pkgdir}/${_gemdir}"
-  rm -rvf cache gems/${_name}-${pkgver}/{ext,lib/*/*.so} \
-    extensions/*/*/${_name}-${pkgver}/{mkmf.log,gem_make.out}
-}

Copied: ruby-zeitwerk/repos/community-any/PKGBUILD (from rev 747181, ruby-zeitwerk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-09 15:50:12 UTC (rev 747182)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=zeitwerk
+pkgname=ruby-zeitwerk
+pkgver=2.4.1
+pkgrel=1
+pkgdesc='Efficient and thread-safe code loader for Ruby'
+arch=('any')
+url="https://github.com/fxn/zeitwerk"
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rake' 'ruby-rdoc')
+# TODO: package ruby-minitest-focus
+# TODO: package ruby-minitest-reporters
+# checkdepends=('ruby-minitest' 'ruby-minitest-focus' 'ruby-minitest-reporters')
+options=(!emptydirs)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/fxn/${_name}/archive/v${pkgver}.tar.gz")
+sha512sums=('12d513fd16532ce510d83cf32710d734d24002bd5e77e0a37157e6521f3af67d379e915498c61114b5f9943763b59bbf38b7b6b2ea82957858129a6120c756bd')
+b2sums=('619673331f866b1e566603727189cac02fb08e856ca10504c97dd6dcc2cff8e24d0b2bb6b462f62dc88696b96beb1df04161f72da691118c0d8414313d2ba290')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # we don't do version pinning
+  sed -r 's|~>|>=|g' -i *.gemspec Gemfile Rakefile
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  gem build "${_name}.gemspec"
+}
+
+# check() {
+#   cd "$pkgname-$pkgver"
+#   rake test
+# }
+
+package() {
+  cd "$pkgname-$pkgver"
+  local _gemdir="$(gem env gemdir)"
+  gem install --ignore-dependencies \
+              --no-user-install \
+              -i "${pkgdir}/${_gemdir}" \
+              -n "${pkgdir}/usr/bin" \
+              ${_name}-${pkgver}.gem
+  install -vDm 644 MIT-LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  # removing all unneeded stuff
+  cd "${pkgdir}/${_gemdir}"
+  rm -rvf cache gems/${_name}-${pkgver}/{ext,lib/*/*.so} \
+    extensions/*/*/${_name}-${pkgver}/{mkmf.log,gem_make.out}
+}



More information about the arch-commits mailing list