From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EB08B1388C1 for ; Mon, 7 Dec 2015 09:11:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A717E085D; Mon, 7 Dec 2015 09:11:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7F33DE0866 for ; Mon, 7 Dec 2015 09:11:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F70E33BF44 for ; Mon, 7 Dec 2015 09:11:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6AC05CB0 for ; Mon, 7 Dec 2015 09:11:07 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1449479464.ce53d1227a0703d41a9af0e108681128eef2d1a8.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/py-amqp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/py-amqp/Manifest dev-python/py-amqp/py-amqp-1.4.8.ebuild X-VCS-Directories: dev-python/py-amqp/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: ce53d1227a0703d41a9af0e108681128eef2d1a8 X-VCS-Branch: master Date: Mon, 7 Dec 2015 09:11:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3cd5c833-c26a-43c9-8a87-00709e6ec5ff X-Archives-Hash: 66371cdacb5f939d57fae7f9c23932af commit: ce53d1227a0703d41a9af0e108681128eef2d1a8 Author: Justin Lecher gentoo org> AuthorDate: Mon Dec 7 09:10:52 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Mon Dec 7 09:11:04 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce53d122 dev-python/py-amqp: Version Bump Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> dev-python/py-amqp/Manifest | 1 + dev-python/py-amqp/py-amqp-1.4.8.ebuild | 66 +++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-python/py-amqp/Manifest b/dev-python/py-amqp/Manifest index c26067d..aafecba 100644 --- a/dev-python/py-amqp/Manifest +++ b/dev-python/py-amqp/Manifest @@ -1,3 +1,4 @@ DIST amqp-1.4.5.tar.gz 77748 SHA256 534c807c0081ce9c2d517615e724cb6e9df17f79cd6cd4929653ea1ea60edb60 SHA512 33cc0df95786afbd7861585a5fad4c9ec3d28709aaafdba6a7b2b8e2b36b79a129e320ce945ef59f87ccb4e83bdf68ca9bf54b4759dc2e6ba2f131777398d702 WHIRLPOOL 471731462bfa2104f0abbffbe870f47420813e8f1a20ec901414313f34105d1a5e2e9e2ef990b1e7ce09a3442af6fd6b4a4e25f293ae3d834f9953e63caab630 DIST amqp-1.4.6.tar.gz 77902 SHA256 ebcfc867de5a68f9f5ba14d11dbad88e6aff8435a8d39339d5ceb0e5b06de640 SHA512 fe5cd7cafd9d6a4b8c1ab88a2757db440cd7b415b29c608f51052662d4c7d9e3fae81895ea09ec88f74e83ae9615c5f60b5857417b5d645086f88fc93527758c WHIRLPOOL 599dac45d24ac56407f9fbc1e00cc49884fa3717c3cbf8f7a9b59cfb78a5d9506341169f174cb7a1278e8e6745ae04aa14b6448a5250e5c40843a50f82d01d95 DIST amqp-1.4.7.tar.gz 79189 SHA256 1781884b53e01209eeced13ca1d941f1a7026088974edb6fb62728638bd02dda SHA512 e8bcd61bd331a12965c83e62d458c5fefae41f4765fb3a816aca3c8bdd373c8a96ee24f3aef45a53d9eca2f5ae226ab259db92e3308e624420bc221509d1d8d1 WHIRLPOOL c7bd339fe7c44abe226c4ae59f424584794831d7306e2eb5c0657696fb8048604be181c0cb1c5eccef049a5b92ce97cc6a07f1a8bde6ce8ef44cf2189a8c6e4a +DIST amqp-1.4.8.tar.gz 79249 SHA256 3a5b358ef81fa12927d1ec84f5107c59b6fc3be681c325e7cc690cffd5956879 SHA512 de7093e1f5061fab3d5799f525a71dd6976d4af7fea3ff0274fae7a4606baa75a85dcad7790475d1cbf6eeefe81f42348a6e7c65202e01ab7cb1534974c82781 WHIRLPOOL 83b4f9eda252e9f18b1714911f54b210cbea41b312306659e37b1914e41b77df3b431dfa2bf08914928e49c8ec0b0e4705fe3d9f408e1bc8479f691803f283e1 diff --git a/dev-python/py-amqp/py-amqp-1.4.8.ebuild b/dev-python/py-amqp/py-amqp-1.4.8.ebuild new file mode 100644 index 0000000..8dbfd83 --- /dev/null +++ b/dev-python/py-amqp/py-amqp-1.4.8.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +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 https://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=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] + ) + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose-cover3[${PYTHON_USEDEP}] + >=dev-python/coverage-3.0[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +# Same tests from before require a socket connection +PATCHES=( "${FILESDIR}"/${PN}-1.3.3-disable_socket_tests.patch ) + +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 + # -n causes Python to write into hardlinked files + 2to3 --no-diffs -w funtests || die + fi + "${PYTHON}" funtests/run_all.py || die "Tests failed under ${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 +}