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 20E411382C5 for ; Sat, 8 May 2021 01:51:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66FD6E07C5; Sat, 8 May 2021 01:51:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 3F131E07C5 for ; Sat, 8 May 2021 01:51:22 +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 BD135335D32 for ; Sat, 8 May 2021 01:51:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2642B5C4 for ; Sat, 8 May 2021 01:51:19 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1620438666.925166d9a9c7e29e21a1cbea8b370a98caaa4334.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/raven/, dev-python/raven/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/raven/Manifest dev-python/raven/files/no-coverage.patch dev-python/raven/metadata.xml dev-python/raven/raven-6.10.0.ebuild X-VCS-Directories: dev-python/raven/files/ dev-python/raven/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 925166d9a9c7e29e21a1cbea8b370a98caaa4334 X-VCS-Branch: dev Date: Sat, 8 May 2021 01:51:19 +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: 26664b53-2558-4037-8e62-fe4f5cf092e4 X-Archives-Hash: 747d475661b36ad969a48b65183c4544 commit: 925166d9a9c7e29e21a1cbea8b370a98caaa4334 Author: Alessandro Barbieri gmail com> AuthorDate: Sat May 8 01:51:06 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Sat May 8 01:51:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=925166d9 dev-python/raven: initial import Signed-off-by: Alessandro Barbieri gmail.com> dev-python/raven/Manifest | 1 + dev-python/raven/files/no-coverage.patch | 10 +++++ dev-python/raven/metadata.xml | 13 +++++++ dev-python/raven/raven-6.10.0.ebuild | 64 ++++++++++++++++++++++++++++++++ 4 files changed, 88 insertions(+) diff --git a/dev-python/raven/Manifest b/dev-python/raven/Manifest new file mode 100644 index 000000000..ffc242aa4 --- /dev/null +++ b/dev-python/raven/Manifest @@ -0,0 +1 @@ +DIST raven-6.10.0.tar.gz 288902 BLAKE2B e72f48511347910d65cae9ba342a0a592bead9e848ec932b5efc361e7993ce77ce7213fce63c7cfb40534ace536c9ed55751928c991272ed123e12222047b096 SHA512 37ca6d5953dc92b57b3bf4e2edb3947d41f33711d9babfc9eafb8712dc5923829f8810e5123e63749710aeecceb66e56bf8b5b60868f61d750704e20add3c747 diff --git a/dev-python/raven/files/no-coverage.patch b/dev-python/raven/files/no-coverage.patch new file mode 100644 index 000000000..70a48d142 --- /dev/null +++ b/dev-python/raven/files/no-coverage.patch @@ -0,0 +1,10 @@ +--- a/setup.cfg 2018-12-19 11:00:58.000000000 -0000 ++++ b/setup.cfg 2021-05-08 01:39:02.631499047 -0000 +@@ -1,6 +1,6 @@ + [tool:pytest] + python_files = test*.py +-addopts = --tb=native -p no:doctest -p no:logging --cov=raven ++addopts = --tb=native -p no:doctest -p no:logging + norecursedirs = raven build bin dist htmlcov hooks node_modules .* {args} + django_settings_module = tests.contrib.django.settings + python_paths = tests diff --git a/dev-python/raven/metadata.xml b/dev-python/raven/metadata.xml new file mode 100644 index 000000000..3abb195a1 --- /dev/null +++ b/dev-python/raven/metadata.xml @@ -0,0 +1,13 @@ + + + + + comaintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + raven + getsentry/raven-python + + diff --git a/dev-python/raven/raven-6.10.0.ebuild b/dev-python/raven/raven-6.10.0.ebuild new file mode 100644 index 000000000..71cf5f3c2 --- /dev/null +++ b/dev-python/raven/raven-6.10.0.ebuild @@ -0,0 +1,64 @@ +# 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=rdepend + +inherit distutils-r1 + +DESCRIPTION="Raven is a client for Sentry" +HOMEPAGE="https://github.com/getsentry/raven-python" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="test" #tests broken with pytest >=4 + +RDEPEND=" + dev-python/contextlib2[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + >=dev-python/blinker-1.1[${PYTHON_USEDEP}] + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/celery-2.5[${PYTHON_USEDEP}] + >=dev-python/exam-0.5.2[${PYTHON_USEDEP}] + >=dev-python/flask-0.8[${PYTHON_USEDEP}] + >=dev-python/flask-login-0.2.0[${PYTHON_USEDEP}] + dev-python/logbook[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/paste[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/pytest-pythonpath[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/sanic-0.7.0[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + dev-python/webob[${PYTHON_USEDEP}] + dev-python/webpy[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + dev-python/zconfig[${PYTHON_USEDEP}] + >=www-servers/tornado-4.1[${PYTHON_USEDEP}] + ) +" + +PATCHES="${FILESDIR}/no-coverage.patch" + +distutils_enable_tests pytest + +src_prepare() { + export DJANGO_SETTINGS_MODULE=tests.contrib.django.settings + + #test not working with >=www-servers/tornado-6 + rm tests/contrib/tornado/tests.py || die + #test not working with >=dev-python/django-3 + rm tests/contrib/django/tests.py || die + default +}