commit: 273df5504264a0ebbb1a35ef5fc5a13f928ea77d Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> AuthorDate: Thu Feb 9 23:07:57 2023 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Thu Feb 9 23:26:33 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=273df550
dev-python/structlog: new package, add 22.3.0 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> dev-python/structlog/Manifest | 1 + dev-python/structlog/metadata.xml | 16 ++++++++++++++++ dev-python/structlog/structlog-22.3.0.ebuild | 25 +++++++++++++++++++++++++ 3 files changed, 42 insertions(+) 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>voyag...@gentoo.org</email> + <name>Bernard Cafarelli</name> + </maintainer> + <maintainer type="project"> + <email>pyt...@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