diff options
-rw-r--r-- | dev-python/stomper/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/stomper/stomper-0.2.4.ebuild | 38 |
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-python/stomper/ChangeLog b/dev-python/stomper/ChangeLog index ec11921aa000..5f4d25d67def 100644 --- a/dev-python/stomper/ChangeLog +++ b/dev-python/stomper/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/stomper # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/stomper/ChangeLog,v 1.10 2010/09/15 21:04:31 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/stomper/ChangeLog,v 1.11 2010/09/29 01:20:15 arfrever Exp $ + +*stomper-0.2.4 (29 Sep 2010) + + 29 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +stomper-0.2.4.ebuild: + Version bump. *stomper-0.2.3 (15 Sep 2010) diff --git a/dev-python/stomper/stomper-0.2.4.ebuild b/dev-python/stomper/stomper-0.2.4.ebuild new file mode 100644 index 000000000000..2cacd128c4a7 --- /dev/null +++ b/dev-python/stomper/stomper-0.2.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/stomper/stomper-0.2.4.ebuild,v 1.1 2010/09/29 01:20:16 arfrever 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 +} |