diff options
Diffstat (limited to 'dev-crystal/webdrivers/webdrivers-0.4.1-r1.ebuild')
-rw-r--r-- | dev-crystal/webdrivers/webdrivers-0.4.1-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-crystal/webdrivers/webdrivers-0.4.1-r1.ebuild b/dev-crystal/webdrivers/webdrivers-0.4.1-r1.ebuild new file mode 100644 index 000000000..a23a7f4ad --- /dev/null +++ b/dev-crystal/webdrivers/webdrivers-0.4.1-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 2022 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 +" + +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 +} |