summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2018-05-17 11:31:49 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2018-05-17 12:04:59 +0200
commit93499ca6df7d39f61a3d4619050c69e882eb5f00 (patch)
tree76af6bc120acec2ab2824f6f675eaba18f9838a4 /dev-util/umockdev
parentapp-crypt/libsecret: add missing src_install and bump to EAPI=6 (diff)
downloadgentoo-93499ca6df7d39f61a3d4619050c69e882eb5f00.tar.gz
gentoo-93499ca6df7d39f61a3d4619050c69e882eb5f00.tar.bz2
gentoo-93499ca6df7d39f61a3d4619050c69e882eb5f00.zip
dev-util/umockdev: version bump 0.9.4 → 0.11.3
Fix incomplete dependencies wrt introspection and gtk-doc-am. Add multilib support and add gnome as maintainer as it is required in libgudev test suite. Drop unneeded libtool files. Closes: https://bugs.gentoo.org/609758 Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'dev-util/umockdev')
-rw-r--r--dev-util/umockdev/Manifest2
-rw-r--r--dev-util/umockdev/metadata.xml5
-rw-r--r--dev-util/umockdev/umockdev-0.11.3.ebuild45
3 files changed, 50 insertions, 2 deletions
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest
index cb290079c216..970f34c6c21c 100644
--- a/dev-util/umockdev/Manifest
+++ b/dev-util/umockdev/Manifest
@@ -1,2 +1,2 @@
-DIST umockdev-0.8.11.tar.xz 741812 BLAKE2B bb012a80180cac46d53af3f808065af499400d6fc5556b37511645698dff4c0bee92fac34335e2fcff0bde7c001f6ef5d0bd6ed27ea517e01513fa20d36d388b SHA512 dd6aa23873060c2778796f7300b61aa46e6f9bed8b2b2dc107eb747ade93f9d9027385a414f2107f3da4932065e1f7ec488cc91c6f24c3204a7abbbdf4cb8e84
+DIST umockdev-0.11.3.tar.xz 753152 BLAKE2B 9f78d160a653ba2c56e97d1b331dfeecd4dd8f6642744849ec3eb85866e4cbce6399679a873b730beddfac2f4bd7572937df4a3db2440ec1bf929849f928bdc6 SHA512 e9086777bb13dbd79b629dc68555d19fb8799720dfc4548926b87d032d94212814cb9e1de10e26f5940a9b5db9a15f62a594f3baf0050ffb9ea30f1563db6d6c
DIST umockdev-0.9.4.tar.xz 754856 BLAKE2B 92182ee856e9432f02cf3a739c7af6f2220394eb4dd81ef6e2949380d124f70d9e34c3d3e49053af43794dd0f2ce0feed8be7366df2c9a06bebee9c52d24ba53 SHA512 c291d3f40a0ab366f14021aa0960852de049f4299a0207d93cec28d5961f3bc7f89448add6f7b35c1262d805d1d638837d4d5e6b734879ffb5910da50019e1cd
diff --git a/dev-util/umockdev/metadata.xml b/dev-util/umockdev/metadata.xml
index 4d3a755af6b8..445c8737eab9 100644
--- a/dev-util/umockdev/metadata.xml
+++ b/dev-util/umockdev/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
<upstream>
<remote-id type="launchpad">umockdev</remote-id>
<remote-id type="github">martinpitt/umockdev</remote-id>
diff --git a/dev-util/umockdev/umockdev-0.11.3.ebuild b/dev-util/umockdev/umockdev-0.11.3.ebuild
new file mode 100644
index 000000000000..f92f538192f4
--- /dev/null
+++ b/dev-util/umockdev/umockdev-0.11.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit multilib-minimal python-any-r1
+
+DESCRIPTION="Mock hardware devices for creating unit tests"
+HOMEPAGE="https://github.com/martinpitt/umockdev/"
+SRC_URI="https://github.com/martinpitt/umockdev/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+introspection static-libs test"
+
+RDEPEND="
+ virtual/libgudev:=[${MULTILIB_USEDEP}]
+ virtual/libudev:=[${MULTILIB_USEDEP}]
+ >=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ test? ( ${PYTHON_DEPS} )
+ app-arch/xz-utils
+ >=dev-util/gtk-doc-am-1.14
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+"
+
+# Tests seem to hang forever
+RESTRICT="test"
+
+multilib_src_configure() {
+ local ECONF_SOURCE=${S}
+ econf \
+ --disable-gtk-doc \
+ $(multilib_native_use_enable introspection) \
+ $(use_enable static-libs static) \
+ VALAC="$(type -P true)"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${D}" -name '*.la' -delete || die
+}