Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 75348

Summary: New ebuild pycairo python binding to cairo vector graphics library
Product: Gentoo Linux Reporter: Jeff Kowalczyk <jeff.kowalczyk>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 80680    
Bug Blocks:    
Attachments: dev-python/pycairo/pycairo-0.1.3.ebuild

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.