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

Contents of /net-misc/goog-sitemapgen/goog-sitemapgen-1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Aug 7 17:32:35 2012 UTC (7 years, 3 months ago) by kensington
Branch: MAIN
Changes since 1.1: +9 -14 lines
Tidy ebuild.

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 pacho 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 kensington 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/goog-sitemapgen/goog-sitemapgen-1.5.ebuild,v 1.1 2012/03/20 10:49:38 pacho Exp $
4 pacho 1.1
5     EAPI=4
6     PYTHON_DEPEND="2"
7    
8 kensington 1.2 inherit eutils python distutils
9 pacho 1.1
10 kensington 1.2 MY_P="sitemap_gen_${PV}"
11 pacho 1.1
12 kensington 1.2 DESCRIPTION="A python script which will generate an XML sitemap for your web site."
13     HOMEPAGE="http://sitemap-generators.googlecode.com/"
14     SRC_URI="http://sitemap-generators.googlecode.com/files/${MY_P}.tar.gz"
15 pacho 1.1
16     LICENSE="BSD"
17     SLOT="0"
18 kensington 1.2 KEYWORDS="~amd64 ~x86"
19 pacho 1.1 IUSE=""
20    
21 kensington 1.2 DOCS="AUTHORS ChangeLog example_* README"
22 pacho 1.1
23 kensington 1.2 S=${WORKDIR}
24 pacho 1.1
25     pkg_setup() {
26     python_set_active_version 2
27     python_pkg_setup
28     }
29    
30     src_prepare() {
31     distutils_src_prepare
32     epatch "${FILESDIR}"/${P}.patch
33     mv sitemap_gen.py sitemap_gen || die
34     }

  ViewVC Help
Powered by ViewVC 1.1.20