Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2211 - Twisted-0.17.4.ebuild (New Ebuild)
Summary: Twisted-0.17.4.ebuild (New Ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-28 21:56 UTC by Gontran Zepeda
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gontran Zepeda 2002-04-28 21:56:50 UTC
Saw this on lwn.net.  Bad ebuild ugliness installing the docs.

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Gontran Zepeda <gontran@gontran.net>

S=${WORKDIR}/${P}
DESCRIPTION="Twisted is a collection of servers and clients, which can be \
used either by developers of new applications or directly. Documentation included." 
SRC_URI="http://www.twistedmatrix.com/downloads/${P}.tar.bz2"
HOMEPAGE="http://www.twistedmatrix.com/"

DEPEND="virtual/python"

src_compile() {
        cp setup.py setup.py.orig
        python setup.py build || die
}

src_install() {
        python setup.py install --root=${D} --prefix=/usr || die
        # next few lines will install docs: 9.4 megs! 
        dodir /usr/share/doc/${PF}
        # of course it's documentation!
        cd doc
        cp -r . ${D}/usr/share/doc/${PF}
        cd ../
        rm -rf doc/man  # don't dupe the man pages
        doman doc/man/*
        dodoc README TODO CREDITS
}
Comment 1 Gontran Zepeda 2002-04-28 21:58:22 UTC
fex.  Extra 'cp setup.py setup.py.orig' left over from cut and paste.
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-05-28 14:12:59 UTC
Will get to it. Sorry about the delay.
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-06-03 17:25:26 UTC
Available as dev-python/twisted-0.18.0