Photo of Seemant

Seemant's Blog

Jun 6 2007

Building My Django Weblog Part 6.6

Categories: , , Filed by: Seemant Kulleen
3 Comments Subscribe to this entry's comments RSS feed Subscribe to this entry's comments Atom feed

Just to follow up on the last entry's mention of django-tagging, I thought I'd paste the ebuild I created for it (that I have in my own personal overlay. I'm opting for not providing a download because the version could change and this ebuild code should be valid for higher versions. I named the ebuild django-tagging-0.1.ebuild and threw it into /usr/local/portage/dev-python/django-tagging. After that, just go into that directory and run:

ebuild django-tagging-0.1.ebuild digest
emerge django-tagging

That should do it. Then in your settings.py file, you'd add tagging into your INSTALLED_APPS list, and you're off. Without further ado, here's the ebuild code:

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit distutils

MY_P=${P/django-/}
S=${WORKDIR}/${MY_P}

DESCRIPTION="A generic tagging application for Django projects, which allows
    association of a number of tags with any Model instance and makes retrieval of
    tags simple."
HOMEPAGE="http://code.google.com/p/django-tagging/"
SRC_URI="http://django-tagging.googlecode.com/files/${MY_P}.zip"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="dev-python/django"
RDEPEND="dev-python/django"

src_install() {
    distutils_src_install
    dodoc *.txt docs/*.txt
}

All you gentoo + django people can now enjoy the goodness of django-tagging with minimal fuss :)

Permanent Link
Subscribe to this entry's comments RSS feed Subscribe to this entry's comments Atom feed

3 Comments

China Comment by powerleveling after 4 weeks, 1 day

okay.Thanks for your posting

Netherlands Comment by Vinanda after 1 month, 4 weeks

Hey you, How are you doing? Long time no hear.....

Vinanda

Zambia Comment by Haja Kapooria after 1 month, 4 weeks

Seemant,

Happy Birthday

Join the conversation