Closes: https://github.com/gentoo/gentoo/pull/14938
Closes: https://bugs.gentoo.org/711576
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
# loosen dependencies
sed -e '/hashicorp-checkpoint\|i18n\|listen\|net-ssh\|net-scp\|rake\|childprocess/s/~>/>=/' \
- -e '/ruby_dep/s/<=/>=/' \
-i ${PN}.gemspec || die
# remove windows-specific gems
sed -e '/rb-kqueue/d' \
-i ${PN}.gemspec || die
+ # remove ruby_dep, it's unused and only listed to loosen ruby implementation deps
+ sed -e '/ruby_dep/d' \
+ -i ${PN}.gemspec || die
+
sed -e "s/@VAGRANT_VERSION@/${PV}/g" "${FILESDIR}/${PN}.in" > "${PN}" || die
}