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 70BE0138334 for ; Thu, 9 Aug 2018 01:55:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7378E08D9; Thu, 9 Aug 2018 01:55:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 76451E08D9 for ; Thu, 9 Aug 2018 01:55:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 56721340B53 for ; Thu, 9 Aug 2018 01:01:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B71F38E for ; Thu, 9 Aug 2018 01:01:32 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1533776485.81866a674b5577540dcf8ac4e55f9d442cc7f9d5.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-backoff/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-backoff/Manifest dev-python/python-backoff/metadata.xml dev-python/python-backoff/python-backoff-1.6.0.ebuild X-VCS-Directories: dev-python/python-backoff/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 81866a674b5577540dcf8ac4e55f9d442cc7f9d5 X-VCS-Branch: master Date: Thu, 9 Aug 2018 01:01:32 +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: 5ce942cb-dd71-4b18-975a-170813b3c83d X-Archives-Hash: ab767915a7feffaa24e4a57a6884df76 commit: 81866a674b5577540dcf8ac4e55f9d442cc7f9d5 Author: Zac Medico gentoo org> AuthorDate: Thu Aug 9 01:00:12 2018 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Aug 9 01:01:25 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81866a67 dev-python/python-backoff: new package Package-Manager: Portage-2.3.45, Repoman-2.3.10 dev-python/python-backoff/Manifest | 1 + dev-python/python-backoff/metadata.xml | 11 ++++++++++ .../python-backoff/python-backoff-1.6.0.ebuild | 25 ++++++++++++++++++++++ 3 files changed, 37 insertions(+) diff --git a/dev-python/python-backoff/Manifest b/dev-python/python-backoff/Manifest new file mode 100644 index 00000000000..92a79bc75d2 --- /dev/null +++ b/dev-python/python-backoff/Manifest @@ -0,0 +1 @@ +DIST backoff-1.6.0.tar.gz 10474 BLAKE2B 64e4b4a9cb8a1ac5a888aae78f50111400bb57f46bb0c123ecfeb4d660393a9786945d83b838599479e70244f2aa9b667428be2f0d57958b084ed8a045d0ea7d SHA512 a9bb5477d8a84397df61bd3904ad0914c5b214e46da9b55a2286ca8a81508184483e99a6703551dfcd1147e3e656396171ab7133f9e0cf2bff1bc17e6da49444 diff --git a/dev-python/python-backoff/metadata.xml b/dev-python/python-backoff/metadata.xml new file mode 100644 index 00000000000..d05b80a0f2d --- /dev/null +++ b/dev-python/python-backoff/metadata.xml @@ -0,0 +1,11 @@ + + + + + zmedico@gentoo.org + + + litl/backoff + backoff + + diff --git a/dev-python/python-backoff/python-backoff-1.6.0.ebuild b/dev-python/python-backoff/python-backoff-1.6.0.ebuild new file mode 100644 index 00000000000..74d97cd9e39 --- /dev/null +++ b/dev-python/python-backoff/python-backoff-1.6.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) + +inherit distutils-r1 + +MY_PN=${PN#python-} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Function decoration for backoff and retry" +HOMEPAGE="https://github.com/litl/backoff https://pypi.org/project/backoff/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" +S=${WORKDIR}/${MY_P} + +DOCS=( README.rst ) + +python_test() { + emake test || die "tests failed under ${EPYTHON}" +}