public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/arch/ia64/, app-arch/rpm/, profiles/arch/arm/, profiles/arch/arm64/, ...
@ 2018-06-06 21:41 Thomas Deutschmann
  0 siblings, 0 replies; only message in thread
From: Thomas Deutschmann @ 2018-06-06 21:41 UTC (permalink / raw
  To: gentoo-commits

commit:     0bc99abe0dc0b0c178568c08f91f73ae6693c899
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  6 21:41:04 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Jun  6 21:41:25 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bc99abe

app-arch/rpm: Add src_test

Closes: https://bugs.gentoo.org/657488
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-arch/rpm/rpm-4.14.1.ebuild       | 7 ++++++-
 profiles/arch/alpha/package.use.mask | 4 ++++
 profiles/arch/arm/package.use.mask   | 4 ++++
 profiles/arch/arm64/package.use.mask | 4 ++++
 profiles/arch/ia64/package.use.mask  | 4 ++++
 5 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/app-arch/rpm/rpm-4.14.1.ebuild b/app-arch/rpm/rpm-4.14.1.ebuild
index 1fc3b937c5b..00c3cbeb2eb 100644
--- a/app-arch/rpm/rpm-4.14.1.ebuild
+++ b/app-arch/rpm/rpm-4.14.1.ebuild
@@ -16,7 +16,7 @@ LICENSE="GPL-2 LGPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
 
-IUSE="acl caps doc lua nls python selinux"
+IUSE="acl caps doc lua nls python selinux test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 CDEPEND="!app-arch/rpm5
@@ -40,6 +40,7 @@ DEPEND="${CDEPEND}
 	nls? ( sys-devel/gettext )
 	doc? ( app-doc/doxygen )
 	virtual/pkgconfig
+	test? ( sys-apps/fakechroot )
 "
 RDEPEND="${CDEPEND}
 	selinux? ( sec-policy/selinux-rpm )
@@ -106,6 +107,10 @@ src_install() {
 	perl_delete_localpod
 }
 
+src_test() {
+	emake check
+}
+
 pkg_postinst() {
 	if [[ -f "${EROOT}"/var/lib/rpm/Packages ]] ; then
 		einfo "RPM database found... Rebuilding database (may take a while)..."

diff --git a/profiles/arch/alpha/package.use.mask b/profiles/arch/alpha/package.use.mask
index 5e27b1349ab..9dc1afa2654 100644
--- a/profiles/arch/alpha/package.use.mask
+++ b/profiles/arch/alpha/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# Thomas Deutschmann <whissi@gentoo.org> (06 Jun 2018)
+# Needs sys-apps/fakechroot which isn't keyworded
+app-arch/rpm test
+
 # Tomáš Mózes <hydrapolic@gmail.com> (05 Jun 2018)
 # Unkeyworded dependencies.
 app-admin/syslog-ng amqp mongodb

diff --git a/profiles/arch/arm/package.use.mask b/profiles/arch/arm/package.use.mask
index 975f98ca998..a8638afdd53 100644
--- a/profiles/arch/arm/package.use.mask
+++ b/profiles/arch/arm/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# Thomas Deutschmann <whissi@gentoo.org> (06 Jun 2018)
+# Needs sys-apps/fakechroot which isn't keyworded
+app-arch/rpm test
+
 # Andreas Sturmlechner <asturm@gentoo.org> (03 Jun 2018)
 # net-wireless/soapysdr not keyworded
 net-wireless/gr-osmosdr soapy

diff --git a/profiles/arch/arm64/package.use.mask b/profiles/arch/arm64/package.use.mask
index ee9cb80813e..c859a1044c8 100644
--- a/profiles/arch/arm64/package.use.mask
+++ b/profiles/arch/arm64/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# Thomas Deutschmann <whissi@gentoo.org> (06 Jun 2018)
+# Needs sys-apps/fakechroot which isn't keyworded
+app-arch/rpm test
+
 # Alex Bennee <alex@bennee.com> (31 May 2018)
 # bunch of dev-perl packages not yet keyworded
 # and the i3 ebuild currently has RESTRICT="test" due to upstream bug

diff --git a/profiles/arch/ia64/package.use.mask b/profiles/arch/ia64/package.use.mask
index d38ac61fcce..acf5931ca84 100644
--- a/profiles/arch/ia64/package.use.mask
+++ b/profiles/arch/ia64/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# Thomas Deutschmann <whissi@gentoo.org> (06 Jun 2018)
+# Needs sys-apps/fakechroot which isn't keyworded
+app-arch/rpm test
+
 # Michał Górny <mgorny@gentoo.org> (15 Apr 2018)
 # Unkeyworded deps.
 net-misc/curl curl_ssl_axtls


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-06 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-06 21:41 [gentoo-commits] repo/gentoo:master commit in: profiles/arch/ia64/, app-arch/rpm/, profiles/arch/arm/, profiles/arch/arm64/, Thomas Deutschmann

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