dev-util/umockdev: version bump 0.9.4 → 0.11.3
authorGilles Dartiguelongue <eva@gentoo.org>
Thu, 17 May 2018 09:31:49 +0000 (11:31 +0200)
committerGilles Dartiguelongue <eva@gentoo.org>
Thu, 17 May 2018 10:04:59 +0000 (12:04 +0200)
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

dev-util/umockdev/Manifest
dev-util/umockdev/metadata.xml
dev-util/umockdev/umockdev-0.11.3.ebuild [new file with mode: 0644]

index cb290079c21651f73cc25ab5a77ed415e0865fef..970f34c6c21cc4821ea7b5d1eb45853d45996155 100644 (file)
@@ -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
index 4d3a755af6b84c9018db8fb340af8a9c723c434f..445c8737eab97dc7551857878b8c45f20605c4d9 100644 (file)
@@ -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 (file)
index 0000000..f92f538
--- /dev/null
@@ -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
+}