Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75348 - New ebuild pycairo python binding to cairo vector graphics library
Summary: New ebuild pycairo python binding to cairo vector graphics library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 80680
Blocks:
  Show dependency tree
 
Reported: 2004-12-22 11:15 UTC by Jeff Kowalczyk
Modified: 2005-02-04 16:39 UTC (History)
0 users

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


Attachments
dev-python/pycairo/pycairo-0.1.3.ebuild (pycairo-0.1.3.ebuild,679 bytes, text/plain)
2004-12-22 11:16 UTC, Jeff Kowalczyk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2004-12-22 11:15:53 UTC
pycairo is a python binding to cairo vector graphics library. pycairo is not distutils based. Enabled use-vars of 'numeric' and 'gtk'. pycairo build will auto-detect these, but use-vars give the user control of what to pull in via dependencies.

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit distutils

DESCRIPTION="Python wrapper for cairo vector graphics library"
HOMEPAGE="http://cairographics.org/"
SRC_URI="http://cairographics.org/snapshots/${P}.tar.gz"
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
KEYWORDS="~x86 ~sparc ~ppc"
IUSE="gtk numeric"

DEPEND="virtual/python"
RDEPEND="${DEPEND}
        gtk? ( dev-python/pygtk )
        numeric? ( dev-python/numeric )"

src_install() {
        distutils_src_install
}

src_compile() {
        econf || die
        emake || die "emake failed"
}

src_install() {
        einstall || die "install failed"
}


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jeff Kowalczyk 2004-12-22 11:16:31 UTC
Created attachment 46652 [details]
dev-python/pycairo/pycairo-0.1.3.ebuild
Comment 2 Fernando Serboncini (RETIRED) gentoo-dev 2005-02-04 16:39:36 UTC
dev-python/cairo has been added on the CVS. 
Check the commited ebuild to see some mistakes you made with yours. (and probably some of my own mistakes).
Thanks for the notice.