Andreas Schleifer pushed to branch main at Arch Linux / Packaging / Packages /
vagrant
Commits:
628297a0 by Andreas Schleifer at 2024-10-05T15:43:17+02:00
upgpkg: 2.4.1-3: Ruby 3.3 rebuild; closes #6
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = vagrant
pkgdesc = Build and distribute virtualized development environments
pkgver = 2.4.1
- pkgrel = 2
+ pkgrel = 3
url = https://vagrantup.com
arch = x86_64
license = BUSL-1.1
@@ -23,6 +23,6 @@ pkgbase = vagrant
source =
vagrant-2.4.1.tar.gz::https://github.com/hashicorp/vagrant/archive/v2.4.1.tar.gz
source =
git+https://github.com/hashicorp/vagrant-installers.git#commit=7bcf4d4
sha256sums =
19cfa306e3ffae5ddbf30504f61a1a3124aa9a87721b130a14098d4ea1febf89
- sha256sums = SKIP
+ sha256sums =
6a12657a82226a942ca57f5b3a6f3684d312fe1ef6f876dfb6c246b7e757aa26
pkgname = vagrant
=====================================
PKGBUILD
=====================================
@@ -10,7 +10,7 @@
pkgname=vagrant
pkgver=2.4.1
-pkgrel=2
+pkgrel=3
pkgdesc="Build and distribute virtualized development environments"
arch=('x86_64')
url="https://vagrantup.com"
@@ -22,17 +22,26 @@ makedepends=('git' 'go')
optdepends=('dnsmasq: if using libvirt')
conflicts=('vagrant-substrate')
replaces=('vagrant-substrate')
-source=($pkgname-$pkgver.tar.gz::https://github.com/hashicorp/$pkgname/archive/v$pkgver.tar.gz
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/$pkgname/archive/v$pkgver.tar.gz"
"git+https://github.com/hashicorp/vagrant-installers.git#commit=7bcf4d4")
sha256sums=('19cfa306e3ffae5ddbf30504f61a1a3124aa9a87721b130a14098d4ea1febf89'
- 'SKIP')
+ '6a12657a82226a942ca57f5b3a6f3684d312fe1ef6f876dfb6c246b7e757aa26')
prepare() {
- cd vagrant-installers
+ pushd "${pkgname}-${pkgver}"
+
+ # update gemspec/Gemfile to allow newer version of the dependencies
+ sed --in-place --regexp-extended 's|~>|>=|g' "${pkgname}.gemspec"
+
+ popd
+ pushd vagrant-installers
+
local _gemdir="$(gem env gemdir)"
# Allow Vagrant to see the system gems as these have been de-vendored from
the ruby package
sed -i "s_embeddedDir, \"gems\")_embeddedDir, \"gems:$_gemdir\")_g"
substrate/launcher/main.go
+
+ popd
}
build() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/vagrant/-/commit/628297a081390d7a78a2f2620684e7e17d34ddcf
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/vagrant/-/commit/628297a081390d7a78a2f2620684e7e17d34ddcf
You're receiving this email because of your account on gitlab.archlinux.org.