Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bats/
Date: Mon, 07 Feb 2022 11:10:47
Message-Id: 1644232238.fe1cccdeb51c626650409bc81270719b259f2546.flow@gentoo
1 commit: fe1cccdeb51c626650409bc81270719b259f2546
2 Author: Henning Schild <henning <AT> hennsch <DOT> de>
3 AuthorDate: Sun Feb 6 20:25:59 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 7 11:10:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe1cccde
7
8 dev-util/bats: drop old
9
10 Signed-off-by: Henning Schild <henning <AT> hennsch.de>
11 Closes: https://github.com/gentoo/gentoo/pull/24098
12 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
13
14 dev-util/bats/Manifest | 2 --
15 dev-util/bats/bats-1.3.0.ebuild | 45 -------------------------------------
16 dev-util/bats/bats-1.4.1.ebuild | 49 -----------------------------------------
17 3 files changed, 96 deletions(-)
18
19 diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest
20 index 8b55c57b4ac8..7a38c0e20a84 100644
21 --- a/dev-util/bats/Manifest
22 +++ b/dev-util/bats/Manifest
23 @@ -1,3 +1 @@
24 -DIST bats-1.3.0.tar.gz 78392 BLAKE2B 5dbc87ee87aba0b001d25f1304939604b1682603fb0d2fae19f852171e8bd76f1a6c262b661a373aeeb9b79818eae3387b3e4d6bcf4f0f95b87dc2430caf029f SHA512 47f67681b380a70863805691eca39532af76670b7bba2406293c58f95cbbe3dade4f792177ee00d8ca72684731efb6db2c1ca8eeabe2fa48359e81c257f95b2c
25 -DIST bats-1.4.1.tar.gz 98964 BLAKE2B e7cb70d2d0f448e4336ccf1fe51e93730a7179a782247e28ee906eb576fc02305aeeb2a580b5d34220daf8dfd2ee1d3269fb86a386fdf00483bd3b234df3b75e SHA512 3b00af13ac97d38349f09db79179e170e2b37c5364815e0e1fb957e6593a564d291bb50c54776088dd5784ef8cd597f0c332ec3a574bcef65e3083a5f2fc1f0e
26 DIST bats-1.5.0.tar.gz 108052 BLAKE2B 68bba9d263e4206ead7039da2b09c5211c834445efdf429dca6c53acc5409de1052ce7ffa9143e732d3aeaeb6ea6dcaf9b419adc02776e601545557dea776e36 SHA512 e0386fb32214db67ae001a2040c44277988af7fa909a820843237c7d47eedfa4e370238d5b2d06a4667b874cad4b00f2cd14624b1bc45628192e5d693bd5073a
27
28 diff --git a/dev-util/bats/bats-1.3.0.ebuild b/dev-util/bats/bats-1.3.0.ebuild
29 deleted file mode 100644
30 index 2ce4d2225efd..000000000000
31 --- a/dev-util/bats/bats-1.3.0.ebuild
32 +++ /dev/null
33 @@ -1,45 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit optfeature
40 -
41 -MY_PN="bats-core"
42 -DESCRIPTION="Bats-core: Bash Automated Testing System"
43 -HOMEPAGE="https://github.com/bats-core/bats-core/"
44 -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="MIT"
47 -SLOT="0"
48 -KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv x86"
49 -
50 -DEPEND="app-shells/bash:*"
51 -RDEPEND="${DEPEND}"
52 -
53 -S="${WORKDIR}/${MY_PN}-${PV}"
54 -
55 -src_prepare() {
56 - default
57 - # "parallelity factor is met exactly" fails in portage, disable
58 - sed -i -e 's/@test "parallelity factor is met exactly" {$/@test "parallelity factor is met exactly" { skip "gentoo"/' test/parallel.bats || die
59 -}
60 -
61 -src_test() {
62 - bin/bats --tap test || die "Tests failed"
63 -}
64 -
65 -src_install() {
66 - exeinto /usr/libexec/${MY_PN}
67 - doexe libexec/${MY_PN}/*
68 - exeinto /usr/lib/${MY_PN}
69 - doexe lib/${MY_PN}/*
70 - dobin bin/${PN}
71 -
72 - dodoc README.md
73 - doman man/${PN}.1 man/${PN}.7
74 -}
75 -
76 -pkg_postinst() {
77 - optfeature "Parallel Execution" sys-process/parallel
78 -}
79
80 diff --git a/dev-util/bats/bats-1.4.1.ebuild b/dev-util/bats/bats-1.4.1.ebuild
81 deleted file mode 100644
82 index 86390c1dbd6b..000000000000
83 --- a/dev-util/bats/bats-1.4.1.ebuild
84 +++ /dev/null
85 @@ -1,49 +0,0 @@
86 -# Copyright 1999-2021 Gentoo Authors
87 -# Distributed under the terms of the GNU General Public License v2
88 -
89 -EAPI=7
90 -
91 -inherit multiprocessing optfeature
92 -
93 -MY_PN="bats-core"
94 -DESCRIPTION="Bats-core: Bash Automated Testing System"
95 -HOMEPAGE="https://github.com/bats-core/bats-core/"
96 -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
97 -
98 -LICENSE="MIT"
99 -SLOT="0"
100 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
101 -
102 -DEPEND="app-shells/bash:*"
103 -RDEPEND="${DEPEND}"
104 -
105 -S="${WORKDIR}/${MY_PN}-${PV}"
106 -
107 -src_prepare() {
108 - default
109 - # "parallelity factor is met exactly" fails in portage, disable
110 - sed -i -e 's/@test "parallelity factor is met exactly" {$/@test "parallelity factor is met exactly" { skip "gentoo"/' test/parallel.bats || die
111 -}
112 -
113 -src_test() {
114 - local my_jobs=$(makeopts_jobs)
115 - if ! command -v parallel >/dev/null; then
116 - my_jobs=1
117 - fi
118 - bin/bats --tap --jobs "${my_jobs}" test || die "Tests failed"
119 -}
120 -
121 -src_install() {
122 - exeinto /usr/libexec/${MY_PN}
123 - doexe libexec/${MY_PN}/*
124 - exeinto /usr/lib/${MY_PN}
125 - doexe lib/${MY_PN}/*
126 - dobin bin/${PN}
127 -
128 - dodoc README.md
129 - doman man/${PN}.1 man/${PN}.7
130 -}
131 -
132 -pkg_postinst() {
133 - optfeature "Parallel Execution" sys-process/parallel
134 -}