Files
guru/dev-crystal/webdrivers/webdrivers-0.4.3-r1.ebuild
Anna (cybertailor) Vyalkova 54f0c1853d dev-crystal/webdrivers: revbump for dev-crystal/habitat
Bug: https://bugs.gentoo.org/945013
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2024-11-26 18:50:38 +05:00

32 lines
734 B
Bash

# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit shards
MY_PN="${PN}.cr"
DESCRIPTION="Helps manage drivers for Selenium, such as the Chromedriver"
HOMEPAGE="https://github.com/matthewmcgarvey/webdrivers.cr"
SRC_URI="https://github.com/matthewmcgarvey/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-crystal/crystar
>=dev-crystal/habitat-0.4.9
"
src_prepare() {
default
# remove tests that use network
rm \
spec/webdrivers/chromedriver_spec.cr \
spec/webdrivers/geckodriver_spec.cr \
spec/webdrivers/chrome/driver_remote_version_finder_spec.cr || die
}