]> Frank Brehm's Git Trees - portage.git/commitdiff
Added dev-python/wand/wand-0.3.7.ebuild
authorFrank Brehm <frank@brehm-online.com>
Sun, 18 May 2014 10:34:43 +0000 (12:34 +0200)
committerFrank Brehm <frank@brehm-online.com>
Sun, 18 May 2014 10:34:43 +0000 (12:34 +0200)
dev-python/wand/Manifest [new file with mode: 0644]
dev-python/wand/wand-0.3.7.ebuild [new file with mode: 0644]

diff --git a/dev-python/wand/Manifest b/dev-python/wand/Manifest
new file mode 100644 (file)
index 0000000..30b9435
--- /dev/null
@@ -0,0 +1 @@
+EBUILD wand-0.3.7.ebuild 1203 SHA256 2c3b8368ec86d708ad9aabfedafb419d19e6fe0b208f24470d4c4cbc83b202d9 SHA512 7cf783260593d644d51d7bc3d235e6a09a2ab6da8b5facfbeb085e00553ab1bfe1e7e9a73923e0809a314c46a298eadf876dfb8c09b2e538e6f236d40cc6835b WHIRLPOOL 93409e0599b42ddd17dbcf3730ad38e1dadabebd10421cc7e3e156c9724aed0a0e851f98ad5f0eb6730c6486738387e4dcbfe921663fe4ed4fa629a24d076734
diff --git a/dev-python/wand/wand-0.3.7.ebuild b/dev-python/wand/wand-0.3.7.ebuild
new file mode 100644 (file)
index 0000000..0221382
--- /dev/null
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy2_0 )
+
+DESCRIPTION="Python interface for ImageMagick library"
+HOMEPAGE="http://docs.wand-py.org/"
+SRC_URI=""
+EGIT_REPO_URI="git://github.com/dahlia/wand.git"
+
+inherit git-2 distutils-r1
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc"
+
+EGIT_BRANCH="master"
+EGIT_COMMIT=${PV}
+
+DOCS="CONTRIBUTING.rst LICENSE MANIFEST.in README.rst"
+
+RDEPEND="
+       ${PYTHON_DEPS}
+       >=media-gfx/imagemagick-6.4
+"
+DEPEND="
+       ${RDEPEND}
+       doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+"
+
+pkg_setup() {
+
+       einfo "Used GIT tag: '${EGIT_COMMIT}'."
+       einfo "Start setup package ..."
+       distutils-r1_src_prepare
+}
+
+src_compile() {
+       einfo "Start compiling package ..."
+       distutils-r1_src_compile
+       if use doc; then
+               sphinx-build docs html || die
+       fi
+}
+
+src_install() {
+       einfo "Start installing package ..."
+       distutils-r1_src_install
+       rm -f -v ${ED}usr/README.rst
+       rm -f -v ${D}usr/README.rst
+}
+
+python_install_all() {
+       einfo "Start installing complete package ..."
+       use doc && local HTML_DOCS=( html/. )
+       distutils-r1_python_install_all
+}
+
+# vim: filetype=ebuild ts=4 sw=4