diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-12-20 17:04:38 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-12-20 20:24:26 +0100 |
commit | eb18098279794a5a739bc55b91d793bcfcbc8ee3 (patch) | |
tree | eb08576a61b34fe39f0e54b85b98f9c02378fd62 /dev-python | |
parent | media-sound/wavbreaker: add 0.16 (diff) | |
download | gentoo-eb18098279794a5a739bc55b91d793bcfcbc8ee3.tar.gz gentoo-eb18098279794a5a739bc55b91d793bcfcbc8ee3.tar.bz2 gentoo-eb18098279794a5a739bc55b91d793bcfcbc8ee3.zip |
dev-python/python-json-logger: new package, add 2.0.4
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/python-json-logger/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-json-logger/metadata.xml | 14 | ||||
-rw-r--r-- | dev-python/python-json-logger/python-json-logger-2.0.4.ebuild | 22 |
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/python-json-logger/Manifest b/dev-python/python-json-logger/Manifest new file mode 100644 index 000000000000..fbe0e7186fc3 --- /dev/null +++ b/dev-python/python-json-logger/Manifest @@ -0,0 +1 @@ +DIST python-json-logger-2.0.4.tar.gz 9856 BLAKE2B 013dadb37044eb89976ab98309bbafaa348c0bfd82a75f7645d580212fb85ee2cb2bc70d455aec9da3424e89d5905d8e80a77d8c08d46443a8ee5ee9bebc3cdf SHA512 5849e3780f9a4cb59baff2c73d872ca11c916af14337bada2de3620d5a5e9b138b7bd76a1a25001c4733c0074469bb579808a57d50f964f0fe0e4bf3a4bb1216 diff --git a/dev-python/python-json-logger/metadata.xml b/dev-python/python-json-logger/metadata.xml new file mode 100644 index 000000000000..bd902508cd2f --- /dev/null +++ b/dev-python/python-json-logger/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en"> +This library is provided to allow standard python logging to output log data as json objects. With JSON we can make our logs more readable by machines and we can stop writing custom parsers for syslog type records.</longdescription> + <upstream> + <remote-id type="github">madzak/python-json-logger</remote-id> + <remote-id type="pypi">python-json-logger</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/python-json-logger/python-json-logger-2.0.4.ebuild b/dev-python/python-json-logger/python-json-logger-2.0.4.ebuild new file mode 100644 index 000000000000..00ef0cbef6db --- /dev/null +++ b/dev-python/python-json-logger/python-json-logger-2.0.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Standard python logging to output log data as json objects" +HOMEPAGE=" + https://github.com/madzak/python-json-logger + https://pypi.org/project/python-json-logger/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests unittest |