blob: a23a7f4ad77926b5856292b5d91727a74a29517b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}
|