summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2023-02-10 00:07:57 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2023-02-10 00:26:33 +0100
commit273df5504264a0ebbb1a35ef5fc5a13f928ea77d (patch)
tree698ef6bfd23076caa4440907eea42498fb45cca7 /dev-python/structlog
parentnet-analyzer/wapiti: drop 9999 (diff)
downloadgentoo-273df5504264a0ebbb1a35ef5fc5a13f928ea77d.tar.gz
gentoo-273df5504264a0ebbb1a35ef5fc5a13f928ea77d.tar.bz2
gentoo-273df5504264a0ebbb1a35ef5fc5a13f928ea77d.zip
dev-python/structlog: new package, add 22.3.0
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'dev-python/structlog')
-rw-r--r--dev-python/structlog/Manifest1
-rw-r--r--dev-python/structlog/metadata.xml16
-rw-r--r--dev-python/structlog/structlog-22.3.0.ebuild25
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/structlog/Manifest b/dev-python/structlog/Manifest
new file mode 100644
index 000000000000..8915889d589d
--- /dev/null
+++ b/dev-python/structlog/Manifest
@@ -0,0 +1 @@
+DIST structlog-22.3.0.tar.gz 743718 BLAKE2B 38d909d8672e03fc87c07cb48feabdb2478cb1c2ecf0a4950356b807817a4947627e58114f09072a598465dce1ff5f3c813f3ff6279b9c234b5dc4bea3019c77 SHA512 3326c597c2029ec544a1c47f4fcb848929ea1f6e9bb75bc8566a1a6b1e020e8ff2f330336b3c25431223994d7accb8f51bb302fe7226170b7ab977277aaa1740
diff --git a/dev-python/structlog/metadata.xml b/dev-python/structlog/metadata.xml
new file mode 100644
index 000000000000..6b1f3de11334
--- /dev/null
+++ b/dev-python/structlog/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">structlog</remote-id>
+ <remote-id type="github">hynek/structlog</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/structlog/structlog-22.3.0.ebuild b/dev-python/structlog/structlog-22.3.0.ebuild
new file mode 100644
index 000000000000..606c9f68c9fb
--- /dev/null
+++ b/dev-python/structlog/structlog-22.3.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Structured Logging for Python"
+HOMEPAGE="https://github.com/hynek/structlog"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="test? (
+ dev-python/freezegun[${PYTHON_USEDEP}]
+ dev-python/pretend[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest