[arch-commits] Commit in vagrant/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Mon Mar 22 04:07:17 UTC 2021


    Date: Monday, March 22, 2021 @ 04:07:17
  Author: anatolik
Revision: 898620

Rebuild vagrant with ruby2.7

ruby2.7-2.7.2-2 provided correct versioned *.so libraries plus corresponding *.pc.
Now ruby3 and ruby 2.7 can be installed together while *.pc pointing to its own libruby*.so

Modified:
  vagrant/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-22 04:05:48 UTC (rev 898619)
+++ PKGBUILD	2021-03-22 04:07:17 UTC (rev 898620)
@@ -10,7 +10,7 @@
 
 pkgname=vagrant
 pkgver=2.2.14
-pkgrel=2
+pkgrel=3
 pkgdesc="Build and distribute virtualized development environments"
 arch=('x86_64')
 url="https://vagrantup.com"
@@ -17,7 +17,7 @@
 license=('MIT')
 options=('!emptydirs')
 depends=('curl' 'libarchive' 'libssh2' 'libxml2' 'libxslt' 'rsync'
-         'ruby2.6' 'xz' 'perl')
+         'ruby2.7' 'xz' 'perl')
 makedepends=('git' 'go')
 conflicts=('vagrant-substrate')
 replaces=('vagrant-substrate')
@@ -28,7 +28,7 @@
 
 build() {
   cd $pkgname-$pkgver
-  gem-2.6 build $pkgname.gemspec
+  gem-2.7 build $pkgname.gemspec
 
 
   export GO111MODULE=off # golang 1.16 uses modules by default and packages below fail to compile
@@ -58,7 +58,7 @@
 
   GEM_PATH="$EMBEDDED_DIR"/gems/$pkgver GEM_HOME="$GEM_PATH" \
   GEMRC="$EMBEDDED_DIR"/etc/gemrc \
-    gem-2.6 install $pkgname-$pkgver.gem --no-document --prerelease
+    gem-2.7 install $pkgname-$pkgver.gem --no-document --prerelease
 
   install -Dm755 "$INSTALLERS_DIR"/launcher/vagrant \
     "$pkgdir"/opt/$pkgname/bin/$pkgname



More information about the arch-commits mailing list