[arch-commits] Commit in ruby-activesupport/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue May 11 20:50:11 UTC 2021
Date: Tuesday, May 11, 2021 @ 20:50:10
Author: dvzrv
Revision: 930639
archrelease: copy trunk to community-any
Added:
ruby-activesupport/repos/community-any/PKGBUILD
(from rev 930638, ruby-activesupport/trunk/PKGBUILD)
Deleted:
ruby-activesupport/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-11 20:50:02 UTC (rev 930638)
+++ PKGBUILD 2021-05-11 20:50:10 UTC (rev 930639)
@@ -1,56 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=activesupport
-pkgname=ruby-activesupport
-pkgver=6.1.3
-pkgrel=3
-pkgdesc='A collection of utility classes and standard library extensions'
-arch=('any')
-url="https://github.com/rails/rails/tree/master/activesupport"
-license=('MIT')
-# bootstrap activesupport without i18n (circular dependency)
-depends=('ruby' 'ruby-concurrent' 'ruby-i18n' 'ruby-tzinfo' 'ruby-zeitwerk' 'ruby-minitest')
-makedepends=('git' 'ruby-rake')
-# TODO: package ruby-dalli
-checkdepends=('ruby-minitest')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}::git+https://github.com/rails/rails#tag=v${pkgver}?signed")
-sha512sums=('SKIP')
-validpgpkeys=(
- '54FE550EA35E26D7C75362C1FC23B6D0F1EEE948' # Rafael Mendonça França <rafael.ufs at gmail.com>
- '4CE91B75A79828E86B1AA8BB953170BCB4FFAFC6' # Aaron Patterson <tenderlove at ruby-lang.org>
-)
-
-prepare() {
- cd "${pkgname}-${pkgver}/activesupport"
- # we don't do version pinning
- sed -r 's|~>|>=|g' -i "${_name}.gemspec"
-}
-
-build() {
- cd "$pkgname-$pkgver/activesupport"
- gem build "${_name}.gemspec"
-}
-
-# bootstrap activesupport without tests (circular dependency on i18n)
-# unspecified dependency on ruby-dalli: https://github.com/rails/rails/issues/38134
-# check() {
-# cd "$pkgname-$pkgver/activesupport"
-# rake test
-# }
-
-package() {
- cd "$pkgname-$pkgver/activesupport"
- 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"
- cd "${pkgdir}/${_gemdir}"
- rm -rvf cache gems/${_name}-${pkgver}/{ext,lib/*/*.so} \
- extensions/*/*/${_name}-${pkgver}/{mkmf.log,gem_make.out} \
- build_info extensions
-}
Copied: ruby-activesupport/repos/community-any/PKGBUILD (from rev 930638, ruby-activesupport/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-11 20:50:10 UTC (rev 930639)
@@ -0,0 +1,56 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=activesupport
+pkgname=ruby-activesupport
+pkgver=6.1.3.2
+pkgrel=1
+pkgdesc='A collection of utility classes and standard library extensions'
+arch=('any')
+url="https://github.com/rails/rails/tree/master/activesupport"
+license=('MIT')
+# bootstrap activesupport without i18n (circular dependency)
+depends=('ruby' 'ruby-concurrent' 'ruby-i18n' 'ruby-tzinfo' 'ruby-zeitwerk' 'ruby-minitest')
+makedepends=('git' 'ruby-rake')
+# TODO: package ruby-dalli
+checkdepends=('ruby-minitest')
+options=(!emptydirs)
+source=("${pkgname}-${pkgver}::git+https://github.com/rails/rails#tag=v${pkgver}?signed")
+sha512sums=('SKIP')
+validpgpkeys=(
+ '54FE550EA35E26D7C75362C1FC23B6D0F1EEE948' # Rafael Mendonça França <rafael.ufs at gmail.com>
+ '4CE91B75A79828E86B1AA8BB953170BCB4FFAFC6' # Aaron Patterson <tenderlove at ruby-lang.org>
+)
+
+prepare() {
+ cd "${pkgname}-${pkgver}/activesupport"
+ # we don't do version pinning
+ sed -r 's|~>|>=|g' -i "${_name}.gemspec"
+}
+
+build() {
+ cd "$pkgname-$pkgver/activesupport"
+ gem build "${_name}.gemspec"
+}
+
+# bootstrap activesupport without tests (circular dependency on i18n)
+# unspecified dependency on ruby-dalli: https://github.com/rails/rails/issues/38134
+# check() {
+# cd "$pkgname-$pkgver/activesupport"
+# rake test
+# }
+
+package() {
+ cd "$pkgname-$pkgver/activesupport"
+ 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"
+ cd "${pkgdir}/${_gemdir}"
+ rm -rvf cache gems/${_name}-${pkgver}/{ext,lib/*/*.so} \
+ extensions/*/*/${_name}-${pkgver}/{mkmf.log,gem_make.out} \
+ build_info extensions
+}
More information about the arch-commits
mailing list