diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-11-26 06:36:55 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-11-26 06:36:55 +0000 |
commit | ce8820a0c5dcacaa39d84cd26d5523a6893bd9fc (patch) | |
tree | 4179678aa247f62ef06ab730134d1ef5fda03cc7 /dev-python/py-amqp | |
parent | Bump (diff) | |
download | gentoo-2-ce8820a0c5dcacaa39d84cd26d5523a6893bd9fc.tar.gz gentoo-2-ce8820a0c5dcacaa39d84cd26d5523a6893bd9fc.tar.bz2 gentoo-2-ce8820a0c5dcacaa39d84cd26d5523a6893bd9fc.zip |
Bump
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/py-amqp')
-rw-r--r-- | dev-python/py-amqp/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/py-amqp/py-amqp-1.3.3.ebuild | 55 |
2 files changed, 61 insertions, 1 deletions
diff --git a/dev-python/py-amqp/ChangeLog b/dev-python/py-amqp/ChangeLog index b83e7758321c..2ac3c6322238 100644 --- a/dev-python/py-amqp/ChangeLog +++ b/dev-python/py-amqp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/py-amqp # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/py-amqp/ChangeLog,v 1.13 2013/11/07 06:59:30 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/py-amqp/ChangeLog,v 1.14 2013/11/26 06:36:55 patrick Exp $ + +*py-amqp-1.3.3 (26 Nov 2013) + + 26 Nov 2013; Patrick Lauer <patrick@gentoo.org> +py-amqp-1.3.3.ebuild: + Bump *py-amqp-1.3.2 (07 Nov 2013) diff --git a/dev-python/py-amqp/py-amqp-1.3.3.ebuild b/dev-python/py-amqp/py-amqp-1.3.3.ebuild new file mode 100644 index 000000000000..a62911e129c0 --- /dev/null +++ b/dev-python/py-amqp/py-amqp-1.3.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/py-amqp/py-amqp-1.3.3.ebuild,v 1.1 2013/11/26 06:36:55 patrick Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) + +inherit distutils-r1 + +MY_PN="amqp" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)" +HOMEPAGE="https://github.com/celery/py-amqp http://pypi.python.org/pypi/amqp/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples extras test" + +RDEPEND="" +DEPEND="${RDEPEND}" + +RESTRICT="test" # don't work, and fail quietly + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + cp -r -l funtests "${BUILD_DIR}"/lib/ || die + cd "${BUILD_DIR}"/lib || die + if [[ ${EPYTHON:6:1} == 3 ]]; then + # Notes: + # -W is not supported by python3.1 + # -n causes Python to write into hardlinked files + 2to3 --no-diffs -w funtests || die + fi + "${PYTHON}" funtests/run_all.py || ewarn "Tests fail with ${EPYTHON}" + rm -rf funtests/ || die +} + +python_install_all() { + use examples && local EXAMPLES=( demo/. ) + use doc && local HTML_DOCS=( docs/.build/html/. ) + if use extras; then + insinto /usr/share/${PF}/extras + doins -r extra + fi + distutils-r1_python_install_all +} |