/[gentoo-x86]/dev-python/python-docs/python-docs-3.3.2.ebuild
Gentoo

Contents of /dev-python/python-docs/python-docs-3.3.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sat Jan 18 01:08:18 2014 UTC (6 years, 5 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +2 -2 lines
Add arm64 love.

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

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-3.3.2.ebuild,v 1.12 2014/01/18 01:06:48 vapier Exp $
4
5 EAPI="3"
6
7 DESCRIPTION="HTML documentation for Python"
8 HOMEPAGE="http://www.python.org/doc/"
9 SRC_URI="http://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2"
10
11 LICENSE="PSF-2"
12 SLOT="3.3"
13 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
14 IUSE=""
15
16 DEPEND=""
17 RDEPEND=""
18
19 S="${WORKDIR}/python-${PV}-docs-html"
20
21 src_install() {
22 dohtml -A xml -r ./
23 echo "PYTHONDOCS_${SLOT//./_}=\"${EPREFIX}/usr/share/doc/${PF}/html/library\"" > "60python-docs-${SLOT}"
24 doenvd "60python-docs-${SLOT}"
25 }
26
27 pkg_postrm() {
28 if ! has_version "<dev-python/python-docs-${SLOT}_alpha" && ! has_version ">=dev-python/python-docs-${SLOT%.*}.$((${SLOT#*.}+1))_alpha"; then
29 rm -f "${EROOT}etc/env.d/65python-docs"
30 fi
31 }

  ViewVC Help
Powered by ViewVC 1.1.20