diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-07 02:47:39 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-07 02:47:39 +0000 |
commit | a5b5d8a3af2dc8315ad210d10a34f52ea45ee7fe (patch) | |
tree | 5df74a5f0d2393c53970b60d2c86b200bb235686 /dev-python/pyusb | |
parent | Fix building with some LDFLAGS (bug #238083). (diff) | |
download | gentoo-2-a5b5d8a3af2dc8315ad210d10a34f52ea45ee7fe.tar.gz gentoo-2-a5b5d8a3af2dc8315ad210d10a34f52ea45ee7fe.tar.bz2 gentoo-2-a5b5d8a3af2dc8315ad210d10a34f52ea45ee7fe.zip |
Add "examples" USE flag (bug #280585).
(Portage version: 13943-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyusb')
-rw-r--r-- | dev-python/pyusb/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pyusb/pyusb-0.4.2.ebuild | 12 |
2 files changed, 15 insertions, 3 deletions
diff --git a/dev-python/pyusb/ChangeLog b/dev-python/pyusb/ChangeLog index 3db05311f56f..463906e60288 100644 --- a/dev-python/pyusb/ChangeLog +++ b/dev-python/pyusb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyusb # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyusb/ChangeLog,v 1.5 2009/08/05 03:04:04 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyusb/ChangeLog,v 1.6 2009/08/07 02:47:39 arfrever Exp $ + + 07 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pyusb-0.4.2.ebuild: + Add "examples" USE flag (bug #280585). *pyusb-0.4.2 (05 Aug 2009) diff --git a/dev-python/pyusb/pyusb-0.4.2.ebuild b/dev-python/pyusb/pyusb-0.4.2.ebuild index fecc1c0694fe..a273a47b4246 100644 --- a/dev-python/pyusb/pyusb-0.4.2.ebuild +++ b/dev-python/pyusb/pyusb-0.4.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyusb/pyusb-0.4.2.ebuild,v 1.1 2009/08/05 03:04:04 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyusb/pyusb-0.4.2.ebuild,v 1.2 2009/08/07 02:47:39 arfrever Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ppc" -IUSE="" +IUSE="examples" ### The bus enumeration does not appear to work with libusb-compat ### A new version based on libusb-1.x is in the works, but not yet released @@ -22,3 +22,11 @@ DEPEND="virtual/libusb:0" RDEPEND="${DEPEND}" RESTRICT_PYTHON_ABIS="3*" + +src_install() { + distutils_src_install + if use examples; then + insinto /usr/share/doc/${PF} + doins -r samples + fi +} |