dev-crystal/selenium: add 0.11.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-05-09 00:48:09 +05:00
parent 4711450809
commit 40bae9e926
2 changed files with 38 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST selenium-0.11.0.tar.gz 19041 BLAKE2B 1cb6d2479b503dbb9e688f606e551ef4f5c5baa0f5c17fa98f20b1c12d11227c911a6e3025812fa36a7171199314682abbf6134770f6307c7e284909d9ec9205 SHA512 1086be36dd6785677db87e2eb982c5eaf7621e18246276765afc68a2a735ece9fe5331623516eb74b22e81232b071901e78afec087e696f13223c611acca77b0
DIST selenium-0.9.1.tar.gz 15955 BLAKE2B 3a2a7d60ad4e9eb41d3e75484dbce38c66209971506c79266fed08261019839555fbc4e82b4ad80eab37acef8374ce9b700754d2190bb8c56f76120aefafd3f5 SHA512 e9b7940816ade0e159c377e1a7026bdec4719afbb83df6773a72fa911d54c57eb9fb7a5bb0a154f154ad38876b0916f187a2f50a404dc1810f8215bc2fee6c19

View File

@@ -0,0 +1,37 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit shards
MY_PN="${PN}.cr"
DESCRIPTION="Selenium library for Crystal"
HOMEPAGE="
https://matthewmcgarvey.github.io/selenium.cr/
https://github.com/matthewmcgarvey/selenium.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"
IUSE="test"
RESTRICT="test"
PROPERTIES="test_network"
BDEPEND="
test? (
dev-crystal/webdrivers
|| (
www-client/firefox:*
www-client/firefox-bin:*
)
)
"
src_test() {
local -x SELENIUM_BROWSER=firefox
ecrystal spec --tag "~firefox"
}