/[gentoo-x86]/net-misc/goog-sitemapgen/goog-sitemapgen-1.4.ebuild
Gentoo

Diff of /net-misc/goog-sitemapgen/goog-sitemapgen-1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.6
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/goog-sitemapgen/Attic/goog-sitemapgen-1.4.ebuild,v 1.4 2009/05/03 13:16:28 maekke Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/goog-sitemapgen/Attic/goog-sitemapgen-1.4.ebuild,v 1.6 2011/04/05 18:15:43 arfrever Exp $
4 4
5EAPI="3"
6PYTHON_DEPEND="2"
7
5inherit distutils 8inherit eutils distutils
6 9
7# Upstream version is sitemap_gen 10# Upstream version is sitemap_gen
8MY_PN="sitemap_gen" 11MY_PN="sitemap_gen"
9MY_P="${MY_PN}-${PV}" 12MY_P="${MY_PN}-${PV}"
10 13
16SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" 19SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
17LICENSE="BSD" 20LICENSE="BSD"
18SLOT="0" 21SLOT="0"
19IUSE="" 22IUSE=""
20 23
21RDEPEND=">=dev-lang/python-2.3" 24DEPEND=""
25RDEPEND=""
22 26
23src_unpack() { 27DOCS="AUTHORS example_*"
24 unpack ${A} 28
25 cd "${S}" 29pkg_setup() {
30 python_set_active_version 2
31 python_pkg_setup
32}
33
34src_prepare() {
35 distutils_src_prepare
26 36
27 epatch "${FILESDIR}"/${P}.patch 37 epatch "${FILESDIR}"/${P}.patch
28 38
29 mv sitemap_gen.py sitemap_gen 39 mv sitemap_gen.py sitemap_gen
30} 40}
31
32src_compile() {
33 distutils_src_compile
34}
35
36src_install() {
37 distutils_src_install
38
39 dodoc AUTHORS example_*
40}

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20