Edgewall Software

Changes between Initial Version and Version 1 of TracOnGentoo


Ignore:
Timestamp:
Apr 26, 2004, 7:13:16 PM (20 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracOnGentoo

    v1 v1  
     1= Installing and Running Trac on Gentoo =
     2
     3Here is an ebuild that is suitable for installing Trac 0.6.1 on Gentoo Linux.  It should include all dependencies listed in the install guide.  Since I have only tested on x86, it only includes the ~x86 keyword, so you will have to emerge with ACCEPT_KEYWORDS=~x86 set, or include the following in your /etc/portage/package.keywords:
     4
     5{{{
     6  net-www/trac ~x86
     7}}}
     8
     9You will probably need to do the same thing for some other packages with ~x86, because at the moment, subversion and clearsilver only have ~x86 ebuilds in the main portage tree.
     10
     11Here is the ebuild:
     12
     13{{{
     14# Copyright 1999-2004 Gentoo Technologies, Inc.
     15# Distributed under the terms of the GNU General Public License v2
     16# $Header: $
     17
     18DESCRIPTION="Software project portal with subversion integration, bug tracking, and wiki"
     19HOMEPAGE="http://projects.edgewall.com/trac/"
     20SRC_URI="ftp://ftp.edgewall.com/pub/trac/${P}.tar.gz"
     21LICENSE="GPL"
     22SLOT="0"
     23KEYWORDS="~x86"
     24IUSE=""
     25
     26DEPEND=">=dev-lang/python-2.1
     27        >=dev-util/subversion-0.37
     28        dev-db/sqlite
     29        >=dev-python/pysqlite-0.4.3
     30        >=dev-libs/clearsilver-0.9.3"
     31
     32src_compile() {
     33        einfo "No compilation required"
     34}
     35
     36src_install() {
     37        python ./setup.py install --prefix=/usr --root ${D} || die
     38}
     39}}}
     40
     41The best place to install it would be in your local portage overlay.  Uncomment PORTDIR_OVERLAY in your make.conf, and save this ebuild as ${PORTDIR_OVERLAY}/net-www/trac/trac-0.6.1.ebuild.  Then run '''ebuild ${PORTDIR_OVERLAY}/net-www/trac/trac-0.6.1.ebuild digest''' to create the md5 sum for the source archive.  Then '''emerge trac'''.
     42
     43The ebuild has not been submitted to the Gentoo maintainers yet, as I want to make sure it works cleanly.  Once I'm sure it works reasonably well, I will submit it so it will be in the main portage tree, and all this extra nonsense won't be necessary.
     44
     45Enjoy!