summaryrefslogtreecommitdiff
path: root/dev-util/umockdev
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-10 00:43:02 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-10 00:43:02 +0000
commita5332b59346f7cbf0fdbd148b54aa8a84aaf8190 (patch)
treee6d8d3589fcd01fbc3f1286185639163daa81424 /dev-util/umockdev
parentfceeaf01a28ee71065cf3798b70b77d3bc4ef199 (diff)
gentoo resync : 10.11.2017
Diffstat (limited to 'dev-util/umockdev')
-rw-r--r--dev-util/umockdev/Manifest3
-rw-r--r--dev-util/umockdev/files/umockdev-0.9.4-sysmacros.patch20
-rw-r--r--dev-util/umockdev/umockdev-0.9.4.ebuild34
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest
index e18346f069bb..08ac5d97e87b 100644
--- a/dev-util/umockdev/Manifest
+++ b/dev-util/umockdev/Manifest
@@ -1,6 +1,9 @@
AUX umockdev-0.8.11-sysmacros.patch 1132 SHA256 da413e9a204d3ef6d31a8eb060ade6d3b2a52510d27662ff9221a27c870c10cd SHA512 43cd12d94dc4f1370b15a33c1b551332eb67d1a7be4318b9a844eba66aaa25f9bcd3b50eab4b2f2af12c0296bafb8433959e2417bd531bf9c28406c58dcf0ea1 WHIRLPOOL 96e3d036e4d24e94a7a54e13d81699673f39e4bc42f00928ddb7b94d369b04090e6254f80a642f69cf1178fddcfe9be87ed1e25ba98c6b903ce9ca25f2de84a2
+AUX umockdev-0.9.4-sysmacros.patch 599 SHA256 0b346e7d3ab4e5ca238e07e7cc79517194772e1b47e89a83ec6e9edd6b912ea2 SHA512 3deb38bb44ea4bb2cf7f4b2dc88db0c0d71045ccaae48acecd3fde9e0006262111202c8e3ae490a5fccd610abf0c24ca11699720872998dfc55bc29f58f923b6 WHIRLPOOL fb997b015f1a85159c8c4974b2a5ccb833e67bd61015064a9bfdafc6c7303319cbd0d61e3c50369fa2a8eacf4e4af7ff516861d45805290e257e016188f0bdd4
DIST umockdev-0.8.11.tar.xz 741812 SHA256 222518a634c57b1d6d9f51b042e8c80641251260d9c43e6c6273d446d577ccb7 SHA512 dd6aa23873060c2778796f7300b61aa46e6f9bed8b2b2dc107eb747ade93f9d9027385a414f2107f3da4932065e1f7ec488cc91c6f24c3204a7abbbdf4cb8e84 WHIRLPOOL b736ca9d9f73294e5aabc3be75e006efcfdba8f8ecb96cdeb2fb88a12cc3ba53870c416c82c315acc7da7929d07a9efcdc6ceadaa324e0c63a9a60589d66148c
+DIST umockdev-0.9.4.tar.xz 754856 SHA256 968cea51804d1de7a1db1c96958326e2f2207a0fdaae18940445e29430e94468 SHA512 c291d3f40a0ab366f14021aa0960852de049f4299a0207d93cec28d5961f3bc7f89448add6f7b35c1262d805d1d638837d4d5e6b734879ffb5910da50019e1cd WHIRLPOOL 76ffb5c7d0ce53f1a7126247d8d7e9e99f7fafb537b19ef8ae48b794664a713c6ade3565abf20a1bbc10857dc8c4c20d3d75a4543dba7e010b63d4fe2a62f3a5
EBUILD umockdev-0.8.11.ebuild 688 SHA256 7378eff0ba66e1b78564d900b5224efc5d248f2cea743833f6fde223ce8f7f33 SHA512 6fc1c9a49890d5751b2b8ccd762d6ce9987197cdf9d8f13d70bb7cc328b7c0acb4f9d6270085046599e2fb6a57d3d14817b4cf3f7d25e32c35baff2c90c1c999 WHIRLPOOL 8ee0e80355d8b43f8a6d647b00bb447b6d18b18cba51207a77696ceb3103da54634e380fdef720ccb53436894a1650c22da0b78949804d1a49adbb6c603a6857
+EBUILD umockdev-0.9.4.ebuild 733 SHA256 ef7ccc4bfd5f8f830deaac4c00a267da0d69701fe77fc471381fd6743a76015c SHA512 585f9841137d1d74981e7d64d0bcaadf7834a0b1a5689458b8cff8462272e86a48b6878d289bb40a7c8a6b52cb696298008124f048eac9bf38619d0e145eef3e WHIRLPOOL ee1505fa07a520110a302bb366229f50afd1a502ae089ca600cf6adccb2fa0c6b5cfdc3b1e603c42d45929186134467c43931621b3bbb988d4f12762f3afe8ae
MISC ChangeLog 3601 SHA256 e02b4b19aba763d9c353e0f41c2bf39abf0f4b906947d93f075119a709f1dcfe SHA512 526ab7d4c1ec6505929460ef8841eb2ba55671097ac2939f29fc31984933c3b94123cc5f228ca7b5cedd68c3c5b88f3af6584a0e7b14552ff84cc2274efff12b WHIRLPOOL 694ec9ea0dd506334b3a54b83c33878c6b133b08b13f5d0149548a743946caf775156b2dfca9e44b1953b1a63ad832ceec623dfbd39a3388ec0f7401ef897fbd
MISC ChangeLog-2015 3842 SHA256 257981323d1418f62ca3a04c5b697d4c6d48123b1b97c1bd3cbbb64da531d554 SHA512 02d29f6c9237ebf7ca1708b7780725ef364796f84aed300705453c0998a228d83fa17bfe7d7a9b5790b158f90cba5ed0bb32c4b10d95c37c3810a1f3f793f835 WHIRLPOOL 11831144c764058452bab4ce6494dd2c3e334cddf981c87ec77b94b312d560359b29f29819a165d7fc5d9cf8bba44e758d8e2ee0f1e9abff118ba7a7445ca073
MISC metadata.xml 302 SHA256 3e34db58bacb628ede41c44dd9237420086178e6eadeee38e2ac869399aae24d SHA512 2ff22fa67bfa335de8cbbb0bd802232a7a1e3d8771fe65409477cb9164b5aa88f12127e86a41e04c07c2d3d581af70d15233f1d145c2c6c1d9f929e952a10706 WHIRLPOOL 8e768aec57877cf857445540acd7a28a0d00f507cfb05e4d930fef8ee79ff30443adf46652d7098612c9603d910741f9ae56a5a16a1ebe96c6ac9704a16974fa
diff --git a/dev-util/umockdev/files/umockdev-0.9.4-sysmacros.patch b/dev-util/umockdev/files/umockdev-0.9.4-sysmacros.patch
new file mode 100644
index 000000000000..bfc8bc9ed535
--- /dev/null
+++ b/dev-util/umockdev/files/umockdev-0.9.4-sysmacros.patch
@@ -0,0 +1,20 @@
+--- umockdev-0.9.4/src/umockdev-record.c
++++ umockdev-0.9.4/src/umockdev-record.c
+@@ -30,6 +30,7 @@
+ #include <stdio.h>
+ #include <stdarg.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <errno.h>
+ #include <sys/types.h>
+ #include <glib/gstdio.h>
+--- umockdev-0.9.4/tests/test-umockdev-vala.c
++++ umockdev-0.9.4/tests/test-umockdev-vala.c
+@@ -36,6 +36,7 @@
+ #include <unistd.h>
+ #include <glib/gstdio.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <gobject/gvaluecollector.h>
+
+ #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
diff --git a/dev-util/umockdev/umockdev-0.9.4.ebuild b/dev-util/umockdev/umockdev-0.9.4.ebuild
new file mode 100644
index 000000000000..56a4b358cf1e
--- /dev/null
+++ b/dev-util/umockdev/umockdev-0.9.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 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 python-any-r1
+
+DESCRIPTION="Mock hardware devices for creating unit tests"
+HOMEPAGE="https://github.com/martinpitt/umockdev/"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.xz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs test"
+
+RDEPEND="virtual/libgudev:=
+ virtual/libudev:=
+ >=dev-libs/glib-2.32:2"
+DEPEND="${RDEPEND}
+ test? ( ${PYTHON_DEPS} )
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-sysmacros.patch #579988
+)
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}