summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Serboncini <fserb@gentoo.org>2005-02-05 00:34:08 +0000
committerFernando Serboncini <fserb@gentoo.org>2005-02-05 00:34:08 +0000
commit8edd928cd9c537718c7bd46476b5b36a9ca17417 (patch)
tree44b47285b8a272a6dd78d7a53d8abd991cb27ef7 /dev-python/pycairo
parentdev-python/pycairo USE flags added (diff)
downloadgentoo-2-8edd928cd9c537718c7bd46476b5b36a9ca17417.tar.gz
gentoo-2-8edd928cd9c537718c7bd46476b5b36a9ca17417.tar.bz2
gentoo-2-8edd928cd9c537718c7bd46476b5b36a9ca17417.zip
Initial ebuild
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-python/pycairo')
-rw-r--r--dev-python/pycairo/ChangeLog10
-rw-r--r--dev-python/pycairo/Manifest3
-rw-r--r--dev-python/pycairo/files/digest-pycairo-0.1.41
-rw-r--r--dev-python/pycairo/metadata.xml5
-rw-r--r--dev-python/pycairo/pycairo-0.1.4.ebuild37
5 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/pycairo/ChangeLog b/dev-python/pycairo/ChangeLog
new file mode 100644
index 000000000000..4ae8fd2ab158
--- /dev/null
+++ b/dev-python/pycairo/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/pycairo
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.1 2005/02/05 00:34:08 fserb Exp $
+
+*pycairo-0.1.4 (04 Feb 2005)
+
+ 04 Feb 2005; Fernando Serboncini <fserb@gentoo.org> +metadata.xml,
+ +pycairo-0.1.4.ebuild:
+ Initial ebuild
+
diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest
new file mode 100644
index 000000000000..b295a1276a30
--- /dev/null
+++ b/dev-python/pycairo/Manifest
@@ -0,0 +1,3 @@
+MD5 73ba9acd24345470457468c6cee45490 metadata.xml 160
+MD5 f7315cb868bd7d99768aaa2853b954e4 pycairo-0.1.4.ebuild 903
+MD5 197f8f1d3b3932ad729ffd62de589135 files/digest-pycairo-0.1.4 65
diff --git a/dev-python/pycairo/files/digest-pycairo-0.1.4 b/dev-python/pycairo/files/digest-pycairo-0.1.4
new file mode 100644
index 000000000000..560877b27c14
--- /dev/null
+++ b/dev-python/pycairo/files/digest-pycairo-0.1.4
@@ -0,0 +1 @@
+MD5 ffa6746828745641adf96964d02b7cc0 pycairo-0.1.4.tar.gz 339239
diff --git a/dev-python/pycairo/metadata.xml b/dev-python/pycairo/metadata.xml
new file mode 100644
index 000000000000..40ceae0c4013
--- /dev/null
+++ b/dev-python/pycairo/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+</pkgmetadata>
diff --git a/dev-python/pycairo/pycairo-0.1.4.ebuild b/dev-python/pycairo/pycairo-0.1.4.ebuild
new file mode 100644
index 000000000000..931498915044
--- /dev/null
+++ b/dev-python/pycairo/pycairo-0.1.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-0.1.4.ebuild,v 1.1 2005/02/05 00:34:08 fserb Exp $
+
+#inherit distutils
+
+DESCRIPTION="Python wrapper for cairo vector graphics library"
+HOMEPAGE="http://cairographics.org/pycairo"
+SRC_URI="http://cairographics.org/snapshots/${P}.tar.gz"
+LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="gtk numeric svg"
+
+DEPEND=">=virtual/python-2.2
+ >=x11-libs/cairo-0.2.0
+ gtk? ( >=dev-python/pygtk-1.99 )
+ svg? ( >=x11-libs/libsvg-cairo-0.1.4 )
+ numeric? ( dev-python/numeric )"
+
+src_compile() {
+ # dev-python/numeric and libsvg-cairo are automatically
+ # detected by the ./configure script, so don't need to force
+ econf $(use_with gtk pygtk)
+ emake || die "emake failed"
+}
+
+src_install() {
+ einstall || die "install failed"
+
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*
+
+ dodoc AUTHORS NOTES README NEWS ChangeLog
+}
+
+