summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2019-04-23 18:39:50 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2019-04-23 19:16:28 +0300
commitdad4f74ad1328fda2f8930332b7a52345d1d3912 (patch)
treeefa79b9d394ab6c778e8ecc997a9fdd1223a07ec
parentdev-python/sarge: Initial import (diff)
downloadalexxy-dad4f74ad1328fda2f8930332b7a52345d1d3912.tar.gz
alexxy-dad4f74ad1328fda2f8930332b7a52345d1d3912.tar.bz2
alexxy-dad4f74ad1328fda2f8930332b7a52345d1d3912.zip
dev-python/sentry-sdk: Initial import
Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
-rw-r--r--dev-python/sentry-sdk/Manifest1
-rw-r--r--dev-python/sentry-sdk/metadata.xml15
-rw-r--r--dev-python/sentry-sdk/sentry-sdk-0.7.7.ebuild33
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest
new file mode 100644
index 0000000..a093111
--- /dev/null
+++ b/dev-python/sentry-sdk/Manifest
@@ -0,0 +1 @@
+DIST sentry-sdk-0.7.7.tar.gz 41938 SHA256 c5a41eba2d27416c81c901fe86de887e356aec4df7afd3327c324b2b3db7e934 SHA512 01a74897036c131581a478fe62d831ee6dd235268108c9c62a26a3513ac7096c02ae3402de2c902ec4e70011b8edbe8a40bb30fc8fe32f579f1e39fd676465a5 WHIRLPOOL f87869657f9726d98aaf5088cb19bdabaf095f5ce7d06484ca8315df73a5e1f22b00e315fb18475c66eab912ce314e08305de37b7e96efbd8d9d3605144d06e5
diff --git a/dev-python/sentry-sdk/metadata.xml b/dev-python/sentry-sdk/metadata.xml
new file mode 100644
index 0000000..86ca539
--- /dev/null
+++ b/dev-python/sentry-sdk/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">sentry-sdk</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/sentry-sdk/sentry-sdk-0.7.7.ebuild b/dev-python/sentry-sdk/sentry-sdk-0.7.7.ebuild
new file mode 100644
index 0000000..22a54ea
--- /dev/null
+++ b/dev-python/sentry-sdk/sentry-sdk-0.7.7.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Python client for Sentry"
+HOMEPAGE="https://getsentry.com https://pypi.org/project/sentry-sdk/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="
+ dev-python/urllib3
+ dev-python/certifi
+"
+
+python_test() {
+ if [[ ${EPYTHON} == python2* || ${EPYTHON} == pypy ]]; then
+ cd "${S}"/python2 || die
+ else
+ cd "${S}"/src || die
+ fi
+
+ "${PYTHON}" test_typing.py || die "tests failed under ${EPYTHON}"
+}