public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/kcov/
@ 2017-01-25 23:58 Austin English
  0 siblings, 0 replies; 10+ messages in thread
From: Austin English @ 2017-01-25 23:58 UTC (permalink / raw
  To: gentoo-commits

commit:     f1f22833a981bd889359f53d0ecaa0467e54e36b
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 23:57:56 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 23:58:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1f22833

dev-util/kcov: initial ebuild

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 dev-util/kcov/Manifest       |  1 +
 dev-util/kcov/kcov-33.ebuild | 18 ++++++++++++++++++
 dev-util/kcov/metadata.xml   | 11 +++++++++++
 3 files changed, 30 insertions(+)

diff --git a/dev-util/kcov/Manifest b/dev-util/kcov/Manifest
new file mode 100644
index 00000000..0791a8b
--- /dev/null
+++ b/dev-util/kcov/Manifest
@@ -0,0 +1 @@
+DIST kcov-33.tar.gz 276028 SHA256 23e20157c8fb933b76d5733ca5700c9eb2399851febf0d4144d7b2dc940f4464 SHA512 e35ba3c4dc320cef0cde097cfa2c4067ec6bf86a5ee797d3ec111facffa036da4fc4d403e63bd3767d03eac511987592e77ed61810605f8e2da77c26570e245c WHIRLPOOL 74a135ee5f04842013e8df75e5f9cd2e37d78cb54e0849abfae8574db924563dee4787bbaf50bd3d7fbb5302e09eda8a4cbe549b59acaee92fed5d9272e8d90f

diff --git a/dev-util/kcov/kcov-33.ebuild b/dev-util/kcov/kcov-33.ebuild
new file mode 100644
index 00000000..54ff9d8
--- /dev/null
+++ b/dev-util/kcov/kcov-33.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Kcov is a code coverage tester for compiled languages, Python and Bash"
+HOMEPAGE="https://github.com/SimonKagstrom/kcov"
+SRC_URI="https://github.com/SimonKagstrom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-libs/elfutils"
+DEPEND="${RDEPEND}"

diff --git a/dev-util/kcov/metadata.xml b/dev-util/kcov/metadata.xml
new file mode 100644
index 00000000..bbb5384
--- /dev/null
+++ b/dev-util/kcov/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>wizardedit@gentoo.org</email>
+		<name>Austin English</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">SimonKagstrom/kcov</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/kcov/
@ 2017-01-26 19:01 Austin English
  0 siblings, 0 replies; 10+ messages in thread
From: Austin English @ 2017-01-26 19:01 UTC (permalink / raw
  To: gentoo-commits

commit:     ecabd5fedb55fabbed1ce071bdba30f4abb27d39
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 18:57:05 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 19:01:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecabd5fe

dev-util/kcov: add 9999 ebuild

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 dev-util/kcov/kcov-9999.ebuild | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/dev-util/kcov/kcov-9999.ebuild b/dev-util/kcov/kcov-9999.ebuild
new file mode 100644
index 00000000..b4cf68c
--- /dev/null
+++ b/dev-util/kcov/kcov-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Kcov is a code coverage tester for compiled languages, Python and Bash"
+HOMEPAGE="https://github.com/SimonKagstrom/kcov"
+LICENSE="GPL-2"
+SLOT="0"
+
+if [ "${PV}" -eq 9999 ]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/SimonKagstrom/${PN}.git"
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/SimonKagstrom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+RDEPEND="
+	dev-libs/elfutils
+	net-misc/curl
+	sys-devel/binutils:*
+	sys-libs/zlib"
+DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/kcov/
@ 2017-01-26 19:01 Austin English
  0 siblings, 0 replies; 10+ messages in thread
From: Austin English @ 2017-01-26 19:01 UTC (permalink / raw
  To: gentoo-commits

commit:     0ec670cef142b3d3564e2574537ff11ce6b8e45c
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 18:26:26 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 19:01:13 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ec670ce

dev-util/kcov: add missing dependencies

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 dev-util/kcov/kcov-33.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-util/kcov/kcov-33.ebuild b/dev-util/kcov/kcov-33.ebuild
index 54ff9d8..dd88291 100644
--- a/dev-util/kcov/kcov-33.ebuild
+++ b/dev-util/kcov/kcov-33.ebuild
@@ -14,5 +14,9 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-RDEPEND="dev-libs/elfutils"
+RDEPEND="
+	dev-libs/elfutils
+	net-misc/curl
+	sys-devel/binutils:*
+	sys-libs/zlib"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/kcov/
@ 2017-11-28  0:49 Austin English
  0 siblings, 0 replies; 10+ messages in thread
From: Austin English @ 2017-11-28  0:49 UTC (permalink / raw
  To: gentoo-commits

commit:     5d1cfbfb0969d506e72d4bdf1bdf1f888a92d794
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 28 00:48:07 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Nov 28 00:48:48 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d1cfbfb

dev-util/kcov: version bump

Gentoo-Bug: https://bugs.gentoo.org/631254
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-util/kcov/Manifest       |  3 ++-
 dev-util/kcov/kcov-34.ebuild | 21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/dev-util/kcov/Manifest b/dev-util/kcov/Manifest
index 0791a8bd3ef..3ce0d061493 100644
--- a/dev-util/kcov/Manifest
+++ b/dev-util/kcov/Manifest
@@ -1 +1,2 @@
-DIST kcov-33.tar.gz 276028 SHA256 23e20157c8fb933b76d5733ca5700c9eb2399851febf0d4144d7b2dc940f4464 SHA512 e35ba3c4dc320cef0cde097cfa2c4067ec6bf86a5ee797d3ec111facffa036da4fc4d403e63bd3767d03eac511987592e77ed61810605f8e2da77c26570e245c WHIRLPOOL 74a135ee5f04842013e8df75e5f9cd2e37d78cb54e0849abfae8574db924563dee4787bbaf50bd3d7fbb5302e09eda8a4cbe549b59acaee92fed5d9272e8d90f
+DIST kcov-33.tar.gz 276028 BLAKE2B bed7f2b2feb3ecb1a861928306626b44904af52f30d5721cd0e6ba9ad5db5edb1ffb51fd64ab0fba5f99fc0329bbe87949b901bc73e2299c2075817f606113aa SHA512 e35ba3c4dc320cef0cde097cfa2c4067ec6bf86a5ee797d3ec111facffa036da4fc4d403e63bd3767d03eac511987592e77ed61810605f8e2da77c26570e245c
+DIST kcov-34.tar.gz 296345 BLAKE2B de6acbecd35b1d85a4a0f9f43fdf5dcb09331f88622a236fee672a8624c77baf4a8589d61aaecfb51220b83d28d98426ed32bfb345b717bb13fb180f479cc371 SHA512 63ea8e47f00e53b55be4c37697a7f0b78c15f887a40fc0679d7e92f1561bd379a526a82179ee243838fe6f6bd5b89c9eb76716cdb5add7bfb0f312176422a346

diff --git a/dev-util/kcov/kcov-34.ebuild b/dev-util/kcov/kcov-34.ebuild
new file mode 100644
index 00000000000..7f1e7488e3b
--- /dev/null
+++ b/dev-util/kcov/kcov-34.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Kcov is a code coverage tester for compiled languages, Python and Bash"
+HOMEPAGE="https://github.com/SimonKagstrom/kcov"
+SRC_URI="https://github.com/SimonKagstrom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	dev-libs/elfutils
+	net-misc/curl
+	sys-devel/binutils:*
+	sys-libs/zlib"
+DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/kcov/
@ 2019-04-09  3:14 Austin English
  0 siblings, 0 replies; 10+ messages in thread
From: Austin English @ 2019-04-09  3:14 UTC (permalink / raw
  To: gentoo-commits

commit:     6520512e96c69e432ec31c9d1c1b6df3ce2639d3
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  9 02:49:22 2019 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Apr  9 03:13:26 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6520512e

dev-util/kcov: move my packages to maintainer-needed

Signed-off-by: Austin English <wizardedit <AT> gentoo.org>
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12

 dev-util/kcov/metadata.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-util/kcov/metadata.xml b/dev-util/kcov/metadata.xml
index bbb53844e2b..44c29bc8035 100644
--- a/dev-util/kcov/metadata.xml
+++ b/dev-util/kcov/metadata.xml
@@ -1,10 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>wizardedit@gentoo.org</email>
-		<name>Austin English</name>
-	</maintainer>
+	<!-- maintainer-needed -->
 	<upstream>
 		<remote-id type="github">SimonKagstrom/kcov</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/kcov/
@ 2022-02-26 19:53 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2022-02-26 19:53 UTC (permalink / raw
  To: gentoo-commits

commit:     0e05410402cb0dca8d607dd3e3464f9e9b8ccc05
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 26 19:40:06 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 26 19:53:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e054104

dev-util/kcov: drop 34

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/kcov/Manifest       |  1 -
 dev-util/kcov/kcov-34.ebuild | 21 ---------------------
 2 files changed, 22 deletions(-)

diff --git a/dev-util/kcov/Manifest b/dev-util/kcov/Manifest
index c9affb64ab11..25bab65fba44 100644
--- a/dev-util/kcov/Manifest
+++ b/dev-util/kcov/Manifest
@@ -1,2 +1 @@
-DIST kcov-34.tar.gz 296345 BLAKE2B de6acbecd35b1d85a4a0f9f43fdf5dcb09331f88622a236fee672a8624c77baf4a8589d61aaecfb51220b83d28d98426ed32bfb345b717bb13fb180f479cc371 SHA512 63ea8e47f00e53b55be4c37697a7f0b78c15f887a40fc0679d7e92f1561bd379a526a82179ee243838fe6f6bd5b89c9eb76716cdb5add7bfb0f312176422a346
 DIST kcov-40.tar.gz 311012 BLAKE2B 19b3cf681fe3c722fde116f454e1760ddd1e54db6fcecc05eca3ec585524fa7d1f7af3ea237943c8a68a81384567205ea443d1542ec380621d35a6f3e3dc667e SHA512 5abe1dd94fbe93fe73d658840593781216b8562a87d010a94d4520e29dd4d537e167de64b7f535347f894c68d5d8b9974ee4b9fd2cebf9291bac4ddbb9ac7cff

diff --git a/dev-util/kcov/kcov-34.ebuild b/dev-util/kcov/kcov-34.ebuild
deleted file mode 100644
index 7f1e7488e3b2..000000000000
--- a/dev-util/kcov/kcov-34.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="Kcov is a code coverage tester for compiled languages, Python and Bash"
-HOMEPAGE="https://github.com/SimonKagstrom/kcov"
-SRC_URI="https://github.com/SimonKagstrom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-	dev-libs/elfutils
-	net-misc/curl
-	sys-devel/binutils:*
-	sys-libs/zlib"
-DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/kcov/
@ 2022-02-26 19:53 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2022-02-26 19:53 UTC (permalink / raw
  To: gentoo-commits

commit:     e0985403769b114a858cc6de03eb472b9cc822d7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 26 19:37:36 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 26 19:53:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0985403

dev-util/kcov: add 40

Closes: https://bugs.gentoo.org/765880
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/kcov/Manifest                             |  1 +
 dev-util/kcov/{kcov-9999.ebuild => kcov-40.ebuild} | 36 ++++++++++++++--------
 dev-util/kcov/kcov-9999.ebuild                     | 34 ++++++++++++--------
 dev-util/kcov/metadata.xml                         |  3 ++
 4 files changed, 50 insertions(+), 24 deletions(-)

diff --git a/dev-util/kcov/Manifest b/dev-util/kcov/Manifest
index 45a732133947..c9affb64ab11 100644
--- a/dev-util/kcov/Manifest
+++ b/dev-util/kcov/Manifest
@@ -1 +1,2 @@
 DIST kcov-34.tar.gz 296345 BLAKE2B de6acbecd35b1d85a4a0f9f43fdf5dcb09331f88622a236fee672a8624c77baf4a8589d61aaecfb51220b83d28d98426ed32bfb345b717bb13fb180f479cc371 SHA512 63ea8e47f00e53b55be4c37697a7f0b78c15f887a40fc0679d7e92f1561bd379a526a82179ee243838fe6f6bd5b89c9eb76716cdb5add7bfb0f312176422a346
+DIST kcov-40.tar.gz 311012 BLAKE2B 19b3cf681fe3c722fde116f454e1760ddd1e54db6fcecc05eca3ec585524fa7d1f7af3ea237943c8a68a81384567205ea443d1542ec380621d35a6f3e3dc667e SHA512 5abe1dd94fbe93fe73d658840593781216b8562a87d010a94d4520e29dd4d537e167de64b7f535347f894c68d5d8b9974ee4b9fd2cebf9291bac4ddbb9ac7cff

diff --git a/dev-util/kcov/kcov-9999.ebuild b/dev-util/kcov/kcov-40.ebuild
similarity index 52%
copy from dev-util/kcov/kcov-9999.ebuild
copy to dev-util/kcov/kcov-40.ebuild
index bfac1caa27c4..963a9c930a5e 100644
--- a/dev-util/kcov/kcov-9999.ebuild
+++ b/dev-util/kcov/kcov-40.ebuild
@@ -1,26 +1,38 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
-inherit cmake-utils
+PYTHON_COMPAT=( python3_{8,9,10} )
+inherit cmake python-any-r1
 
 DESCRIPTION="Kcov is a code coverage tester for compiled languages, Python and Bash"
 HOMEPAGE="https://github.com/SimonKagstrom/kcov"
-LICENSE="GPL-2"
-SLOT="0"
-
-if [ "${PV}" -eq 9999 ]; then
-	inherit git-r3
+if [[ ${PV} == 9999 ]] ; then
 	EGIT_REPO_URI="https://github.com/SimonKagstrom/${PN}.git"
+	inherit git-r3
 else
 	SRC_URI="https://github.com/SimonKagstrom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
 fi
 
-RDEPEND="
-	dev-libs/elfutils
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+binutils"
+
+RDEPEND="dev-libs/elfutils
 	net-misc/curl
-	sys-devel/binutils:*
-	sys-libs/zlib"
+	sys-libs/zlib
+	binutils? ( sys-libs/binutils-libs:= )"
 DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_DISABLE_FIND_PACKAGE_Bfd=$(usex !binutils)
+
+		-DKCOV_INSTALL_DOCDIR=share/doc/${PF}
+	)
+
+	cmake_src_configure
+}

diff --git a/dev-util/kcov/kcov-9999.ebuild b/dev-util/kcov/kcov-9999.ebuild
index bfac1caa27c4..201ab239e41c 100644
--- a/dev-util/kcov/kcov-9999.ebuild
+++ b/dev-util/kcov/kcov-9999.ebuild
@@ -1,26 +1,36 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="Kcov is a code coverage tester for compiled languages, Python and Bash"
 HOMEPAGE="https://github.com/SimonKagstrom/kcov"
-LICENSE="GPL-2"
-SLOT="0"
-
-if [ "${PV}" -eq 9999 ]; then
-	inherit git-r3
+if [[ ${PV} == 9999 ]] ; then
 	EGIT_REPO_URI="https://github.com/SimonKagstrom/${PN}.git"
+	inherit git-r3
 else
 	SRC_URI="https://github.com/SimonKagstrom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
 fi
 
-RDEPEND="
-	dev-libs/elfutils
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+binutils"
+
+RDEPEND="dev-libs/elfutils
 	net-misc/curl
-	sys-devel/binutils:*
-	sys-libs/zlib"
+	sys-libs/zlib
+	binutils? ( sys-libs/binutils-libs:= )"
 DEPEND="${RDEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_DISABLE_FIND_PACKAGE_Bfd=$(usex !binutils)
+
+		-DKCOV_INSTALL_DOCDIR=share/doc/${PF}
+	)
+
+	cmake_src_configure
+}

diff --git a/dev-util/kcov/metadata.xml b/dev-util/kcov/metadata.xml
index 965d272c218d..5a02da613ff9 100644
--- a/dev-util/kcov/metadata.xml
+++ b/dev-util/kcov/metadata.xml
@@ -2,6 +2,9 @@
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 	<!-- maintainer-needed -->
+	<use>
+		<flag name="binutils">Use <pkg>sys-libs/binutils-libs</pkg> for --verify support</flag>
+	</use>
 	<upstream>
 		<remote-id type="github">SimonKagstrom/kcov</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/kcov/
@ 2024-07-30  8:49 Pacho Ramos
  0 siblings, 0 replies; 10+ messages in thread
From: Pacho Ramos @ 2024-07-30  8:49 UTC (permalink / raw
  To: gentoo-commits

commit:     7fe32bca5dcc50cf3bc0b7e1a79aedf3ef9b9e2e
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 08:18:50 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 08:48:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fe32bca

dev-util/kcov: enable py3.11, py3.12

Closes: https://bugs.gentoo.org/929545
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 dev-util/kcov/kcov-40.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/kcov/kcov-40.ebuild b/dev-util/kcov/kcov-40.ebuild
index ea93aa899477..acf228ac0b9d 100644
--- a/dev-util/kcov/kcov-40.ebuild
+++ b/dev-util/kcov/kcov-40.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit cmake python-any-r1
 
 DESCRIPTION="Kcov is a code coverage tester for compiled languages, Python and Bash"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/kcov/
@ 2024-07-30  8:49 Pacho Ramos
  0 siblings, 0 replies; 10+ messages in thread
From: Pacho Ramos @ 2024-07-30  8:49 UTC (permalink / raw
  To: gentoo-commits

commit:     5a1b1a83989bf2b3e5894b91dbe5398b439f999f
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 08:18:57 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 08:48:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a1b1a83

dev-util/kcov: Sync live ebuild

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 dev-util/kcov/kcov-9999.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-util/kcov/kcov-9999.ebuild b/dev-util/kcov/kcov-9999.ebuild
index 201ab239e41c..acf228ac0b9d 100644
--- a/dev-util/kcov/kcov-9999.ebuild
+++ b/dev-util/kcov/kcov-9999.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake python-any-r1
 
 DESCRIPTION="Kcov is a code coverage tester for compiled languages, Python and Bash"
 HOMEPAGE="https://github.com/SimonKagstrom/kcov"
@@ -24,6 +25,12 @@ RDEPEND="dev-libs/elfutils
 	sys-libs/zlib
 	binutils? ( sys-libs/binutils-libs:= )"
 DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-binutils-2.39.patch
+	"${FILESDIR}"/${P}-gcc-13.patch
+)
 
 src_configure() {
 	local mycmakeargs=(


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/kcov/
@ 2024-08-04  9:17 Joonas Niilola
  0 siblings, 0 replies; 10+ messages in thread
From: Joonas Niilola @ 2024-08-04  9:17 UTC (permalink / raw
  To: gentoo-commits

commit:     613c1d743a955b0e9cf39be7322a2991e200bb0d
Author:     Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
AuthorDate: Sun Aug  4 07:24:37 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Aug  4 09:17:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=613c1d74

dev-util/kcov: add 43 and adoption

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37766
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-util/kcov/Manifest         |  1 +
 dev-util/kcov/kcov-43.ebuild   | 84 ++++++++++++++++++++++++++++++++++++++++++
 dev-util/kcov/kcov-9999.ebuild | 79 +++++++++++++++++++++++++++++----------
 dev-util/kcov/metadata.xml     | 43 ++++++++++++++++++++-
 4 files changed, 186 insertions(+), 21 deletions(-)

diff --git a/dev-util/kcov/Manifest b/dev-util/kcov/Manifest
index 25bab65fba44..47b81bac6c6c 100644
--- a/dev-util/kcov/Manifest
+++ b/dev-util/kcov/Manifest
@@ -1 +1,2 @@
 DIST kcov-40.tar.gz 311012 BLAKE2B 19b3cf681fe3c722fde116f454e1760ddd1e54db6fcecc05eca3ec585524fa7d1f7af3ea237943c8a68a81384567205ea443d1542ec380621d35a6f3e3dc667e SHA512 5abe1dd94fbe93fe73d658840593781216b8562a87d010a94d4520e29dd4d537e167de64b7f535347f894c68d5d8b9974ee4b9fd2cebf9291bac4ddbb9ac7cff
+DIST kcov-43.tar.gz 259022 BLAKE2B 7d6da38ec93f6e7904372b0917ce86e544cd9abcaff4d21354b7c5cc40c91be37c62bbedbc7fcc449ec24fa8815503c0ed355996eef9721aab0a65ed9a1c203e SHA512 11158c63a4eb5fdb34b4787c135e3c8db60e6d3292fc109fcfb43e6dab30c6c4310b09c6d94614556eb005792bab235c6cd839c585c3a98f5700c4ee4d317aca

diff --git a/dev-util/kcov/kcov-43.ebuild b/dev-util/kcov/kcov-43.ebuild
new file mode 100644
index 000000000000..2c1f929f9a7a
--- /dev/null
+++ b/dev-util/kcov/kcov-43.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit cmake edo python-any-r1
+
+DESCRIPTION="Kcov is a code coverage tester for compiled languages, Python and Bash"
+HOMEPAGE="https://github.com/SimonKagstrom/kcov/"
+
+if [[ "${PV}" = 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/SimonKagstrom/kcov.git"
+else
+	SRC_URI="https://github.com/SimonKagstrom/kcov/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2 MIT"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	dev-libs/elfutils
+	dev-libs/libunistring:=
+	dev-libs/openssl:=
+	net-dns/c-ares:=
+	net-dns/libidn2:=
+	net-libs/libpsl
+	net-misc/curl
+	net-libs/nghttp2:=
+	sys-libs/binutils-libs:=
+	sys-libs/zlib
+"
+
+BDEPEND="test? ( ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+	doc/
+	CONTRIBUTING.md
+	INSTALL.md
+	README.md
+)
+
+pkg_setup() {
+	use test && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+	cmake_src_prepare
+
+	if use test; then
+		sed -Ei "/skip_python2/ s/= .+/= True/" tests/tools/test_python.py \
+			|| die
+
+		echo "add_subdirectory (tests)" >> CMakeLists.txt || die
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=( -DKCOV_INSTALL_DOCDIR:PATH="share/doc/${PF}" )
+
+	cmake_src_configure
+}
+
+src_test() {
+	PYTHONPATH="${S}/tests/tools" edo python3 -m libkcov \
+		-v \
+		"${BUILD_DIR}/src/kcov" \
+		"${T}" \
+		"${BUILD_DIR}/tests" \
+		"${S}"
+}
+
+src_install() {
+	cmake_src_install
+
+	rm "${ED}/usr/share/doc/${PF}/doc"/{CMakeLists.txt,kcov.1} || die
+	rm "${ED}/usr/share/doc/${PF}"/COPYING* || die
+}

diff --git a/dev-util/kcov/kcov-9999.ebuild b/dev-util/kcov/kcov-9999.ebuild
index acf228ac0b9d..2c1f929f9a7a 100644
--- a/dev-util/kcov/kcov-9999.ebuild
+++ b/dev-util/kcov/kcov-9999.ebuild
@@ -4,40 +4,81 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake python-any-r1
+
+inherit cmake edo python-any-r1
 
 DESCRIPTION="Kcov is a code coverage tester for compiled languages, Python and Bash"
-HOMEPAGE="https://github.com/SimonKagstrom/kcov"
-if [[ ${PV} == 9999 ]] ; then
-	EGIT_REPO_URI="https://github.com/SimonKagstrom/${PN}.git"
+HOMEPAGE="https://github.com/SimonKagstrom/kcov/"
+
+if [[ "${PV}" = 9999 ]]; then
 	inherit git-r3
+	EGIT_REPO_URI="https://github.com/SimonKagstrom/kcov.git"
 else
-	SRC_URI="https://github.com/SimonKagstrom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI="https://github.com/SimonKagstrom/kcov/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
 fi
 
-LICENSE="GPL-2"
+LICENSE="GPL-2 MIT"
 SLOT="0"
-IUSE="+binutils"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
-RDEPEND="dev-libs/elfutils
+DEPEND="
+	dev-libs/elfutils
+	dev-libs/libunistring:=
+	dev-libs/openssl:=
+	net-dns/c-ares:=
+	net-dns/libidn2:=
+	net-libs/libpsl
 	net-misc/curl
+	net-libs/nghttp2:=
+	sys-libs/binutils-libs:=
 	sys-libs/zlib
-	binutils? ( sys-libs/binutils-libs:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="${PYTHON_DEPS}"
+"
 
-PATCHES=(
-	"${FILESDIR}"/${P}-binutils-2.39.patch
-	"${FILESDIR}"/${P}-gcc-13.patch
+BDEPEND="test? ( ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+	doc/
+	CONTRIBUTING.md
+	INSTALL.md
+	README.md
 )
 
-src_configure() {
-	local mycmakeargs=(
-		-DCMAKE_DISABLE_FIND_PACKAGE_Bfd=$(usex !binutils)
+pkg_setup() {
+	use test && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+	cmake_src_prepare
 
-		-DKCOV_INSTALL_DOCDIR=share/doc/${PF}
-	)
+	if use test; then
+		sed -Ei "/skip_python2/ s/= .+/= True/" tests/tools/test_python.py \
+			|| die
+
+		echo "add_subdirectory (tests)" >> CMakeLists.txt || die
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=( -DKCOV_INSTALL_DOCDIR:PATH="share/doc/${PF}" )
 
 	cmake_src_configure
 }
+
+src_test() {
+	PYTHONPATH="${S}/tests/tools" edo python3 -m libkcov \
+		-v \
+		"${BUILD_DIR}/src/kcov" \
+		"${T}" \
+		"${BUILD_DIR}/tests" \
+		"${S}"
+}
+
+src_install() {
+	cmake_src_install
+
+	rm "${ED}/usr/share/doc/${PF}/doc"/{CMakeLists.txt,kcov.1} || die
+	rm "${ED}/usr/share/doc/${PF}"/COPYING* || die
+}

diff --git a/dev-util/kcov/metadata.xml b/dev-util/kcov/metadata.xml
index 5a02da613ff9..57ed59414176 100644
--- a/dev-util/kcov/metadata.xml
+++ b/dev-util/kcov/metadata.xml
@@ -1,11 +1,50 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person" proxied="yes">
+		<email>beatussum@protonmail.com</email>
+		<name>Mattéo Rossillol‑‑Laruelle</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription>
+		<pkg>dev-util/kcov</pkg> is a FreeBSD/Linux/Mac OS code coverage
+		tester for compiled languages, Python and Bash.
+		<pkg>dev-util/kcov</pkg> was originally a fork of Bcov, but has
+		since evolved to support a large feature set in addition to that
+		of Bcov.
+
+		<pkg>dev-util/kcov</pkg>, like Bcov, uses DWARF debugging
+		information for compiled programs to make it possible to collect
+		coverage information without special compiler switches.
+	</longdescription>
+	<longdescription lang="fr">
+		<pkg>dev-util/kcov</pkg> est un testeur de couverture de code
+		FreeBSD/Linux/Mac OS pour des langages compilés, Python et Bash.
+		<pkg>dev-util/kcov</pkg> est, à l'origine, un fork de Bcov, mais
+		a depuis évolué de manière à supporter un vaste nombre de
+		fonctionnalités en addition de celle Bcov.
+
+		<pkg>dev-util/kcov</pkg>, comme Bcov, utilise les informations
+		de débogage DWARF pour les langages compilés afin de permettre
+		la collecte d'information de couverture sans variations d'un
+		compilateur à l'autre.
+	</longdescription>
 	<use>
-		<flag name="binutils">Use <pkg>sys-libs/binutils-libs</pkg> for --verify support</flag>
+		<flag name="binutils">Use <pkg>sys-libs/binutils-libs</pkg> for `--verify` support</flag>
+	</use>
+	<use lang="fr">
+		<flag name="binutils">Utiliser <pkg>sys-libs/binutils-libs</pkg> pour le support de `--verify`</flag>
 	</use>
 	<upstream>
+		<maintainer status="active">
+			<name>Simon Kågström</name>
+			<email>simon.kagstrom@gmail.com</email>
+		</maintainer>
+		<changelog>https://raw.githubusercontent.com/SimonKagstrom/kcov/master/ChangeLog</changelog>
+		<bugs-to>https://github.com/SimonKagstrom/kcov/issues/</bugs-to>
 		<remote-id type="github">SimonKagstrom/kcov</remote-id>
 	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-08-04  9:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-26 19:53 [gentoo-commits] repo/gentoo:master commit in: dev-util/kcov/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-08-04  9:17 Joonas Niilola
2024-07-30  8:49 Pacho Ramos
2024-07-30  8:49 Pacho Ramos
2022-02-26 19:53 Sam James
2019-04-09  3:14 Austin English
2017-11-28  0:49 Austin English
2017-01-26 19:01 Austin English
2017-01-26 19:01 Austin English
2017-01-25 23:58 Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox