mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
dev-crystal/selenium: new package, add 0.9.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
1
dev-crystal/selenium/Manifest
Normal file
1
dev-crystal/selenium/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST selenium-0.9.1.tar.gz 15955 BLAKE2B 3a2a7d60ad4e9eb41d3e75484dbce38c66209971506c79266fed08261019839555fbc4e82b4ad80eab37acef8374ce9b700754d2190bb8c56f76120aefafd3f5 SHA512 e9b7940816ade0e159c377e1a7026bdec4719afbb83df6773a72fa911d54c57eb9fb7a5bb0a154f154ad38876b0916f187a2f50a404dc1810f8215bc2fee6c19
|
||||||
8
dev-crystal/selenium/metadata.xml
Normal file
8
dev-crystal/selenium/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>cyber+gentoo@sysrq.in</email>
|
||||||
|
<name>Anna</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
37
dev-crystal/selenium/selenium-0.9.1.ebuild
Normal file
37
dev-crystal/selenium/selenium-0.9.1.ebuild
Normal 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"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user