diff options
Diffstat (limited to 'dev-python/enaml')
-rw-r--r-- | dev-python/enaml/Manifest | 5 | ||||
-rw-r--r-- | dev-python/enaml/enaml-0.9.8.ebuild | 59 | ||||
-rw-r--r-- | dev-python/enaml/metadata.xml | 17 |
3 files changed, 81 insertions, 0 deletions
diff --git a/dev-python/enaml/Manifest b/dev-python/enaml/Manifest new file mode 100644 index 000000000000..75264614a8c3 --- /dev/null +++ b/dev-python/enaml/Manifest @@ -0,0 +1,5 @@ +DIST enaml-0.9.8.tar.gz 1455642 SHA256 c646f12dc7928555f2f24a10706c0d668b11a5e63e4b878dcb267247bf22a1d5 SHA512 e9b88d1fbb9e82564d3a865f74685b1b1f8b8918e29dd4d7ce7d6b4b2e6d386c6388e99f9bf0adb02fb9277a57519f8502a33bd6e0548fd1a4d52d0a4b33cf02 WHIRLPOOL f9c6874f7fec569acdbf74c5cdd24c6189506980ca65028c3ea53ed076338a5edea6b19d018d19b8662385b058d9c96c7e36239a1f86d8c1cdcada559f49bfd8 +EBUILD enaml-0.9.8.ebuild 1671 SHA256 a453bf277d7fd4d2b3212da443bc1125bb33574599bb62e1ba5ac2c1c8a8aa68 SHA512 bab220c729adb94b406d6626653f06daec88e7938b2470b2942d09c53e322029713e190553afea5faa26c2bef1c667fbcb9db3ded0ca2dc126a1adbadf5b3279 WHIRLPOOL c5731df721bf2017600be92affbc30b66224c05cbb5a8bc12e2f1b08edde4b320da0606a7bbc94f52ffe028031abcebe0d1b215f3ab50e39ff64260fff1049fe +MISC ChangeLog 2643 SHA256 0381a605cf493dde99a82de49600aed669a69a6326503ceec1f93786f0f65fd6 SHA512 5813514be58709f0ac8c10cefaa68d997097d3d27f2b5743bd99878d9a29939455e0b01d8082b4be40f9a0137d001f6258a5bd0c2386909bc93cf805e8540c5c WHIRLPOOL 8510f2ea9d21cac07282337e5674fe694c7f721c5ff1bc1d239a5ea5f568996bb77d1f0d1b73e3dbc56f2dec2a490164d93107161daa6856e296d51316af0ea5 +MISC ChangeLog-2015 1764 SHA256 c91b77d1efd17cf7315e233274f0670f5c658eebf28f82318d3b60cedbbb9567 SHA512 31f1db335139e758c4e4e12189a0689a25084ba02fb51b7dd2798532e6248f93b65c19d9f8117c975a7b94a8fc3156d9486dad955ab5ed65bcdf895aa0ad316e WHIRLPOOL d0215bf2edb9541bc6f8962381e076f65d2c6e77608e313c7d72c1b029308c8b701b5db070a038fb40e010701440509e8d9c514cd9eeb122528eba87312f0304 +MISC metadata.xml 631 SHA256 a02f73a3bb3193a145a9f1a93f53bacd80647dff4a0bf1b0231320d97bb4d7a5 SHA512 2c642e89488173558b55516bfc7830c8e324f79508b133a4b238b85588f58417a8ed2edcea4dee94dea734e4e9d6adef873bffc12d53e4c6655a59bc7309b3b4 WHIRLPOOL 21cf9c1b2ae2e20db7cc5a4c2822787e15f1ffa996cdf1c2349dfdef662eaaef36a3e0d160d198f3ac533e75f77f94dcdaa9c555c8945601e8da423e3fe0cbf7 diff --git a/dev-python/enaml/enaml-0.9.8.ebuild b/dev-python/enaml/enaml-0.9.8.ebuild new file mode 100644 index 000000000000..141a0e63b409 --- /dev/null +++ b/dev-python/enaml/enaml-0.9.8.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 virtualx flag-o-matic + +DESCRIPTION="Enthought Tool Suite: framework for writing declarative interfaces" +HOMEPAGE="https://github.com/nucleic/enaml https://pypi.python.org/pypi/enaml" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="examples test" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/atom-0.3.8[${PYTHON_USEDEP}] + >=dev-python/kiwisolver-0.1.2[${PYTHON_USEDEP}] + >=dev-python/ply-3.4[${PYTHON_USEDEP}] + || ( + dev-python/wxpython:*[${PYTHON_USEDEP}] \ + dev-python/PyQt4[${PYTHON_USEDEP}] \ + dev-python/pyside[${PYTHON_USEDEP}] )" + +DEPEND="${RDEPEND} + test? ( dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/wxpython[${PYTHON_USEDEP}] + dev-python/pyside[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +# The testsuite antagonises gentoo conventions far beyond what can currently be dealt with +# It also passes all once run +RESTRICT="test" + +# Doc build now fails, missing required folder, use doc removed for now +# https://github.com/nucleic/enaml/issues/170 +#python_compile_all() { +# use doc && emake -C docs html +#} + +python_prepare_all() { + append-flags -fno-strict-aliasing + distutils-r1_python_prepare_all +} + +python_test() { + export ETS_TOOLKIT=qt4 + export QT_API=pyside + VIRTUALX_COMMAND="nosetests -v" virtualmake +} + +python_install_all() { +# use doc && local HTML_DOCS=( docs/build/html/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/enaml/metadata.xml b/dev-python/enaml/metadata.xml new file mode 100644 index 000000000000..15d1b80895d1 --- /dev/null +++ b/dev-python/enaml/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en"> + Enaml is a framework for writing declarative user interfaces in + Python. It provides a Yaml-ish/Pythonic syntax language for + declaring a ui that binds and reacts to changes in the user's + models. Code can freely call back and forth between Python and Enaml. +</longdescription> + <upstream> + <remote-id type="pypi">enaml</remote-id> + </upstream> +</pkgmetadata> |