/[gentoo-x86]/dev-python/pyserial/pyserial-2.7-r1.ebuild
Gentoo

Contents of /dev-python/pyserial/pyserial-2.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Sat Apr 4 19:26:17 2015 UTC (4 years, 7 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +2 -2 lines
Mark arm64/m68k/s390/sh stable.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyserial/pyserial-2.7-r1.ebuild,v 1.13 2015/01/02 12:25:24 ago Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
7
8 inherit distutils-r1
9
10 DESCRIPTION="Python Serial Port Extension"
11 HOMEPAGE="http://pyserial.sourceforge.net/ http://sourceforge.net/projects/pyserial/ http://pypi.python.org/pypi/pyserial"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
13
14 LICENSE="PSF-2"
15 SLOT="0"
16 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
17 IUSE="doc examples"
18
19 DEPEND="
20 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
21 RDEPEND=""
22 PATCHES=( "${FILESDIR}"/mapping.patch )
23 DOCS=( CHANGES.txt README.txt )
24
25 python_prepare_all() {
26 # Usual avoid d'loading un-needed objects.inv file
27 distutils-r1_python_prepare_all
28 }
29
30 python_compile_all() {
31 use doc && emake -C documentation html
32 }
33
34 python_install_all() {
35 use doc && local HTML_DOCS=( documentation/_build/html/. )
36 use examples && local EXAMPLES=( examples/. )
37 distutils-r1_python_install_all
38 }

  ViewVC Help
Powered by ViewVC 1.1.20