diff options
Diffstat (limited to 'dev-python/stomper')
-rw-r--r-- | dev-python/stomper/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/stomper/stomper-0.2.7.ebuild | 38 |
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-python/stomper/ChangeLog b/dev-python/stomper/ChangeLog index 496211e0ecdc..51a559839718 100644 --- a/dev-python/stomper/ChangeLog +++ b/dev-python/stomper/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/stomper # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/stomper/ChangeLog,v 1.18 2013/06/19 08:23:37 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/stomper/ChangeLog,v 1.19 2013/06/25 07:42:11 patrick Exp $ + +*stomper-0.2.7 (25 Jun 2013) + + 25 Jun 2013; Patrick Lauer <patrick@gentoo.org> +stomper-0.2.7.ebuild: + Bump *stomper-0.2.6 (19 Jun 2013) diff --git a/dev-python/stomper/stomper-0.2.7.ebuild b/dev-python/stomper/stomper-0.2.7.ebuild new file mode 100644 index 000000000000..61bd1d07dd70 --- /dev/null +++ b/dev-python/stomper/stomper-0.2.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/stomper/stomper-0.2.7.ebuild,v 1.1 2013/06/25 07:42:11 patrick Exp $ + +EAPI="3" +PYTHON_DEPEND="2:2.5" +SUPPORT_PYTHON_ABIS="1" +# uuid module required. +RESTRICT_PYTHON_ABIS="2.4 3.*" +DISTUTILS_SRC_TEST="setup.py" + +inherit distutils + +DESCRIPTION="Transport neutral client implementation of the STOMP protocol" +HOMEPAGE="http://pypi.python.org/pypi/stomper" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples" + +DEPEND="dev-python/setuptools" +RDEPEND="" + +src_install() { + distutils_src_install + + delete_examples_and_tests() { + rm -fr "${ED}$(python_get_sitedir)/${PN}/"{examples,tests} + } + python_execute_function -q delete_examples_and_tests + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins lib/stomper/examples/* || die "Installation of examples failed" + fi +} |