summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-03-15 01:09:20 +0000
committerTim Harder <radhermit@gentoo.org>2013-03-15 01:09:20 +0000
commit33d791bb90706c2b6f7015e363caff89726f183b (patch)
tree27e733a8e75cd9fb2e194014ee7010b853324a88 /dev-util
parentInitial import. (diff)
downloadhistorical-33d791bb90706c2b6f7015e363caff89726f183b.tar.gz
historical-33d791bb90706c2b6f7015e363caff89726f183b.tar.bz2
historical-33d791bb90706c2b6f7015e363caff89726f183b.zip
Initial import.
Package-Manager: portage-2.2.0_alpha166/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/umockdev/Manifest18
-rw-r--r--dev-util/umockdev/files/umockdev-0.2.1-make.patch38
-rw-r--r--dev-util/umockdev/metadata.xml8
-rw-r--r--dev-util/umockdev/umockdev-0.2.1.ebuild29
4 files changed, 91 insertions, 2 deletions
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest
index 36719b2fedba..f1588b048536 100644
--- a/dev-util/umockdev/Manifest
+++ b/dev-util/umockdev/Manifest
@@ -1,5 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX umockdev-0.2.1-make.patch 1261 SHA256 1c3adb4662d190c86d28e87e079167cec6fd339d519a75a8cd2686d592b2982d SHA512 3b5df3ef06704eb622d4d947bc89f267457cd559c30a6bd5c4ccb092ae2a292e432b337cff9849258adb8ae36ff1fe8bc1f12d4a84ba056e04b8518516d8887f WHIRLPOOL 3855733f9895c59337a6f8123002ad566028cc4ad1c2ea81cea82801c60a046b2855c9a1d48e9dcc6b5a4aedcadf46460097097be56f65340c822a7166ff60c5
DIST umockdev-0.2.1.tar.xz 363652 SHA256 38972c7b8f2bf8acc28f13a6ed99d56557204600400288acdda69b05b25573a4 SHA512 a65e5dc6cc8d7fe0948f07e34379050a0b3640523f7f60393d81a2e1615bb4029a3c107f29b26425df59c5e34e9f69a5f3bf2683608e787b5e9b1ae70807dbb5 WHIRLPOOL 23a195bbf54dd3a4978718b817be6938c371793d779bace18c01b855bf7d63a78a19682cdf82156d0a973d589e3d52fd5a828ac92ee396f02d24f63385af5df5
-EBUILD umockdev-0.2.1.ebuild 703 SHA256 b406f09098e4550982428aa452dfd8fd2fcc8ca21e393edac61623a756ff2503 SHA512 36547dfdd08ede03ca9b14fca794cb18be4ee76b90c05e6fc1eceb90d3f0c34750ebb16419e2ce33a794c3698905e4c8496832e0623463595dca249a5a6d8526 WHIRLPOOL ff7e207e17d0eda5b60610b2a5db2f5ee5d5422a502048b3423eff8a910624a6eb5dc0a5d503c2f6a5c95ebe884e7f579151d5a3fc130028ca152123a4bce5eb
-MISC ChangeLog 292 SHA256 753dd80803a2bbe20aae141a6c04c9b5fd7b629517189693c131fcb73d37c6e6 SHA512 17db017862c19ca76c5317cb8bc05256d5d0f39ad0b6a4f42e19b40c0f843006a48438adf7b6a1783bb43b0485d5cd990679f20a434207a637b97a2f0ab6c7eb WHIRLPOOL 49c0759ff7368faa0f5c1e0d4abc015ed9b6f28e8e251d89cc62545636f06cd86e58f8ff51dec16726a8232ebb1d38248efe62e7d7f9329fe062be946bb7fa65
+EBUILD umockdev-0.2.1.ebuild 807 SHA256 fda878fe6e314344a455fd831536a460cf401f20c02cf31ae3d7ea4bb93dddf1 SHA512 f695fa79c4b1b0e6cda5bfc177cea8d8f9865f3963844ac4ca7e55a837cf29c0bffae9c06d79abd92ee56c9b653c4c49fb8b541e93791fdf7c362cd3ef8e003f WHIRLPOOL b9dad8db77c6a85ce77bcdcfea379d321fc2004a4fc97ae6dd709fc45acbf8b1ffa9efc294d719f10d13ac107d69725eec42c73c2be8f60d511e40b16a19c6e4
+MISC ChangeLog 384 SHA256 b35d604bbf6de3f7d165077634f6ede61acb9a4086b2a595acce07055b6bbeb6 SHA512 958783f571828628a1184b40aa90539b0603af56dc6f8d648fb5bce06dc9d8cff793cda51b4ad66fd31f1019b13d7069706d89ca1dc4bdbaa1ec1ca451153a33 WHIRLPOOL 41f71d88af7124497ca3a8f6da81525ace992767d25b131afb0be69e405ddc2882131b779c04a3d9d5ff58167bf7bcb85c2378f7012d526e9f6c74dd878da37c
MISC metadata.xml 232 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a SHA512 6952f63da1c92a4ed7ddb87b5eb4003d123f0b7af6ffdbc9118159c97ddf18917e8ac7727285a42c07c64e52a40335bc2ef9f17261557617beb8c2226a391873 WHIRLPOOL 0a4441f075f8af01588da2aac3e03732f93463b8bea5e46749d37e1468452735d15f45243b930b3346c93734f8aa235a492030445fee471a95d2c5998f08e7de
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRQnTAAAoJEEqz6FtPBkyjGYQIAK1TI7PUX35/dKXuXS2nMO2C
+4IhGQL0YcAf+FMz7//vdZQKfzBT42ixGtwAIZpXnntHqBzP5FkwwhyCKmM96VaV/
+zlKDGiLv2rkh9tpWmEmtGBNgN7yDvwQtEKLsF5SvWF2msRd3q9+KtGnkPAGZAYYk
+lDHo2QwxmBMbrTl7igNbpJZIW9uN2o6LuJ2u2NCL97CjF20jPo+DIeezEjdkpcyc
+AaESpNTPlzA7urdwwJjS/UGp5LS/3AL85nTEaHzLXJ9MbAQXaV6hWyRoQVa4RRTz
+HYtiJvpFvLg6woeKCk9FIhB/0Tf/NvUuoI/5Bjr7puwhhFrK/Hy/hUF6TqWqS+Y=
+=DYWB
+-----END PGP SIGNATURE-----
diff --git a/dev-util/umockdev/files/umockdev-0.2.1-make.patch b/dev-util/umockdev/files/umockdev-0.2.1-make.patch
new file mode 100644
index 000000000000..fcaa42729df3
--- /dev/null
+++ b/dev-util/umockdev/files/umockdev-0.2.1-make.patch
@@ -0,0 +1,38 @@
+--- umockdev-0.2.1/Makefile.am
++++ umockdev-0.2.1/Makefile.am
+@@ -41,21 +41,7 @@
+ # use this for running Python tests
+ PYTEST = $(TESTS_ENVIRONMENT) $(PYTHON) -Wd -Werror::PendingDeprecationWarning -Werror::DeprecationWarning
+
+-AM_CFLAGS = \
+- -Werror=missing-prototypes \
+- -Werror=strict-prototypes \
+- -Werror=nested-externs \
+- -Werror=pointer-arith \
+- -Werror=implicit-function-declaration \
+- -Werror=pointer-arith \
+- -Werror=init-self \
+- -Werror=format-security \
+- -Werror=format=2 \
+- -Werror=missing-include-dirs \
+- -Werror=unused-variable \
+- -Werror=return-type \
+- -Werror=uninitialized \
+- -Wall
++AM_CFLAGS = -Wall
+
+ # this allows us to use regexp literals without warnings
+ AM_VALAFLAGS = --enable-experimental
+@@ -82,9 +68,9 @@
+
+ # this is an LD_PRELOAD library, so remove static library and libtool wrappers
+ libumockdev-preload-install-hook:
+- rm $(DESTDIR)$(libdir)/libumockdev-preload.a
+- rm $(DESTDIR)$(libdir)/libumockdev-preload.so
+- rm $(DESTDIR)$(libdir)/libumockdev-preload.la
++ rm -f $(DESTDIR)$(libdir)/libumockdev-preload.a
++ rm -f $(DESTDIR)$(libdir)/libumockdev-preload.so
++ rm -f $(DESTDIR)$(libdir)/libumockdev-preload.la
+
+ libumockdev-preload-uninstall-hook:
+ rm $(DESTDIR)$(libdir)/libumockdev-preload.so.*
diff --git a/dev-util/umockdev/metadata.xml b/dev-util/umockdev/metadata.xml
new file mode 100644
index 000000000000..157326a7e891
--- /dev/null
+++ b/dev-util/umockdev/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-util/umockdev/umockdev-0.2.1.ebuild b/dev-util/umockdev/umockdev-0.2.1.ebuild
new file mode 100644
index 000000000000..fa715f637ece
--- /dev/null
+++ b/dev-util/umockdev/umockdev-0.2.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/umockdev/umockdev-0.2.1.ebuild,v 1.1 2013/03/15 01:09:15 radhermit Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
+
+inherit python-any-r1 autotools-utils
+
+DESCRIPTION="Mock hardware devices for creating unit tests"
+HOMEPAGE="https://github.com/martinpitt/umockdev/"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV:0:3}/+download/${P}.tar.xz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs test"
+
+RDEPEND="virtual/udev[gudev]
+ >=dev-libs/glib-2.24:2"
+DEPEND="${RDEPEND}
+ test? ( ${PYTHON_DEPS} )
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${P}-make.patch )
+AUTOTOOLS_AUTORECONF=1