From ff7d38296258e62d67c6549a0c7dd591392ae9fa Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Thu, 6 Jul 2023 05:09:54 +0500 Subject: dev-crystal/selenium: add 0.12.0, drop 0.9.1 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-crystal/selenium/Manifest | 2 +- dev-crystal/selenium/selenium-0.12.0.ebuild | 37 +++++++++++++++++++++++++++++ dev-crystal/selenium/selenium-0.9.1.ebuild | 37 ----------------------------- 3 files changed, 38 insertions(+), 38 deletions(-) create mode 100644 dev-crystal/selenium/selenium-0.12.0.ebuild delete mode 100644 dev-crystal/selenium/selenium-0.9.1.ebuild (limited to 'dev-crystal') diff --git a/dev-crystal/selenium/Manifest b/dev-crystal/selenium/Manifest index ef9a05395..98a9edeb1 100644 --- a/dev-crystal/selenium/Manifest +++ b/dev-crystal/selenium/Manifest @@ -1,2 +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 +DIST selenium-0.12.0.tar.gz 19117 BLAKE2B 071bec550a262076b44368fcee29086b7e578394de965b8fe52b9910e63742b334ccee76da9ea21f39dbeff192678087f3b9f7dbf30c7531e0471280e922231a SHA512 86abefb770feb451f9f454eb982fd073e4df87b8630dd53be385d5beeae9c1261c52f6a949935a3a4a0776d5c93992bbe253b245f7024ed8ca93fd8b5ed0e3b6 diff --git a/dev-crystal/selenium/selenium-0.12.0.ebuild b/dev-crystal/selenium/selenium-0.12.0.ebuild new file mode 100644 index 000000000..4f9b7c7cb --- /dev/null +++ b/dev-crystal/selenium/selenium-0.12.0.ebuild @@ -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" +} diff --git a/dev-crystal/selenium/selenium-0.9.1.ebuild b/dev-crystal/selenium/selenium-0.9.1.ebuild deleted file mode 100644 index 4f9b7c7cb..000000000 --- a/dev-crystal/selenium/selenium-0.9.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# 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" -} -- cgit v1.2.3-65-gdbad