From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4A70213835C for ; Sat, 17 Oct 2020 21:54:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79299E096C; Sat, 17 Oct 2020 21:54:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4ABADE096B for ; Sat, 17 Oct 2020 21:54:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 652C8340FA3 for ; Sat, 17 Oct 2020 21:54:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E59073B3 for ; Sat, 17 Oct 2020 21:53:57 +0000 (UTC) From: "Matthew Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Thode" Message-ID: <1602971620.b903f22195c8d93141b3b60e7a787da0b2fb0043.prometheanfire@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-2.6.1.ebuild X-VCS-Directories: dev-python/py-amqp/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matthew Thode X-VCS-Revision: b903f22195c8d93141b3b60e7a787da0b2fb0043 X-VCS-Branch: master Date: Sat, 17 Oct 2020 21:53:57 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1f6fe840-eec0-4e3f-bf25-e06d44976871 X-Archives-Hash: c35b04581313bc293bc90aee7f043429 commit: b903f22195c8d93141b3b60e7a787da0b2fb0043 Author: Matthew Thode gentoo org> AuthorDate: Sat Oct 17 21:23:48 2020 +0000 Commit: Matthew Thode gentoo org> CommitDate: Sat Oct 17 21:53:40 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b903f221 dev-python/py-amqp: 2.6.1 bump Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Matthew Thode gentoo.org> dev-python/py-amqp/Manifest | 1 + dev-python/py-amqp/py-amqp-2.6.1.ebuild | 67 +++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-python/py-amqp/Manifest b/dev-python/py-amqp/Manifest index 3e99ef14715..6141de7c417 100644 --- a/dev-python/py-amqp/Manifest +++ b/dev-python/py-amqp/Manifest @@ -1 +1,2 @@ DIST amqp-2.5.2.tar.gz 117788 BLAKE2B 6a6990aca0a43a0c546198b999d0d3680d6c44908e144f81bd8266abac4d2d9b7ea4c65bbf969310f1236970ebe0ef5ed44cc558109ba1f680348e3ba2789e83 SHA512 c540ce39c06bb947e55b4afc56567d5fc5a82b65a2f7e2cc1f769f96da74f788d14e1e9c02852a259a4980c36a4524f07166686c0357f96219fd9f8612a6159a +DIST amqp-2.6.1.tar.gz 119956 BLAKE2B a575637ca3d39ef8577035ae156f09b87dfb053757cb78b058fcb4f23759707084297e12941c766783e99898c486ea8eca968842464223ea46f42a4e4495c0a4 SHA512 e2c628cfe8075a3014a9fe991ae3e6f49198db2ecd46dd48f980730da692e4d25d9f055b1ccd4743917fc38a8afa69a5902a64275f8f45ef68113c6756f3a17b diff --git a/dev-python/py-amqp/py-amqp-2.6.1.ebuild b/dev-python/py-amqp/py-amqp-2.6.1.ebuild new file mode 100644 index 00000000000..29b61f57bf4 --- /dev/null +++ b/dev-python/py-amqp/py-amqp-2.6.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +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.org/project/amqp/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc extras test" +RESTRICT="!test? ( test )" + +RDEPEND="" +DEPEND=" + >=dev-python/vine-1.1.3[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_celery[${PYTHON_USEDEP}] + ) + test? ( + >=dev-python/case-1.3.1[${PYTHON_USEDEP}] + >=dev-python/pytest-3.0[${PYTHON_USEDEP}] + <=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/pytest-rerunfailures-6.0[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # pytest-sugar is not packaged + sed -e '/pytest-sugar/d' -i requirements/test.txt || die + + # requires a rabbitmq instance + rm t/integration/test_rmq.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + esetup.py test +} + +python_install_all() { + 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 +}