/[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.2 Revision 1.6
1# Copyright 1999-2007 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.2 2007/09/20 18:45:30 angelos 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
11S="${WORKDIR}/${MY_P}" 14S="${WORKDIR}/${MY_P}"
12 15
13KEYWORDS="~amd64 ~x86" 16KEYWORDS="amd64 x86"
14DESCRIPTION="Sitemap Gen is a python script which will generate an xml Sitemap for your web site." 17DESCRIPTION="Sitemap Gen is a python script which will generate an xml Sitemap for your web site."
15HOMEPAGE="http://goog-sitemapgen.sourceforge.net/" 18HOMEPAGE="http://goog-sitemapgen.sourceforge.net/"
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} && cd ${S}
25 28
29pkg_setup() {
30 python_set_active_version 2
31 python_pkg_setup
32}
33
34src_prepare() {
35 distutils_src_prepare
36
26 epatch ${FILESDIR}/${P}.patch 37 epatch "${FILESDIR}"/${P}.patch
27 38
28 mv sitemap_gen.py sitemap_gen 39 mv sitemap_gen.py sitemap_gen
29} 40}
30
31src_compile() {
32 distutils_src_compile
33}
34
35src_install() {
36 distutils_src_install
37
38 dodoc AUTHORS COPYING example_*
39}

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

  ViewVC Help
Powered by ViewVC 1.1.20