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

David Runge dvzrv at archlinux.org
Sat Aug 15 18:14:54 UTC 2020


    Date: Saturday, August 15, 2020 @ 18:14:54
  Author: dvzrv
Revision: 679775

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-15 18:14:32 UTC (rev 679774)
+++ PKGBUILD	2020-08-15 18:14:54 UTC (rev 679775)
@@ -1,50 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=zeitwerk
-pkgname=ruby-zeitwerk
-pkgver=2.3.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=('b0f782afde6f3a60e6dc3440316689ba39542e3c9d57129a433a0ea967869ca32d79ab1c522d84091b29a698e80ced31f94c9d12592f310945c4267d1e72b5f0')
-
-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 679774, ruby-zeitwerk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-15 18:14:54 UTC (rev 679775)
@@ -0,0 +1,51 @@
+# 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}
+}



More information about the arch-commits mailing list