aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-10-02 22:17:14 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-10-03 20:32:00 +0200
commit830ba4273e36bb82c23067028bf76a3a8042aedd (patch)
treed6ff5385bf8d191134332d967ec06d24dbe3175d /dev-python/basictracer
parentdev-python/opentracing: initial import (diff)
downloadguru-830ba4273e36bb82c23067028bf76a3a8042aedd.tar.gz
guru-830ba4273e36bb82c23067028bf76a3a8042aedd.tar.bz2
guru-830ba4273e36bb82c23067028bf76a3a8042aedd.zip
dev-python/basictracer: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'dev-python/basictracer')
-rw-r--r--dev-python/basictracer/Manifest1
-rw-r--r--dev-python/basictracer/basictracer-3.2.0.ebuild31
-rw-r--r--dev-python/basictracer/metadata.xml13
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/basictracer/Manifest b/dev-python/basictracer/Manifest
new file mode 100644
index 000000000..6cba7aa4b
--- /dev/null
+++ b/dev-python/basictracer/Manifest
@@ -0,0 +1 @@
+DIST basictracer-3.2.0.tar.gz 21262 BLAKE2B 999949a14657807ba4186a95af31e24afe4e27a45c181c9e98380a2735483989f481ae40591798b5722847f2d2954ada60f7628865c30cedff1b85fc9ea65626 SHA512 9876de9df861a1de6d00f0aacf75da70460242ff616d35b39c8dc78812af97276cb0934d903ffba70724bd5c906a2b93f556905df8315238db18c543eb275ee9
diff --git a/dev-python/basictracer/basictracer-3.2.0.ebuild b/dev-python/basictracer/basictracer-3.2.0.ebuild
new file mode 100644
index 000000000..61554abeb
--- /dev/null
+++ b/dev-python/basictracer/basictracer-3.2.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python implementation of the BasicTracer reference implementation"
+HOMEPAGE="https://github.com/opentracing/basictracer-python"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/protobuf-python-3.0.1[${PYTHON_USEDEP}]
+ >=dev-python/opentracing-2[${PYTHON_USEDEP}]
+ >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/basictracer/metadata.xml b/dev-python/basictracer/metadata.xml
new file mode 100644
index 000000000..25273c9f4
--- /dev/null
+++ b/dev-python/basictracer/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/opentracing/basictracer-python/issues</bugs-to>
+ <remote-id type="pypi">basictracer</remote-id>
+ <remote-id type="github">opentracing/basictracer-python</remote-id>
+ </upstream>
+</pkgmetadata>