summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pysfml')
-rw-r--r--dev-python/pysfml/ChangeLog10
-rw-r--r--dev-python/pysfml/metadata.xml9
-rw-r--r--dev-python/pysfml/pysfml-1.6.ebuild33
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/pysfml/ChangeLog b/dev-python/pysfml/ChangeLog
new file mode 100644
index 000000000000..96e86c4e490f
--- /dev/null
+++ b/dev-python/pysfml/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/pysfml
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysfml/ChangeLog,v 1.1 2011/02/07 11:44:08 radhermit Exp $
+
+*pysfml-1.6 (07 Feb 2011)
+
+ 07 Feb 2011; Tim Harder <radhermit@gentoo.org> +pysfml-1.6.ebuild,
+ +metadata.xml:
+ Initial import. Split from media-libs/libsfml.
+
diff --git a/dev-python/pysfml/metadata.xml b/dev-python/pysfml/metadata.xml
new file mode 100644
index 000000000000..a61867c947a4
--- /dev/null
+++ b/dev-python/pysfml/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version = '1.0' encoding = 'UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/pysfml/pysfml-1.6.ebuild b/dev-python/pysfml/pysfml-1.6.ebuild
new file mode 100644
index 000000000000..d64ad7399c57
--- /dev/null
+++ b/dev-python/pysfml/pysfml-1.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysfml/pysfml-1.6.ebuild,v 1.1 2011/02/07 11:44:08 radhermit Exp $
+
+EAPI=3
+PYTHON_DEPEND="2:2.6 3"
+PYTHON_MODNAME="PySFML"
+
+inherit distutils
+
+DESCRIPTION="Python library for the Simple and Fast Multimedia Library (SFML)"
+HOMEPAGE="http://sfml.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sfml/SFML-${PV}-python-sdk.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+DEPEND="media-libs/libsfml"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/SFML-${PV}/python"
+
+src_install() {
+ distutils_src_install
+ use doc && dohtml doc/*
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r samples/* || die "doins failed"
+ fi
+}