Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/hwids: hwids-20130529.ebuild ChangeLog hwids-20130514.ebuild hwids-20130523.ebuild
Date: Wed, 29 May 2013 14:54:59
Message-Id: 20130529145455.AD04C2171D@flycatcher.gentoo.org
1 flameeyes 13/05/29 14:54:55
2
3 Modified: ChangeLog
4 Added: hwids-20130529.ebuild
5 Removed: hwids-20130514.ebuild hwids-20130523.ebuild
6 Log:
7 Version bump and cleanup old.
8
9 (Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
10
11 Revision Changes Path
12 1.108 sys-apps/hwids/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.108&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.108&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?r1=1.107&r2=1.108
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v
21 retrieving revision 1.107
22 retrieving revision 1.108
23 diff -u -r1.107 -r1.108
24 --- ChangeLog 23 May 2013 14:35:44 -0000 1.107
25 +++ ChangeLog 29 May 2013 14:54:55 -0000 1.108
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-apps/hwids
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.107 2013/05/23 14:35:44 flameeyes Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.108 2013/05/29 14:54:55 flameeyes Exp $
31 +
32 +*hwids-20130529 (29 May 2013)
33 +
34 + 29 May 2013; Diego E. Pettenò <flameeyes@g.o> +hwids-20130529.ebuild,
35 + -hwids-20130514.ebuild, -hwids-20130523.ebuild:
36 + Version bump and cleanup old.
37
38 *hwids-20130523 (23 May 2013)
39
40
41
42
43 1.1 sys-apps/hwids/hwids-20130529.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20130529.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20130529.ebuild?rev=1.1&content-type=text/plain
47
48 Index: hwids-20130529.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20130529.ebuild,v 1.1 2013/05/29 14:54:55 flameeyes Exp $
53
54 EAPI=5
55 inherit udev eutils
56
57 DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases"
58 HOMEPAGE="https://github.com/gentoo/hwids"
59 SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz"
60
61 LICENSE="|| ( GPL-2 BSD ) public-domain"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux"
64 IUSE="+udev"
65
66 DEPEND="udev? (
67 dev-lang/perl
68 >=virtual/udev-197-r1
69 )"
70 RDEPEND="!<sys-apps/pciutils-3.1.9-r2
71 !<sys-apps/usbutils-005-r1"
72
73 S=${WORKDIR}/hwids-${P}
74
75 src_prepare() {
76 sed -i -e '/udevadm hwdb/d' Makefile || die
77 }
78
79 src_compile() {
80 emake UDEV=$(usex udev)
81 }
82
83 src_install() {
84 emake UDEV=$(usex udev) install \
85 DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
86 MISCDIR="${EPREFIX}/usr/share/misc" \
87 HWDBDIR="${EPREFIX}$(get_udevdir)/hwdb.d" \
88 DESTDIR="${D}"
89 }
90
91 pkg_postinst() {
92 use udev && udevadm hwdb --update --root="${ROOT%/}"
93 }