public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2018-02-22 22:16 Jason Donenfeld
  0 siblings, 0 replies; 24+ messages in thread
From: Jason Donenfeld @ 2018-02-22 22:16 UTC (permalink / raw
  To: gentoo-commits

commit:     3a918ea992cc4f3b8e8f14e748d24435a14fda9e
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 22 22:16:05 2018 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Thu Feb 22 22:16:18 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a918ea9

sys-devel/sparse: commit landed upstream finally

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-devel/sparse/sparse-9999.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index aad07d85db7..800ee845a61 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -28,8 +28,6 @@ DEPEND="${RDEPEND}
 	gtk? ( virtual/pkgconfig )
 	xml? ( virtual/pkgconfig )"
 
-PATCHES=( "${FILESDIR}/${PN}-0.5.1-cmdline-include.patch" )
-
 src_prepare() {
 	tc-export AR CC PKG_CONFIG
 	sed -i \


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2018-02-25 19:46 Jason Donenfeld
  0 siblings, 0 replies; 24+ messages in thread
From: Jason Donenfeld @ 2018-02-25 19:46 UTC (permalink / raw
  To: gentoo-commits

commit:     4ca54e22582ec2da3f687f4a2eb818c54381587c
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 19:45:24 2018 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 19:45:59 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca54e22

sys-devel/sparse: update distribution URI

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-devel/sparse/Manifest            | 2 +-
 sys-devel/sparse/sparse-0.5.1.ebuild | 2 +-
 sys-devel/sparse/sparse-9999.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
index 089768e1271..d6cc9aa6606 100644
--- a/sys-devel/sparse/Manifest
+++ b/sys-devel/sparse/Manifest
@@ -1 +1 @@
-DIST sparse-0.5.1.tar.gz 278241 BLAKE2B 6004631c97e2a126d1e239aa1d8fcc540a92b3f63a6a2615f2f63b79a001495e8b27ffa7377c57b43227f3b50288be24cb4657c7801806f7c6d1d11b0f8c8ee9 SHA512 04a26e2b44d99e7402b5e8a8f61ecbd62adbc9c481a0c3c8e0ab2f9599d99f50679ce3f3d0c1ccfd6204c6ec5d9fa272f9fc4c4d21173897ebd592d14c6ee852
+DIST sparse-0.5.1.tar.xz 215144 BLAKE2B 209aa7cf34a9135dae38466a0ba41ff4fb888c363ed59a68a5820d4b6ef1636d717b8172a6d638d9dbc61197efb7a3e06ef85830b6f1c359737520b4b3aa0fbe SHA512 f7fc516ef8343a4153b9bda1b50b326dcd55a77fce5acccd9aa4c5636d6510573c7e26b0a7ca1df847082faf2be2d292336ad1cec855e395703a6b1e04d3a8a1

diff --git a/sys-devel/sparse/sparse-0.5.1.ebuild b/sys-devel/sparse/sparse-0.5.1.ebuild
index aad07d85db7..a2645e71308 100644
--- a/sys-devel/sparse/sparse-0.5.1.ebuild
+++ b/sys-devel/sparse/sparse-0.5.1.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
 	KEYWORDS=""
 else
-	SRC_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git/snapshot/${P}.tar.gz"
+	SRC_URI="mirror://kernel/software/devel/${PN}/dist/${P}.tar.xz"
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
 fi
 

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index 800ee845a61..43d03a624df 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
 	KEYWORDS=""
 else
-	SRC_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git/snapshot/${P}.tar.gz"
+	SRC_URI="mirror://kernel/software/devel/${PN}/dist/${P}.tar.xz"
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
 fi
 


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2018-03-09  1:56 Jason Donenfeld
  0 siblings, 0 replies; 24+ messages in thread
From: Jason Donenfeld @ 2018-03-09  1:56 UTC (permalink / raw
  To: gentoo-commits

commit:     f97a3b2c17462a50d3b65c53bc0d4fea164c4185
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  9 01:56:21 2018 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Mar  9 01:56:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97a3b2c

sys-devel/sparse: version bump

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-devel/sparse/Manifest                |  1 +
 sys-devel/sparse/sparse-0.5.2_rc1.ebuild | 49 ++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
index d6cc9aa6606..438d91cbbf8 100644
--- a/sys-devel/sparse/Manifest
+++ b/sys-devel/sparse/Manifest
@@ -1 +1,2 @@
 DIST sparse-0.5.1.tar.xz 215144 BLAKE2B 209aa7cf34a9135dae38466a0ba41ff4fb888c363ed59a68a5820d4b6ef1636d717b8172a6d638d9dbc61197efb7a3e06ef85830b6f1c359737520b4b3aa0fbe SHA512 f7fc516ef8343a4153b9bda1b50b326dcd55a77fce5acccd9aa4c5636d6510573c7e26b0a7ca1df847082faf2be2d292336ad1cec855e395703a6b1e04d3a8a1
+DIST sparse-0.5.2-rc1.tar.gz 282810 BLAKE2B 74d06230ceb06dac427984c365223633ef795b2f6329c69da5183b9f3444457ee05d74b04b18cf400b4d813026a746218edbf9bc0b2aa371c8a3681ac10ce19b SHA512 b58458b97e91b7d02d032a946d9870a3fd227959608fb7847864ad1a92258aeb0461da513f4d6d3b37791ed8d5fc41ac01cfef0fcaf34b229090ff078672ef40

diff --git a/sys-devel/sparse/sparse-0.5.2_rc1.ebuild b/sys-devel/sparse/sparse-0.5.2_rc1.ebuild
new file mode 100644
index 00000000000..69c8ce4c6c7
--- /dev/null
+++ b/sys-devel/sparse/sparse-0.5.2_rc1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="C semantic parser"
+HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
+
+RC_COMMIT=d1c2f8d3d4205ca1ae7cf0ec2cbd89a7fce73e5c
+
+if [[ ${PV} == "9999" ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
+	KEYWORDS=""
+else
+	SRC_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git/snapshot/${PN}-${RC_COMMIT}.tar.gz -> ${PN}-${PV/_/-}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="gtk llvm test xml"
+
+RDEPEND="gtk? ( x11-libs/gtk+:2 )
+	llvm? ( >=sys-devel/llvm-3.0 )
+	xml? ( dev-libs/libxml2 )"
+DEPEND="${RDEPEND}
+	gtk? ( virtual/pkgconfig )
+	xml? ( virtual/pkgconfig )"
+
+S="${WORKDIR}/sparse-${RC_COMMIT}"
+
+src_prepare() {
+	tc-export AR CC PKG_CONFIG
+	sed -i \
+		-e '/^PREFIX=/s:=.*:=/usr:' \
+		-e "/^LIBDIR=/s:/lib:/$(get_libdir):" \
+		-e '/^COMMON_CFLAGS =/{s:=:= $(CPPFLAGS):;s:-O2 -finline-functions -fno-strict-aliasing -g:-fno-strict-aliasing:}' \
+		-e "s:pkg-config:${PKG_CONFIG}:" \
+		Makefile || die
+	export MAKEOPTS+=" V=1 AR=${AR} CC=${CC} HAVE_GTK2=$(usex gtk) HAVE_LLVM=$(usex llvm) HAVE_LIBXML=$(usex xml)"
+	default
+}
+
+src_compile() {
+	emake $(usex test all all-installable)
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2019-01-26 22:08 Sergei Trofimovich
  0 siblings, 0 replies; 24+ messages in thread
From: Sergei Trofimovich @ 2019-01-26 22:08 UTC (permalink / raw
  To: gentoo-commits

commit:     5175a633115848cad72eeabfc995f2fcc449090d
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 26 22:07:34 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jan 26 22:07:54 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5175a633

sys-devel/sparse: drop 'install-all' reference, bug #671356

Daniel reports that install-all disappeared in
https://git.kernel.org/pub/scm/devel/sparse/sparse.git/commit/Makefile?id=3b7d5e200ac64de2914b930933491b548b3d0bc0
and now breaks the build.

Use default 'make all' unconditionally.

Reported-by: Daniel M. Weeks
Closes: https://bugs.gentoo.org/671356
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/sparse/sparse-9999.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index 43d03a624df..8850a866452 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -39,7 +39,3 @@ src_prepare() {
 	export MAKEOPTS+=" V=1 AR=${AR} CC=${CC} HAVE_GTK2=$(usex gtk) HAVE_LLVM=$(usex llvm) HAVE_LIBXML=$(usex xml)"
 	default
 }
-
-src_compile() {
-	emake $(usex test all all-installable)
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2019-01-28 21:44 Sergei Trofimovich
  0 siblings, 0 replies; 24+ messages in thread
From: Sergei Trofimovich @ 2019-01-28 21:44 UTC (permalink / raw
  To: gentoo-commits

commit:     589994af5895f33871c58b02ceceaef139907e53
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 28 21:29:59 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Jan 28 21:43:53 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=589994af

sys-devel/sparse: install into /usr, not $HOME, bug #676626

Daniel noticed sparse-9999 installs into /tmp due to
upstream switch to 'PREFIX ?= $(HOME)'.

Cleaned up live ebuild to stop mangling MAKEOPTS.

Reported-by: Daniel M. Weeks
Closes: https://bugs.gentoo.org/676626
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/sparse/sparse-9999.ebuild | 44 +++++++++++++++++++++++++++----------
 1 file changed, 33 insertions(+), 11 deletions(-)

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index 8850a866452..41c95d2e55f 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit eutils multilib toolchain-funcs
 
@@ -28,14 +28,36 @@ DEPEND="${RDEPEND}
 	gtk? ( virtual/pkgconfig )
 	xml? ( virtual/pkgconfig )"
 
-src_prepare() {
-	tc-export AR CC PKG_CONFIG
-	sed -i \
-		-e '/^PREFIX=/s:=.*:=/usr:' \
-		-e "/^LIBDIR=/s:/lib:/$(get_libdir):" \
-		-e '/^COMMON_CFLAGS =/{s:=:= $(CPPFLAGS):;s:-O2 -finline-functions -fno-strict-aliasing -g:-fno-strict-aliasing:}' \
-		-e "s:pkg-config:${PKG_CONFIG}:" \
-		Makefile || die
-	export MAKEOPTS+=" V=1 AR=${AR} CC=${CC} HAVE_GTK2=$(usex gtk) HAVE_LLVM=$(usex llvm) HAVE_LIBXML=$(usex xml)"
-	default
+_emake() {
+	# Makefile does not allow for an easy override of flags.
+	# Collect them here and override default phases.
+	emake \
+		CC="$(tc-getCC)" \
+		LD="$(tc-getCC)" \
+		AR="$(tc-getAR)" \
+		CFLAGS="${CFLAGS}" \
+		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+		\
+		HAVE_GTK=$(usex gtk) \
+		HAVE_LLVM=$(usex llvm) \
+		HAVE_LIBXML=$(usex xml) \
+		\
+		V=1 \
+		PREFIX="${EPREFIX}/usr" \
+		\
+		"$@"
+}
+
+src_compile() {
+	_emake
+}
+
+src_test() {
+	_emake check
+}
+
+src_install() {
+	_emake DESTDIR="${D}" install
+
+	dodoc FAQ README
 }


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2019-01-28 21:44 Sergei Trofimovich
  0 siblings, 0 replies; 24+ messages in thread
From: Sergei Trofimovich @ 2019-01-28 21:44 UTC (permalink / raw
  To: gentoo-commits

commit:     35c017320368616640c69aa948f72cde06d06035
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 28 21:33:56 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Jan 28 21:43:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35c01732

sys-devel/sparse: bump up to 0.6.0, bug #676628

Reported-by: Daniel M. Weeks
Closes: https://bugs.gentoo.org/676628
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/sparse/Manifest            |  1 +
 sys-devel/sparse/sparse-0.6.0.ebuild | 63 ++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
index 438d91cbbf8..894cb6a6750 100644
--- a/sys-devel/sparse/Manifest
+++ b/sys-devel/sparse/Manifest
@@ -1,2 +1,3 @@
 DIST sparse-0.5.1.tar.xz 215144 BLAKE2B 209aa7cf34a9135dae38466a0ba41ff4fb888c363ed59a68a5820d4b6ef1636d717b8172a6d638d9dbc61197efb7a3e06ef85830b6f1c359737520b4b3aa0fbe SHA512 f7fc516ef8343a4153b9bda1b50b326dcd55a77fce5acccd9aa4c5636d6510573c7e26b0a7ca1df847082faf2be2d292336ad1cec855e395703a6b1e04d3a8a1
 DIST sparse-0.5.2-rc1.tar.gz 282810 BLAKE2B 74d06230ceb06dac427984c365223633ef795b2f6329c69da5183b9f3444457ee05d74b04b18cf400b4d813026a746218edbf9bc0b2aa371c8a3681ac10ce19b SHA512 b58458b97e91b7d02d032a946d9870a3fd227959608fb7847864ad1a92258aeb0461da513f4d6d3b37791ed8d5fc41ac01cfef0fcaf34b229090ff078672ef40
+DIST sparse-0.6.0.tar.xz 284668 BLAKE2B 9bb568fe23ac96d6e179e5c5927ff34e9fc88909d367f6ab49c8862a8e599df83602ba72bc42ba3bf63823b024340f101128c528ebf767f4e29da7f5324a1f40 SHA512 5c6c88f203c941bf0efd28802ef91641c96e7d4b4688a5176d091ff0fd6a650d9147e590b631602a8bd08994a35261977569367861a6d605ccdd25e4a07debf9

diff --git a/sys-devel/sparse/sparse-0.6.0.ebuild b/sys-devel/sparse/sparse-0.6.0.ebuild
new file mode 100644
index 00000000000..41c95d2e55f
--- /dev/null
+++ b/sys-devel/sparse/sparse-0.6.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="C semantic parser"
+HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
+
+if [[ ${PV} == "9999" ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
+	KEYWORDS=""
+else
+	SRC_URI="mirror://kernel/software/devel/${PN}/dist/${P}.tar.xz"
+	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="gtk llvm test xml"
+
+RDEPEND="gtk? ( x11-libs/gtk+:2 )
+	llvm? ( >=sys-devel/llvm-3.0 )
+	xml? ( dev-libs/libxml2 )"
+DEPEND="${RDEPEND}
+	gtk? ( virtual/pkgconfig )
+	xml? ( virtual/pkgconfig )"
+
+_emake() {
+	# Makefile does not allow for an easy override of flags.
+	# Collect them here and override default phases.
+	emake \
+		CC="$(tc-getCC)" \
+		LD="$(tc-getCC)" \
+		AR="$(tc-getAR)" \
+		CFLAGS="${CFLAGS}" \
+		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+		\
+		HAVE_GTK=$(usex gtk) \
+		HAVE_LLVM=$(usex llvm) \
+		HAVE_LIBXML=$(usex xml) \
+		\
+		V=1 \
+		PREFIX="${EPREFIX}/usr" \
+		\
+		"$@"
+}
+
+src_compile() {
+	_emake
+}
+
+src_test() {
+	_emake check
+}
+
+src_install() {
+	_emake DESTDIR="${D}" install
+
+	dodoc FAQ README
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2019-10-05 18:56 Michał Górny
  0 siblings, 0 replies; 24+ messages in thread
From: Michał Górny @ 2019-10-05 18:56 UTC (permalink / raw
  To: gentoo-commits

commit:     8c7b7cd9436ed107955a517ed6a55f89d94b14b9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 30 06:49:07 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct  5 18:54:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c7b7cd9

sys-devel/sparse: Inline mirror://kernel

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/sparse/sparse-0.5.1.ebuild | 2 +-
 sys-devel/sparse/sparse-0.6.0.ebuild | 2 +-
 sys-devel/sparse/sparse-9999.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-devel/sparse/sparse-0.5.1.ebuild b/sys-devel/sparse/sparse-0.5.1.ebuild
index a2645e71308..75591c9bf3a 100644
--- a/sys-devel/sparse/sparse-0.5.1.ebuild
+++ b/sys-devel/sparse/sparse-0.5.1.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
 	KEYWORDS=""
 else
-	SRC_URI="mirror://kernel/software/devel/${PN}/dist/${P}.tar.xz"
+	SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
 fi
 

diff --git a/sys-devel/sparse/sparse-0.6.0.ebuild b/sys-devel/sparse/sparse-0.6.0.ebuild
index 41c95d2e55f..3276afff198 100644
--- a/sys-devel/sparse/sparse-0.6.0.ebuild
+++ b/sys-devel/sparse/sparse-0.6.0.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
 	KEYWORDS=""
 else
-	SRC_URI="mirror://kernel/software/devel/${PN}/dist/${P}.tar.xz"
+	SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
 fi
 

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index 41c95d2e55f..3276afff198 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
 	KEYWORDS=""
 else
-	SRC_URI="mirror://kernel/software/devel/${PN}/dist/${P}.tar.xz"
+	SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
 fi
 


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2020-02-26 13:42 Sergei Trofimovich
  0 siblings, 0 replies; 24+ messages in thread
From: Sergei Trofimovich @ 2020-02-26 13:42 UTC (permalink / raw
  To: gentoo-commits

commit:     67e02a1ba8aa9f38bae2bde574beed1a8e1ff8b2
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 26 13:42:34 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Feb 26 13:42:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e02a1b

sys-devel/sparse: bump up to 0.6.1

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/sparse/Manifest            |  1 +
 sys-devel/sparse/sparse-0.6.1.ebuild | 64 ++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
index 894cb6a6750..0b6c7726fdd 100644
--- a/sys-devel/sparse/Manifest
+++ b/sys-devel/sparse/Manifest
@@ -1,3 +1,4 @@
 DIST sparse-0.5.1.tar.xz 215144 BLAKE2B 209aa7cf34a9135dae38466a0ba41ff4fb888c363ed59a68a5820d4b6ef1636d717b8172a6d638d9dbc61197efb7a3e06ef85830b6f1c359737520b4b3aa0fbe SHA512 f7fc516ef8343a4153b9bda1b50b326dcd55a77fce5acccd9aa4c5636d6510573c7e26b0a7ca1df847082faf2be2d292336ad1cec855e395703a6b1e04d3a8a1
 DIST sparse-0.5.2-rc1.tar.gz 282810 BLAKE2B 74d06230ceb06dac427984c365223633ef795b2f6329c69da5183b9f3444457ee05d74b04b18cf400b4d813026a746218edbf9bc0b2aa371c8a3681ac10ce19b SHA512 b58458b97e91b7d02d032a946d9870a3fd227959608fb7847864ad1a92258aeb0461da513f4d6d3b37791ed8d5fc41ac01cfef0fcaf34b229090ff078672ef40
 DIST sparse-0.6.0.tar.xz 284668 BLAKE2B 9bb568fe23ac96d6e179e5c5927ff34e9fc88909d367f6ab49c8862a8e599df83602ba72bc42ba3bf63823b024340f101128c528ebf767f4e29da7f5324a1f40 SHA512 5c6c88f203c941bf0efd28802ef91641c96e7d4b4688a5176d091ff0fd6a650d9147e590b631602a8bd08994a35261977569367861a6d605ccdd25e4a07debf9
+DIST sparse-0.6.1.tar.xz 287880 BLAKE2B 026e7770460ab576b91e8c401c642e95269ddd7c90c0f855b0246448ca653b95a899b4bf647134c090c06c802757b6415dcc89bc214fb7ff124c2ce3888fccb0 SHA512 2faad9b3263f19f941cd6a5891960d2c7d1066c664d3ef68e722d461785aeed2d4a9539df3556bbd98c022e7ee965b8030c49272ab6003113ba3b36f73c00187

diff --git a/sys-devel/sparse/sparse-0.6.1.ebuild b/sys-devel/sparse/sparse-0.6.1.ebuild
new file mode 100644
index 00000000000..8828d2b9230
--- /dev/null
+++ b/sys-devel/sparse/sparse-0.6.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="C semantic parser"
+HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
+
+if [[ ${PV} == "9999" ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
+	KEYWORDS=""
+else
+	SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
+	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="gtk llvm test xml"
+RESTRICT="!test? ( test )"
+
+RDEPEND="gtk? ( x11-libs/gtk+:2 )
+	llvm? ( >=sys-devel/llvm-3.0 )
+	xml? ( dev-libs/libxml2 )"
+DEPEND="${RDEPEND}
+	gtk? ( virtual/pkgconfig )
+	xml? ( virtual/pkgconfig )"
+
+_emake() {
+	# Makefile does not allow for an easy override of flags.
+	# Collect them here and override default phases.
+	emake \
+		CC="$(tc-getCC)" \
+		LD="$(tc-getCC)" \
+		AR="$(tc-getAR)" \
+		CFLAGS="${CFLAGS}" \
+		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+		\
+		HAVE_GTK=$(usex gtk) \
+		HAVE_LLVM=$(usex llvm) \
+		HAVE_LIBXML=$(usex xml) \
+		\
+		V=1 \
+		PREFIX="${EPREFIX}/usr" \
+		\
+		"$@"
+}
+
+src_compile() {
+	_emake
+}
+
+src_test() {
+	_emake check
+}
+
+src_install() {
+	_emake DESTDIR="${D}" install
+
+	dodoc FAQ README
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2020-02-26 18:46 Sergei Trofimovich
  0 siblings, 0 replies; 24+ messages in thread
From: Sergei Trofimovich @ 2020-02-26 18:46 UTC (permalink / raw
  To: gentoo-commits

commit:     e7f7c4605c082e91ddf8d62b497e5266cb2a8668
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 26 18:46:00 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Feb 26 18:46:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7f7c460

sys-devel/sparse: pin to specific LLVM slot

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/sparse/sparse-0.6.1.ebuild | 6 ++++--
 sys-devel/sparse/sparse-9999.ebuild  | 8 +++++---
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/sys-devel/sparse/sparse-0.6.1.ebuild b/sys-devel/sparse/sparse-0.6.1.ebuild
index 8828d2b9230..8df52ef8a1e 100644
--- a/sys-devel/sparse/sparse-0.6.1.ebuild
+++ b/sys-devel/sparse/sparse-0.6.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit eutils multilib toolchain-funcs
+inherit eutils llvm multilib toolchain-funcs
 
 DESCRIPTION="C semantic parser"
 HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
@@ -22,8 +22,10 @@ SLOT="0"
 IUSE="gtk llvm test xml"
 RESTRICT="!test? ( test )"
 
+LLVM_MAX_SLOT=9
+
 RDEPEND="gtk? ( x11-libs/gtk+:2 )
-	llvm? ( >=sys-devel/llvm-3.0 )
+	llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
 	xml? ( dev-libs/libxml2 )"
 DEPEND="${RDEPEND}
 	gtk? ( virtual/pkgconfig )

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index fa4c7a97fab..8df52ef8a1e 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit eutils multilib toolchain-funcs
+inherit eutils llvm multilib toolchain-funcs
 
 DESCRIPTION="C semantic parser"
 HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
@@ -22,8 +22,10 @@ SLOT="0"
 IUSE="gtk llvm test xml"
 RESTRICT="!test? ( test )"
 
+LLVM_MAX_SLOT=9
+
 RDEPEND="gtk? ( x11-libs/gtk+:2 )
-	llvm? ( >=sys-devel/llvm-3.0 )
+	llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
 	xml? ( dev-libs/libxml2 )"
 DEPEND="${RDEPEND}
 	gtk? ( virtual/pkgconfig )


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2020-04-01  7:31 Sergei Trofimovich
  0 siblings, 0 replies; 24+ messages in thread
From: Sergei Trofimovich @ 2020-04-01  7:31 UTC (permalink / raw
  To: gentoo-commits

commit:     c2c65397e5216438e57834a908c09c629bbacfa0
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  1 07:30:34 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Apr  1 07:30:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2c65397

sys-devel/sparse: skip llvm detection for USE=-llvm, bug #715376

Patch by Jeroen Roovers.

Reported-and-Fixed-by: Jeroen Roovers
Closes: https://bugs.gentoo.org/715376
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/sparse/sparse-0.6.1.ebuild | 4 ++++
 sys-devel/sparse/sparse-9999.ebuild  | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/sys-devel/sparse/sparse-0.6.1.ebuild b/sys-devel/sparse/sparse-0.6.1.ebuild
index ca577f5defa..d058d2c9ea4 100644
--- a/sys-devel/sparse/sparse-0.6.1.ebuild
+++ b/sys-devel/sparse/sparse-0.6.1.ebuild
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}
 	gtk? ( virtual/pkgconfig )
 	xml? ( virtual/pkgconfig )"
 
+pkg_setup() {
+	use llvm && llvm_pkg_setup
+}
+
 _emake() {
 	# Makefile does not allow for an easy override of flags.
 	# Collect them here and override default phases.

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index ca577f5defa..d058d2c9ea4 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}
 	gtk? ( virtual/pkgconfig )
 	xml? ( virtual/pkgconfig )"
 
+pkg_setup() {
+	use llvm && llvm_pkg_setup
+}
+
 _emake() {
 	# Makefile does not allow for an easy override of flags.
 	# Collect them here and override default phases.


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2020-06-28 22:43 Sergei Trofimovich
  0 siblings, 0 replies; 24+ messages in thread
From: Sergei Trofimovich @ 2020-06-28 22:43 UTC (permalink / raw
  To: gentoo-commits

commit:     a28d87e0ebf5308b62d86b81abeb02f8b0cd5c67
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 28 22:24:28 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jun 28 22:43:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a28d87e0

sys-devel/sparse: drop old

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/sparse/Manifest                |  3 --
 sys-devel/sparse/sparse-0.5.1.ebuild     | 48 ------------------------
 sys-devel/sparse/sparse-0.5.2_rc1.ebuild | 50 -------------------------
 sys-devel/sparse/sparse-0.6.0.ebuild     | 64 --------------------------------
 4 files changed, 165 deletions(-)

diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
index 0b6c7726fdd..69ecd80dccb 100644
--- a/sys-devel/sparse/Manifest
+++ b/sys-devel/sparse/Manifest
@@ -1,4 +1 @@
-DIST sparse-0.5.1.tar.xz 215144 BLAKE2B 209aa7cf34a9135dae38466a0ba41ff4fb888c363ed59a68a5820d4b6ef1636d717b8172a6d638d9dbc61197efb7a3e06ef85830b6f1c359737520b4b3aa0fbe SHA512 f7fc516ef8343a4153b9bda1b50b326dcd55a77fce5acccd9aa4c5636d6510573c7e26b0a7ca1df847082faf2be2d292336ad1cec855e395703a6b1e04d3a8a1
-DIST sparse-0.5.2-rc1.tar.gz 282810 BLAKE2B 74d06230ceb06dac427984c365223633ef795b2f6329c69da5183b9f3444457ee05d74b04b18cf400b4d813026a746218edbf9bc0b2aa371c8a3681ac10ce19b SHA512 b58458b97e91b7d02d032a946d9870a3fd227959608fb7847864ad1a92258aeb0461da513f4d6d3b37791ed8d5fc41ac01cfef0fcaf34b229090ff078672ef40
-DIST sparse-0.6.0.tar.xz 284668 BLAKE2B 9bb568fe23ac96d6e179e5c5927ff34e9fc88909d367f6ab49c8862a8e599df83602ba72bc42ba3bf63823b024340f101128c528ebf767f4e29da7f5324a1f40 SHA512 5c6c88f203c941bf0efd28802ef91641c96e7d4b4688a5176d091ff0fd6a650d9147e590b631602a8bd08994a35261977569367861a6d605ccdd25e4a07debf9
 DIST sparse-0.6.1.tar.xz 287880 BLAKE2B 026e7770460ab576b91e8c401c642e95269ddd7c90c0f855b0246448ca653b95a899b4bf647134c090c06c802757b6415dcc89bc214fb7ff124c2ce3888fccb0 SHA512 2faad9b3263f19f941cd6a5891960d2c7d1066c664d3ef68e722d461785aeed2d4a9539df3556bbd98c022e7ee965b8030c49272ab6003113ba3b36f73c00187

diff --git a/sys-devel/sparse/sparse-0.5.1.ebuild b/sys-devel/sparse/sparse-0.5.1.ebuild
deleted file mode 100644
index 45819e26886..00000000000
--- a/sys-devel/sparse/sparse-0.5.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="C semantic parser"
-HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
-
-if [[ ${PV} == "9999" ]] ; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
-	KEYWORDS=""
-else
-	SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
-	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="gtk llvm test xml"
-RESTRICT="!test? ( test )"
-
-RDEPEND="gtk? ( x11-libs/gtk+:2 )
-	llvm? ( >=sys-devel/llvm-3.0 )
-	xml? ( dev-libs/libxml2 )"
-DEPEND="${RDEPEND}
-	gtk? ( virtual/pkgconfig )
-	xml? ( virtual/pkgconfig )"
-
-PATCHES=( "${FILESDIR}/${PN}-0.5.1-cmdline-include.patch" )
-
-src_prepare() {
-	tc-export AR CC PKG_CONFIG
-	sed -i \
-		-e '/^PREFIX=/s:=.*:=/usr:' \
-		-e "/^LIBDIR=/s:/lib:/$(get_libdir):" \
-		-e '/^COMMON_CFLAGS =/{s:=:= $(CPPFLAGS):;s:-O2 -finline-functions -fno-strict-aliasing -g:-fno-strict-aliasing:}' \
-		-e "s:pkg-config:${PKG_CONFIG}:" \
-		Makefile || die
-	export MAKEOPTS+=" V=1 AR=${AR} CC=${CC} HAVE_GTK2=$(usex gtk) HAVE_LLVM=$(usex llvm) HAVE_LIBXML=$(usex xml)"
-	default
-}
-
-src_compile() {
-	emake $(usex test all all-installable)
-}

diff --git a/sys-devel/sparse/sparse-0.5.2_rc1.ebuild b/sys-devel/sparse/sparse-0.5.2_rc1.ebuild
deleted file mode 100644
index ad1d4593113..00000000000
--- a/sys-devel/sparse/sparse-0.5.2_rc1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="C semantic parser"
-HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
-
-RC_COMMIT=d1c2f8d3d4205ca1ae7cf0ec2cbd89a7fce73e5c
-
-if [[ ${PV} == "9999" ]] ; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
-	KEYWORDS=""
-else
-	SRC_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git/snapshot/${PN}-${RC_COMMIT}.tar.gz -> ${PN}-${PV/_/-}.tar.gz"
-	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="gtk llvm test xml"
-RESTRICT="!test? ( test )"
-
-RDEPEND="gtk? ( x11-libs/gtk+:2 )
-	llvm? ( >=sys-devel/llvm-3.0 )
-	xml? ( dev-libs/libxml2 )"
-DEPEND="${RDEPEND}
-	gtk? ( virtual/pkgconfig )
-	xml? ( virtual/pkgconfig )"
-
-S="${WORKDIR}/sparse-${RC_COMMIT}"
-
-src_prepare() {
-	tc-export AR CC PKG_CONFIG
-	sed -i \
-		-e '/^PREFIX=/s:=.*:=/usr:' \
-		-e "/^LIBDIR=/s:/lib:/$(get_libdir):" \
-		-e '/^COMMON_CFLAGS =/{s:=:= $(CPPFLAGS):;s:-O2 -finline-functions -fno-strict-aliasing -g:-fno-strict-aliasing:}' \
-		-e "s:pkg-config:${PKG_CONFIG}:" \
-		Makefile || die
-	export MAKEOPTS+=" V=1 AR=${AR} CC=${CC} HAVE_GTK2=$(usex gtk) HAVE_LLVM=$(usex llvm) HAVE_LIBXML=$(usex xml)"
-	default
-}
-
-src_compile() {
-	emake $(usex test all all-installable)
-}

diff --git a/sys-devel/sparse/sparse-0.6.0.ebuild b/sys-devel/sparse/sparse-0.6.0.ebuild
deleted file mode 100644
index 1b776ebd0a1..00000000000
--- a/sys-devel/sparse/sparse-0.6.0.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="C semantic parser"
-HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
-
-if [[ ${PV} == "9999" ]] ; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
-	KEYWORDS=""
-else
-	SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
-	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="gtk llvm test xml"
-RESTRICT="!test? ( test )"
-
-RDEPEND="gtk? ( x11-libs/gtk+:2 )
-	llvm? ( >=sys-devel/llvm-3.0 )
-	xml? ( dev-libs/libxml2 )"
-DEPEND="${RDEPEND}
-	gtk? ( virtual/pkgconfig )
-	xml? ( virtual/pkgconfig )"
-
-_emake() {
-	# Makefile does not allow for an easy override of flags.
-	# Collect them here and override default phases.
-	emake \
-		CC="$(tc-getCC)" \
-		LD="$(tc-getCC)" \
-		AR="$(tc-getAR)" \
-		CFLAGS="${CFLAGS}" \
-		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-		\
-		HAVE_GTK=$(usex gtk) \
-		HAVE_LLVM=$(usex llvm) \
-		HAVE_LIBXML=$(usex xml) \
-		\
-		V=1 \
-		PREFIX="${EPREFIX}/usr" \
-		\
-		"$@"
-}
-
-src_compile() {
-	_emake
-}
-
-src_test() {
-	_emake check
-}
-
-src_install() {
-	_emake DESTDIR="${D}" install
-
-	dodoc FAQ README
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2020-07-12 21:37 Sergei Trofimovich
  0 siblings, 0 replies; 24+ messages in thread
From: Sergei Trofimovich @ 2020-07-12 21:37 UTC (permalink / raw
  To: gentoo-commits

commit:     4496cbadab513d1fad737d48637a5a731b37b537
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 12 21:37:05 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jul 12 21:37:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4496cbad

sys-devel/sparse: bump up to 0.6.2

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/sparse/Manifest                                    | 1 +
 sys-devel/sparse/{sparse-9999.ebuild => sparse-0.6.2.ebuild} | 6 ++++--
 sys-devel/sparse/sparse-9999.ebuild                          | 6 ++++--
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
index 69ecd80dccb..088da04a4f8 100644
--- a/sys-devel/sparse/Manifest
+++ b/sys-devel/sparse/Manifest
@@ -1 +1,2 @@
 DIST sparse-0.6.1.tar.xz 287880 BLAKE2B 026e7770460ab576b91e8c401c642e95269ddd7c90c0f855b0246448ca653b95a899b4bf647134c090c06c802757b6415dcc89bc214fb7ff124c2ce3888fccb0 SHA512 2faad9b3263f19f941cd6a5891960d2c7d1066c664d3ef68e722d461785aeed2d4a9539df3556bbd98c022e7ee965b8030c49272ab6003113ba3b36f73c00187
+DIST sparse-0.6.2.tar.xz 340100 BLAKE2B 72463fe93753f2cdced3411d1ccb18cc30dce82c4f6ae6289cf4297c66cee9f52ba96f96cceac1f134b017a7d6691b019c2f22cc801522e7a0fe0c5e0b4c8da4 SHA512 43c16b5cb4141077dd51f93e877e28e1a00e69ced58a9c8f643635b6f87a8044cddfe29a734b4a43282748e12f287b19b4fb3ce8c5e0b13931a3355974dff982

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-0.6.2.ebuild
similarity index 92%
copy from sys-devel/sparse/sparse-9999.ebuild
copy to sys-devel/sparse/sparse-0.6.2.ebuild
index d058d2c9ea4..8860a29313e 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-0.6.2.ebuild
@@ -19,13 +19,14 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="gtk llvm test xml"
+IUSE="gtk llvm sqlite test xml"
 RESTRICT="!test? ( test )"
 
-LLVM_MAX_SLOT=9
+LLVM_MAX_SLOT=10
 
 RDEPEND="gtk? ( x11-libs/gtk+:2 )
 	llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
+	sqlite? ( dev-db/sqlite:= )
 	xml? ( dev-libs/libxml2 )"
 DEPEND="${RDEPEND}
 	gtk? ( virtual/pkgconfig )
@@ -47,6 +48,7 @@ _emake() {
 		\
 		HAVE_GTK=$(usex gtk) \
 		HAVE_LLVM=$(usex llvm) \
+		HAVE_SQLITE=$(usex sqlite) \
 		HAVE_LIBXML=$(usex xml) \
 		\
 		V=1 \

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index d058d2c9ea4..8860a29313e 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -19,13 +19,14 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="gtk llvm test xml"
+IUSE="gtk llvm sqlite test xml"
 RESTRICT="!test? ( test )"
 
-LLVM_MAX_SLOT=9
+LLVM_MAX_SLOT=10
 
 RDEPEND="gtk? ( x11-libs/gtk+:2 )
 	llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
+	sqlite? ( dev-db/sqlite:= )
 	xml? ( dev-libs/libxml2 )"
 DEPEND="${RDEPEND}
 	gtk? ( virtual/pkgconfig )
@@ -47,6 +48,7 @@ _emake() {
 		\
 		HAVE_GTK=$(usex gtk) \
 		HAVE_LLVM=$(usex llvm) \
+		HAVE_SQLITE=$(usex sqlite) \
 		HAVE_LIBXML=$(usex xml) \
 		\
 		V=1 \


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2020-12-18  9:53 Sergei Trofimovich
  0 siblings, 0 replies; 24+ messages in thread
From: Sergei Trofimovich @ 2020-12-18  9:53 UTC (permalink / raw
  To: gentoo-commits

commit:     df03cc4846c465c4c1f685ee599ddd4efe1226a7
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 18 09:43:01 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Dec 18 09:52:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df03cc48

sys-devel/sparse: drop old

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/sparse/Manifest            |  1 -
 sys-devel/sparse/sparse-0.6.1.ebuild | 70 ------------------------------------
 2 files changed, 71 deletions(-)

diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
index 088da04a4f8..e026163b79b 100644
--- a/sys-devel/sparse/Manifest
+++ b/sys-devel/sparse/Manifest
@@ -1,2 +1 @@
-DIST sparse-0.6.1.tar.xz 287880 BLAKE2B 026e7770460ab576b91e8c401c642e95269ddd7c90c0f855b0246448ca653b95a899b4bf647134c090c06c802757b6415dcc89bc214fb7ff124c2ce3888fccb0 SHA512 2faad9b3263f19f941cd6a5891960d2c7d1066c664d3ef68e722d461785aeed2d4a9539df3556bbd98c022e7ee965b8030c49272ab6003113ba3b36f73c00187
 DIST sparse-0.6.2.tar.xz 340100 BLAKE2B 72463fe93753f2cdced3411d1ccb18cc30dce82c4f6ae6289cf4297c66cee9f52ba96f96cceac1f134b017a7d6691b019c2f22cc801522e7a0fe0c5e0b4c8da4 SHA512 43c16b5cb4141077dd51f93e877e28e1a00e69ced58a9c8f643635b6f87a8044cddfe29a734b4a43282748e12f287b19b4fb3ce8c5e0b13931a3355974dff982

diff --git a/sys-devel/sparse/sparse-0.6.1.ebuild b/sys-devel/sparse/sparse-0.6.1.ebuild
deleted file mode 100644
index d058d2c9ea4..00000000000
--- a/sys-devel/sparse/sparse-0.6.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit eutils llvm multilib toolchain-funcs
-
-DESCRIPTION="C semantic parser"
-HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
-
-if [[ ${PV} == "9999" ]] ; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
-	KEYWORDS=""
-else
-	SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
-	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="gtk llvm test xml"
-RESTRICT="!test? ( test )"
-
-LLVM_MAX_SLOT=9
-
-RDEPEND="gtk? ( x11-libs/gtk+:2 )
-	llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
-	xml? ( dev-libs/libxml2 )"
-DEPEND="${RDEPEND}
-	gtk? ( virtual/pkgconfig )
-	xml? ( virtual/pkgconfig )"
-
-pkg_setup() {
-	use llvm && llvm_pkg_setup
-}
-
-_emake() {
-	# Makefile does not allow for an easy override of flags.
-	# Collect them here and override default phases.
-	emake \
-		CC="$(tc-getCC)" \
-		LD="$(tc-getCC)" \
-		AR="$(tc-getAR)" \
-		CFLAGS="${CFLAGS}" \
-		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-		\
-		HAVE_GTK=$(usex gtk) \
-		HAVE_LLVM=$(usex llvm) \
-		HAVE_LIBXML=$(usex xml) \
-		\
-		V=1 \
-		PREFIX="${EPREFIX}/usr" \
-		\
-		"$@"
-}
-
-src_compile() {
-	_emake
-}
-
-src_test() {
-	_emake check
-}
-
-src_install() {
-	_emake DESTDIR="${D}" install
-
-	dodoc FAQ README
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2021-02-15  0:32 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2021-02-15  0:32 UTC (permalink / raw
  To: gentoo-commits

commit:     e61b2b917ac108ddae1fa2dd551fe66cda777900
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 23:27:49 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 15 00:32:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e61b2b91

sys-devel/sparse: fix double KEYWORDS

Double KEYWORDS lines break tools like ekeyword and Nattka.
As per PMS, blank/empty KEYWORDS is implied by not defining
the variable.

See: https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0105
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/sparse/sparse-0.6.2.ebuild | 3 +--
 sys-devel/sparse/sparse-9999.ebuild  | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys-devel/sparse/sparse-0.6.2.ebuild b/sys-devel/sparse/sparse-0.6.2.ebuild
index 8860a29313e..34da20a600a 100644
--- a/sys-devel/sparse/sparse-0.6.2.ebuild
+++ b/sys-devel/sparse/sparse-0.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,6 @@ HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
 if [[ ${PV} == "9999" ]] ; then
 	inherit git-r3
 	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
-	KEYWORDS=""
 else
 	SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index 8860a29313e..34da20a600a 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,6 @@ HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
 if [[ ${PV} == "9999" ]] ; then
 	inherit git-r3
 	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
-	KEYWORDS=""
 else
 	SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2021-02-25  9:18 Sergei Trofimovich
  0 siblings, 0 replies; 24+ messages in thread
From: Sergei Trofimovich @ 2021-02-25  9:18 UTC (permalink / raw
  To: gentoo-commits

commit:     4bbd96b2a5e8ca66775082c6dc238ab216a3ac0a
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 25 09:18:48 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Feb 25 09:18:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bbd96b2

sys-devel/sparse: bump up to 0.6.3

Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/sparse/Manifest            |  1 +
 sys-devel/sparse/sparse-0.6.3.ebuild | 71 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
index e026163b79b..5539731c02c 100644
--- a/sys-devel/sparse/Manifest
+++ b/sys-devel/sparse/Manifest
@@ -1 +1,2 @@
 DIST sparse-0.6.2.tar.xz 340100 BLAKE2B 72463fe93753f2cdced3411d1ccb18cc30dce82c4f6ae6289cf4297c66cee9f52ba96f96cceac1f134b017a7d6691b019c2f22cc801522e7a0fe0c5e0b4c8da4 SHA512 43c16b5cb4141077dd51f93e877e28e1a00e69ced58a9c8f643635b6f87a8044cddfe29a734b4a43282748e12f287b19b4fb3ce8c5e0b13931a3355974dff982
+DIST sparse-0.6.3.tar.xz 350676 BLAKE2B 5c8f54f3b7d2095df30b9a59a151e307ebedac5dbb6910ab5684b298c2b427e55dd43697e698fd289fb0d8e824ba4d72c2761772babb9f438e622f439ab3448d SHA512 33170065ea5967d7c640a7551acc78d7efee9f7aa6a9edf6afe2cdd8a04ea5cebe7b5dcdeebf791d384542b8bcdd4e818c75e7ae2e7aa4e1edbd56b68367b28f

diff --git a/sys-devel/sparse/sparse-0.6.3.ebuild b/sys-devel/sparse/sparse-0.6.3.ebuild
new file mode 100644
index 00000000000..34da20a600a
--- /dev/null
+++ b/sys-devel/sparse/sparse-0.6.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils llvm multilib toolchain-funcs
+
+DESCRIPTION="C semantic parser"
+HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
+
+if [[ ${PV} == "9999" ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
+else
+	SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
+	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="gtk llvm sqlite test xml"
+RESTRICT="!test? ( test )"
+
+LLVM_MAX_SLOT=10
+
+RDEPEND="gtk? ( x11-libs/gtk+:2 )
+	llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
+	sqlite? ( dev-db/sqlite:= )
+	xml? ( dev-libs/libxml2 )"
+DEPEND="${RDEPEND}
+	gtk? ( virtual/pkgconfig )
+	xml? ( virtual/pkgconfig )"
+
+pkg_setup() {
+	use llvm && llvm_pkg_setup
+}
+
+_emake() {
+	# Makefile does not allow for an easy override of flags.
+	# Collect them here and override default phases.
+	emake \
+		CC="$(tc-getCC)" \
+		LD="$(tc-getCC)" \
+		AR="$(tc-getAR)" \
+		CFLAGS="${CFLAGS}" \
+		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+		\
+		HAVE_GTK=$(usex gtk) \
+		HAVE_LLVM=$(usex llvm) \
+		HAVE_SQLITE=$(usex sqlite) \
+		HAVE_LIBXML=$(usex xml) \
+		\
+		V=1 \
+		PREFIX="${EPREFIX}/usr" \
+		\
+		"$@"
+}
+
+src_compile() {
+	_emake
+}
+
+src_test() {
+	_emake check
+}
+
+src_install() {
+	_emake DESTDIR="${D}" install
+
+	dodoc FAQ README
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2021-02-26 10:25 Sergei Trofimovich
  0 siblings, 0 replies; 24+ messages in thread
From: Sergei Trofimovich @ 2021-02-26 10:25 UTC (permalink / raw
  To: gentoo-commits

commit:     6921ced734c393729d25a99bde8a6d8b67e0d397
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 26 10:22:32 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Feb 26 10:25:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6921ced7

sys-devel/sparse: drop old

Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/sparse/Manifest            |  1 -
 sys-devel/sparse/sparse-0.6.2.ebuild | 71 ------------------------------------
 2 files changed, 72 deletions(-)

diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
index 5539731c02c..a706e2ac3fc 100644
--- a/sys-devel/sparse/Manifest
+++ b/sys-devel/sparse/Manifest
@@ -1,2 +1 @@
-DIST sparse-0.6.2.tar.xz 340100 BLAKE2B 72463fe93753f2cdced3411d1ccb18cc30dce82c4f6ae6289cf4297c66cee9f52ba96f96cceac1f134b017a7d6691b019c2f22cc801522e7a0fe0c5e0b4c8da4 SHA512 43c16b5cb4141077dd51f93e877e28e1a00e69ced58a9c8f643635b6f87a8044cddfe29a734b4a43282748e12f287b19b4fb3ce8c5e0b13931a3355974dff982
 DIST sparse-0.6.3.tar.xz 350676 BLAKE2B 5c8f54f3b7d2095df30b9a59a151e307ebedac5dbb6910ab5684b298c2b427e55dd43697e698fd289fb0d8e824ba4d72c2761772babb9f438e622f439ab3448d SHA512 33170065ea5967d7c640a7551acc78d7efee9f7aa6a9edf6afe2cdd8a04ea5cebe7b5dcdeebf791d384542b8bcdd4e818c75e7ae2e7aa4e1edbd56b68367b28f

diff --git a/sys-devel/sparse/sparse-0.6.2.ebuild b/sys-devel/sparse/sparse-0.6.2.ebuild
deleted file mode 100644
index 34da20a600a..00000000000
--- a/sys-devel/sparse/sparse-0.6.2.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit eutils llvm multilib toolchain-funcs
-
-DESCRIPTION="C semantic parser"
-HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
-
-if [[ ${PV} == "9999" ]] ; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
-else
-	SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
-	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="gtk llvm sqlite test xml"
-RESTRICT="!test? ( test )"
-
-LLVM_MAX_SLOT=10
-
-RDEPEND="gtk? ( x11-libs/gtk+:2 )
-	llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
-	sqlite? ( dev-db/sqlite:= )
-	xml? ( dev-libs/libxml2 )"
-DEPEND="${RDEPEND}
-	gtk? ( virtual/pkgconfig )
-	xml? ( virtual/pkgconfig )"
-
-pkg_setup() {
-	use llvm && llvm_pkg_setup
-}
-
-_emake() {
-	# Makefile does not allow for an easy override of flags.
-	# Collect them here and override default phases.
-	emake \
-		CC="$(tc-getCC)" \
-		LD="$(tc-getCC)" \
-		AR="$(tc-getAR)" \
-		CFLAGS="${CFLAGS}" \
-		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-		\
-		HAVE_GTK=$(usex gtk) \
-		HAVE_LLVM=$(usex llvm) \
-		HAVE_SQLITE=$(usex sqlite) \
-		HAVE_LIBXML=$(usex xml) \
-		\
-		V=1 \
-		PREFIX="${EPREFIX}/usr" \
-		\
-		"$@"
-}
-
-src_compile() {
-	_emake
-}
-
-src_test() {
-	_emake check
-}
-
-src_install() {
-	_emake DESTDIR="${D}" install
-
-	dodoc FAQ README
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2021-04-16 10:25 David Seifert
  0 siblings, 0 replies; 24+ messages in thread
From: David Seifert @ 2021-04-16 10:25 UTC (permalink / raw
  To: gentoo-commits

commit:     e1fb1d3d6b59a01661c22ce7d82e8f4e4787e669
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 16 10:13:51 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Apr 16 10:13:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1fb1d3d

sys-devel/sparse: eutils--

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

 sys-devel/sparse/sparse-0.6.3.ebuild | 2 +-
 sys-devel/sparse/sparse-9999.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/sparse/sparse-0.6.3.ebuild b/sys-devel/sparse/sparse-0.6.3.ebuild
index 34da20a600a..0fcda784733 100644
--- a/sys-devel/sparse/sparse-0.6.3.ebuild
+++ b/sys-devel/sparse/sparse-0.6.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit eutils llvm multilib toolchain-funcs
+inherit llvm multilib toolchain-funcs
 
 DESCRIPTION="C semantic parser"
 HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index 34da20a600a..0fcda784733 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit eutils llvm multilib toolchain-funcs
+inherit llvm multilib toolchain-funcs
 
 DESCRIPTION="C semantic parser"
 HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2021-09-19  2:24 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2021-09-19  2:24 UTC (permalink / raw
  To: gentoo-commits

commit:     8bccc3057c8bf26ca2be2b58ad89171ecaa71dc0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 02:24:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 02:24:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bccc305

sys-devel/sparse: drop unused multilib inherit

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

 sys-devel/sparse/sparse-0.6.3.ebuild | 2 +-
 sys-devel/sparse/sparse-0.6.4.ebuild | 2 +-
 sys-devel/sparse/sparse-9999.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-devel/sparse/sparse-0.6.3.ebuild b/sys-devel/sparse/sparse-0.6.3.ebuild
index 0fcda784733..0c2099d4c27 100644
--- a/sys-devel/sparse/sparse-0.6.3.ebuild
+++ b/sys-devel/sparse/sparse-0.6.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit llvm multilib toolchain-funcs
+inherit llvm toolchain-funcs
 
 DESCRIPTION="C semantic parser"
 HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"

diff --git a/sys-devel/sparse/sparse-0.6.4.ebuild b/sys-devel/sparse/sparse-0.6.4.ebuild
index 3304272807e..8e6b268ec5b 100644
--- a/sys-devel/sparse/sparse-0.6.4.ebuild
+++ b/sys-devel/sparse/sparse-0.6.4.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 LLVM_MAX_SLOT=12
-inherit llvm multilib toolchain-funcs
+inherit llvm toolchain-funcs
 
 DESCRIPTION="C semantic parser"
 HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index 3304272807e..8e6b268ec5b 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 LLVM_MAX_SLOT=12
-inherit llvm multilib toolchain-funcs
+inherit llvm toolchain-funcs
 
 DESCRIPTION="C semantic parser"
 HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2021-09-19  2:24 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2021-09-19  2:24 UTC (permalink / raw
  To: gentoo-commits

commit:     c5ea3c2cc75ac22165cd80e75298a75b30031294
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 02:15:23 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 02:24:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ea3c2c

sys-devel/sparse: add 0.6.4

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

 sys-devel/sparse/Manifest                              |  1 +
 .../sparse/{sparse-9999.ebuild => sparse-0.6.4.ebuild} | 18 ++++++++++--------
 sys-devel/sparse/sparse-9999.ebuild                    | 18 ++++++++++--------
 3 files changed, 21 insertions(+), 16 deletions(-)

diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
index a706e2ac3fc..7c1cf179d14 100644
--- a/sys-devel/sparse/Manifest
+++ b/sys-devel/sparse/Manifest
@@ -1 +1,2 @@
 DIST sparse-0.6.3.tar.xz 350676 BLAKE2B 5c8f54f3b7d2095df30b9a59a151e307ebedac5dbb6910ab5684b298c2b427e55dd43697e698fd289fb0d8e824ba4d72c2761772babb9f438e622f439ab3448d SHA512 33170065ea5967d7c640a7551acc78d7efee9f7aa6a9edf6afe2cdd8a04ea5cebe7b5dcdeebf791d384542b8bcdd4e818c75e7ae2e7aa4e1edbd56b68367b28f
+DIST sparse-0.6.4.tar.xz 370840 BLAKE2B 4b21d26c87df65f08928438c311582a45f4cbbb5ed2bb399c3521d1e40630006d794b4f1e545693e82225f086968cf686c5bfb29059644a31812120f07caebe2 SHA512 4ada31e588469d15862579dd7eb926ce1ad717bf96d38d425b9153f2efe73949fdda5bc59d05d926614a08d70e656e4ff531a5f0a1cf8e7725c596dcdba169f9

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-0.6.4.ebuild
similarity index 80%
copy from sys-devel/sparse/sparse-9999.ebuild
copy to sys-devel/sparse/sparse-0.6.4.ebuild
index 0fcda784733..3304272807e 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-0.6.4.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+LLVM_MAX_SLOT=12
 inherit llvm multilib toolchain-funcs
 
 DESCRIPTION="C semantic parser"
@@ -21,16 +22,20 @@ SLOT="0"
 IUSE="gtk llvm sqlite test xml"
 RESTRICT="!test? ( test )"
 
-LLVM_MAX_SLOT=10
-
 RDEPEND="gtk? ( x11-libs/gtk+:2 )
-	llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
+	llvm? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
 	sqlite? ( dev-db/sqlite:= )
 	xml? ( dev-libs/libxml2 )"
-DEPEND="${RDEPEND}
-	gtk? ( virtual/pkgconfig )
+DEPEND="${RDEPEND}"
+BDEPEND="gtk? ( virtual/pkgconfig )
 	xml? ( virtual/pkgconfig )"
 
+llvm_check_deps() {
+	has_version "sys-devel/llvm:${LLVM_MAX_SLOT}" || \
+		has_version "sys-devel/llvm:$((${LLVM_MAX_SLOT} - 1))" \
+		has_version "sys-devel/llvm:$((${LLVM_MAX_SLOT} - 2))"
+}
+
 pkg_setup() {
 	use llvm && llvm_pkg_setup
 }
@@ -44,15 +49,12 @@ _emake() {
 		AR="$(tc-getAR)" \
 		CFLAGS="${CFLAGS}" \
 		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-		\
 		HAVE_GTK=$(usex gtk) \
 		HAVE_LLVM=$(usex llvm) \
 		HAVE_SQLITE=$(usex sqlite) \
 		HAVE_LIBXML=$(usex xml) \
-		\
 		V=1 \
 		PREFIX="${EPREFIX}/usr" \
-		\
 		"$@"
 }
 

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index 0fcda784733..3304272807e 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+LLVM_MAX_SLOT=12
 inherit llvm multilib toolchain-funcs
 
 DESCRIPTION="C semantic parser"
@@ -21,16 +22,20 @@ SLOT="0"
 IUSE="gtk llvm sqlite test xml"
 RESTRICT="!test? ( test )"
 
-LLVM_MAX_SLOT=10
-
 RDEPEND="gtk? ( x11-libs/gtk+:2 )
-	llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
+	llvm? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
 	sqlite? ( dev-db/sqlite:= )
 	xml? ( dev-libs/libxml2 )"
-DEPEND="${RDEPEND}
-	gtk? ( virtual/pkgconfig )
+DEPEND="${RDEPEND}"
+BDEPEND="gtk? ( virtual/pkgconfig )
 	xml? ( virtual/pkgconfig )"
 
+llvm_check_deps() {
+	has_version "sys-devel/llvm:${LLVM_MAX_SLOT}" || \
+		has_version "sys-devel/llvm:$((${LLVM_MAX_SLOT} - 1))" \
+		has_version "sys-devel/llvm:$((${LLVM_MAX_SLOT} - 2))"
+}
+
 pkg_setup() {
 	use llvm && llvm_pkg_setup
 }
@@ -44,15 +49,12 @@ _emake() {
 		AR="$(tc-getAR)" \
 		CFLAGS="${CFLAGS}" \
 		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-		\
 		HAVE_GTK=$(usex gtk) \
 		HAVE_LLVM=$(usex llvm) \
 		HAVE_SQLITE=$(usex sqlite) \
 		HAVE_LIBXML=$(usex xml) \
-		\
 		V=1 \
 		PREFIX="${EPREFIX}/usr" \
-		\
 		"$@"
 }
 


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2021-09-19  3:25 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2021-09-19  3:25 UTC (permalink / raw
  To: gentoo-commits

commit:     f336e8bc9cb902d61882358e57531f9269c206e6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 03:11:41 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 03:11:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f336e8bc

sys-devel/sparse: improve llvm_check_deps logic

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

 sys-devel/sparse/sparse-0.6.4.ebuild | 5 ++---
 sys-devel/sparse/sparse-9999.ebuild  | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/sys-devel/sparse/sparse-0.6.4.ebuild b/sys-devel/sparse/sparse-0.6.4.ebuild
index 8e6b268ec5b..6fbcc28e155 100644
--- a/sys-devel/sparse/sparse-0.6.4.ebuild
+++ b/sys-devel/sparse/sparse-0.6.4.ebuild
@@ -31,9 +31,8 @@ BDEPEND="gtk? ( virtual/pkgconfig )
 	xml? ( virtual/pkgconfig )"
 
 llvm_check_deps() {
-	has_version "sys-devel/llvm:${LLVM_MAX_SLOT}" || \
-		has_version "sys-devel/llvm:$((${LLVM_MAX_SLOT} - 1))" \
-		has_version "sys-devel/llvm:$((${LLVM_MAX_SLOT} - 2))"
+	has_version "sys-devel/llvm:${LLVM_SLOT}" && \
+		has_version -r "sys-devel/llvm:${LLVM_SLOT}"
 }
 
 pkg_setup() {

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index 8e6b268ec5b..6fbcc28e155 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -31,9 +31,8 @@ BDEPEND="gtk? ( virtual/pkgconfig )
 	xml? ( virtual/pkgconfig )"
 
 llvm_check_deps() {
-	has_version "sys-devel/llvm:${LLVM_MAX_SLOT}" || \
-		has_version "sys-devel/llvm:$((${LLVM_MAX_SLOT} - 1))" \
-		has_version "sys-devel/llvm:$((${LLVM_MAX_SLOT} - 2))"
+	has_version "sys-devel/llvm:${LLVM_SLOT}" && \
+		has_version -r "sys-devel/llvm:${LLVM_SLOT}"
 }
 
 pkg_setup() {


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2021-11-08 11:25 Michał Górny
  0 siblings, 0 replies; 24+ messages in thread
From: Michał Górny @ 2021-11-08 11:25 UTC (permalink / raw
  To: gentoo-commits

commit:     158e4b715bde0f48c4bb3dd9dd9a45411f8dcb53
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  8 11:03:26 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Nov  8 11:25:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158e4b71

sys-devel/sparse: Remove versions requiring LLVM 10

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/sparse/Manifest            |  1 -
 sys-devel/sparse/sparse-0.6.3.ebuild | 71 ------------------------------------
 2 files changed, 72 deletions(-)

diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest
index 7c1cf179d14..283b98fc148 100644
--- a/sys-devel/sparse/Manifest
+++ b/sys-devel/sparse/Manifest
@@ -1,2 +1 @@
-DIST sparse-0.6.3.tar.xz 350676 BLAKE2B 5c8f54f3b7d2095df30b9a59a151e307ebedac5dbb6910ab5684b298c2b427e55dd43697e698fd289fb0d8e824ba4d72c2761772babb9f438e622f439ab3448d SHA512 33170065ea5967d7c640a7551acc78d7efee9f7aa6a9edf6afe2cdd8a04ea5cebe7b5dcdeebf791d384542b8bcdd4e818c75e7ae2e7aa4e1edbd56b68367b28f
 DIST sparse-0.6.4.tar.xz 370840 BLAKE2B 4b21d26c87df65f08928438c311582a45f4cbbb5ed2bb399c3521d1e40630006d794b4f1e545693e82225f086968cf686c5bfb29059644a31812120f07caebe2 SHA512 4ada31e588469d15862579dd7eb926ce1ad717bf96d38d425b9153f2efe73949fdda5bc59d05d926614a08d70e656e4ff531a5f0a1cf8e7725c596dcdba169f9

diff --git a/sys-devel/sparse/sparse-0.6.3.ebuild b/sys-devel/sparse/sparse-0.6.3.ebuild
deleted file mode 100644
index 0c2099d4c27..00000000000
--- a/sys-devel/sparse/sparse-0.6.3.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit llvm toolchain-funcs
-
-DESCRIPTION="C semantic parser"
-HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page"
-
-if [[ ${PV} == "9999" ]] ; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git"
-else
-	SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz"
-	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="gtk llvm sqlite test xml"
-RESTRICT="!test? ( test )"
-
-LLVM_MAX_SLOT=10
-
-RDEPEND="gtk? ( x11-libs/gtk+:2 )
-	llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= )
-	sqlite? ( dev-db/sqlite:= )
-	xml? ( dev-libs/libxml2 )"
-DEPEND="${RDEPEND}
-	gtk? ( virtual/pkgconfig )
-	xml? ( virtual/pkgconfig )"
-
-pkg_setup() {
-	use llvm && llvm_pkg_setup
-}
-
-_emake() {
-	# Makefile does not allow for an easy override of flags.
-	# Collect them here and override default phases.
-	emake \
-		CC="$(tc-getCC)" \
-		LD="$(tc-getCC)" \
-		AR="$(tc-getAR)" \
-		CFLAGS="${CFLAGS}" \
-		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-		\
-		HAVE_GTK=$(usex gtk) \
-		HAVE_LLVM=$(usex llvm) \
-		HAVE_SQLITE=$(usex sqlite) \
-		HAVE_LIBXML=$(usex xml) \
-		\
-		V=1 \
-		PREFIX="${EPREFIX}/usr" \
-		\
-		"$@"
-}
-
-src_compile() {
-	_emake
-}
-
-src_test() {
-	_emake check
-}
-
-src_install() {
-	_emake DESTDIR="${D}" install
-
-	dodoc FAQ README
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2022-04-15  2:00 Matt Turner
  0 siblings, 0 replies; 24+ messages in thread
From: Matt Turner @ 2022-04-15  2:00 UTC (permalink / raw
  To: gentoo-commits

commit:     51564faa4dfefe84e7b9def184ab105823beaf88
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 01:57:21 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 02:00:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51564faa

sys-devel/sparse: Depend on x11-libs/gtk+:3, not :2

Upstream commit 52ac1749 ("test-inspect: Detect gtk3 then gtk2 package")
in 2017 changed the default to GTK 3 and we didn't notice apparently.

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 sys-devel/sparse/metadata.xml                                    | 2 +-
 sys-devel/sparse/{sparse-0.6.4.ebuild => sparse-0.6.4-r1.ebuild} | 4 ++--
 sys-devel/sparse/sparse-9999.ebuild                              | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-devel/sparse/metadata.xml b/sys-devel/sparse/metadata.xml
index aec196782c68..4eec8f82d259 100644
--- a/sys-devel/sparse/metadata.xml
+++ b/sys-devel/sparse/metadata.xml
@@ -10,7 +10,7 @@
 		<name>Gentoo Toolchain Project</name>
 	</maintainer>
 	<use>
-		<flag name="gtk">Build the test-inspect utility (requires <pkg>x11-libs/gtk+</pkg> version 2)</flag>
+		<flag name="gtk">Build the test-inspect utility (requires <pkg>x11-libs/gtk+</pkg>:3)</flag>
 		<flag name="llvm">Build the sparse-llvm utility</flag>
 		<flag name="xml">Build the c2xml utility (requires <pkg>dev-libs/libxml2</pkg>)</flag>
 	</use>

diff --git a/sys-devel/sparse/sparse-0.6.4.ebuild b/sys-devel/sparse/sparse-0.6.4-r1.ebuild
similarity index 95%
rename from sys-devel/sparse/sparse-0.6.4.ebuild
rename to sys-devel/sparse/sparse-0.6.4-r1.ebuild
index 6fbcc28e1552..a7c5b9dbc728 100644
--- a/sys-devel/sparse/sparse-0.6.4.ebuild
+++ b/sys-devel/sparse/sparse-0.6.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ SLOT="0"
 IUSE="gtk llvm sqlite test xml"
 RESTRICT="!test? ( test )"
 
-RDEPEND="gtk? ( x11-libs/gtk+:2 )
+RDEPEND="gtk? ( x11-libs/gtk+:3 )
 	llvm? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
 	sqlite? ( dev-db/sqlite:= )
 	xml? ( dev-libs/libxml2 )"

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index 6fbcc28e1552..a7c5b9dbc728 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ SLOT="0"
 IUSE="gtk llvm sqlite test xml"
 RESTRICT="!test? ( test )"
 
-RDEPEND="gtk? ( x11-libs/gtk+:2 )
+RDEPEND="gtk? ( x11-libs/gtk+:3 )
 	llvm? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
 	sqlite? ( dev-db/sqlite:= )
 	xml? ( dev-libs/libxml2 )"


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2022-06-16  7:42 Michał Górny
  0 siblings, 0 replies; 24+ messages in thread
From: Michał Górny @ 2022-06-16  7:42 UTC (permalink / raw
  To: gentoo-commits

commit:     dc2da095c5ac4a6dfeebac812f3cd4f7485c56a2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 07:41:47 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 07:42:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc2da095

sys-devel/sparse: Allow up to LLVM 14

sparse seems to build fine, pass tests and sparse-llvm executable seems
to work on a trivial test case with LLVM 14.

Closes: https://bugs.gentoo.org/840607
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/sparse/sparse-0.6.4-r1.ebuild | 2 +-
 sys-devel/sparse/sparse-9999.ebuild     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/sparse/sparse-0.6.4-r1.ebuild b/sys-devel/sparse/sparse-0.6.4-r1.ebuild
index a7c5b9dbc728..726fd8b0cfe3 100644
--- a/sys-devel/sparse/sparse-0.6.4-r1.ebuild
+++ b/sys-devel/sparse/sparse-0.6.4-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-LLVM_MAX_SLOT=12
+LLVM_MAX_SLOT=14
 inherit llvm toolchain-funcs
 
 DESCRIPTION="C semantic parser"

diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index a7c5b9dbc728..726fd8b0cfe3 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-LLVM_MAX_SLOT=12
+LLVM_MAX_SLOT=14
 inherit llvm toolchain-funcs
 
 DESCRIPTION="C semantic parser"


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

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/
@ 2022-06-16 11:43 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2022-06-16 11:43 UTC (permalink / raw
  To: gentoo-commits

commit:     470d200484f4d1a4a8052f679d3576186870b1e1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 11:43:16 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 11:43:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=470d2004

sys-devel/sparse: revbump for changed LLVM_COMPAT

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

 sys-devel/sparse/{sparse-0.6.4-r1.ebuild => sparse-0.6.4-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-devel/sparse/sparse-0.6.4-r1.ebuild b/sys-devel/sparse/sparse-0.6.4-r2.ebuild
similarity index 100%
rename from sys-devel/sparse/sparse-0.6.4-r1.ebuild
rename to sys-devel/sparse/sparse-0.6.4-r2.ebuild


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

end of thread, other threads:[~2022-06-16 11:43 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-19  3:25 [gentoo-commits] repo/gentoo:master commit in: sys-devel/sparse/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2022-06-16 11:43 Sam James
2022-06-16  7:42 Michał Górny
2022-04-15  2:00 Matt Turner
2021-11-08 11:25 Michał Górny
2021-09-19  2:24 Sam James
2021-09-19  2:24 Sam James
2021-04-16 10:25 David Seifert
2021-02-26 10:25 Sergei Trofimovich
2021-02-25  9:18 Sergei Trofimovich
2021-02-15  0:32 Sam James
2020-12-18  9:53 Sergei Trofimovich
2020-07-12 21:37 Sergei Trofimovich
2020-06-28 22:43 Sergei Trofimovich
2020-04-01  7:31 Sergei Trofimovich
2020-02-26 18:46 Sergei Trofimovich
2020-02-26 13:42 Sergei Trofimovich
2019-10-05 18:56 Michał Górny
2019-01-28 21:44 Sergei Trofimovich
2019-01-28 21:44 Sergei Trofimovich
2019-01-26 22:08 Sergei Trofimovich
2018-03-09  1:56 Jason Donenfeld
2018-02-25 19:46 Jason Donenfeld
2018-02-22 22:16 Jason Donenfeld

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