radhermit    15/02/21 20:23:38

  Modified:             ChangeLog
  Added:                usbutils-008-r1.ebuild
  Log:
  Add missing udev dep (bug #536310) and drop unused zlib dep (bug #540932).
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
4F064CA3)

Revision  Changes    Path
1.189                sys-apps/usbutils/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usbutils/ChangeLog?rev=1.189&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usbutils/ChangeLog?rev=1.189&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usbutils/ChangeLog?r1=1.188&r2=1.189

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -r1.188 -r1.189
--- ChangeLog   26 Jan 2015 10:39:23 -0000      1.188
+++ ChangeLog   21 Feb 2015 20:23:38 -0000      1.189
@@ -1,6 +1,11 @@
 # ChangeLog for sys-apps/usbutils
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.188 
2015/01/26 10:39:23 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.189 
2015/02/21 20:23:38 radhermit Exp $
+
+*usbutils-008-r1 (21 Feb 2015)
+
+  21 Feb 2015; Tim Harder <[email protected]> +usbutils-008-r1.ebuild:
+  Add missing udev dep (bug #536310) and drop unused zlib dep (bug #540932).
 
   26 Jan 2015; Agostino Sarubbo <[email protected]> usbutils-008.ebuild:
   Stable for x86, wrt bug #535656



1.1                  sys-apps/usbutils/usbutils-008-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usbutils/usbutils-008-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usbutils/usbutils-008-r1.ebuild?rev=1.1&content-type=text/plain

Index: usbutils-008-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-008-r1.ebuild,v 
1.1 2015/02/21 20:23:38 radhermit Exp $

EAPI=5
PYTHON_COMPAT=( python2_7 )

inherit python-single-r1

DESCRIPTION="USB enumeration utilities"
HOMEPAGE="http://linux-usb.sourceforge.net/";
SRC_URI="mirror://kernel/linux/utils/usb/${PN}/${P}.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
IUSE="python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

CDEPEND="virtual/libusb:1=
        virtual/udev"
DEPEND="${CDEPEND}
        app-arch/xz-utils
        virtual/pkgconfig"
RDEPEND="${CDEPEND}
        sys-apps/hwids
        python? ( ${PYTHON_DEPS} )"

pkg_setup() {
        use python && python-single-r1_pkg_setup
}

src_prepare() {
        epatch "${FILESDIR}"/${PN}-006-stdint.patch
        sed -i -e '/^usbids/s:/usr/share:/usr/share/misc:' lsusb.py || die
        use python && python_fix_shebang lsusb.py
}

src_configure() {
        econf \
                --datarootdir="${EPREFIX}/usr/share" \
                --datadir="${EPREFIX}/usr/share/misc"
}

src_install() {
        default
        newdoc usbhid-dump/NEWS NEWS.usbhid-dump

        use python || rm -f "${ED}"/usr/bin/lsusb.py
}




Reply via email to