From 985921032a90e5d7b07f1872b1b5890ce2af8004 Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Tue, 27 Dec 2022 23:40:45 +0100 Subject: Initial ebuild for dev-python/concurrent-log-handler --- dev-python/concurrent-log-handler/Manifest | 3 +++ .../concurrent-log-handler-0.9.20.ebuild | 26 ++++++++++++++++++++++ dev-python/concurrent-log-handler/metadata.xml | 13 +++++++++++ 3 files changed, 42 insertions(+) create mode 100644 dev-python/concurrent-log-handler/Manifest create mode 100644 dev-python/concurrent-log-handler/concurrent-log-handler-0.9.20.ebuild create mode 100644 dev-python/concurrent-log-handler/metadata.xml (limited to 'dev-python/concurrent-log-handler') diff --git a/dev-python/concurrent-log-handler/Manifest b/dev-python/concurrent-log-handler/Manifest new file mode 100644 index 0000000..7a4271c --- /dev/null +++ b/dev-python/concurrent-log-handler/Manifest @@ -0,0 +1,3 @@ +DIST concurrent-log-handler-0.9.20.gh.tar.gz 24916 BLAKE2B 2345a142f4509b94ad9956cd2893ef2a342c5caa2920bdd863a3f2aea183ea957369a3b90d2d240df04f726a3cc74318c5a5dd034813b2b89efeb82ea6cc7684 SHA512 c1cde4a2c02e980d92392fd3d73c315684ac3df84dfa1f135854590d54cfb0776836a8f2b9e99b02f30afc52c01391ebe1c778dccef4c19bc31c0d22c780a27f +EBUILD concurrent-log-handler-0.9.20.ebuild 678 BLAKE2B 74601c7656e8230fbd7fc2286f3292489914c4d0e10f3be75429f14769895c80257e98fe54c9e7974b3a327a7a40470f8071024e366e4572f8622f210d050e48 SHA512 70d838e61ebaae965205e96a81eeb5856005116fec03e601a221f6aa3e5f7adb796a3d7928de271b4bcdf2b785d40e95947992395d1fb823375852ddb8aa0e54 +MISC metadata.xml 504 BLAKE2B dcf7045a2134f0df036bc3bf43ccc3c56d0fd877a5b2761c028c1e598ae933138f7627c071fb6a3ea8f22e46e0b7c881a52ea9139decb5f2597dd028ae9c14ed SHA512 eac319d8bf80fced0734a788e1e467a742b2ba899cf532a8e5b5ab4e1204bfdab6e309da46ca488a18ab73b77dd34bfce039985e088a23446cff5b01ec123a4e diff --git a/dev-python/concurrent-log-handler/concurrent-log-handler-0.9.20.ebuild b/dev-python/concurrent-log-handler/concurrent-log-handler-0.9.20.ebuild new file mode 100644 index 0000000..6933e5a --- /dev/null +++ b/dev-python/concurrent-log-handler/concurrent-log-handler-0.9.20.ebuild @@ -0,0 +1,26 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="Python logging handler allowing safe concurrent write to the same log file" +HOMEPAGE="https://github.com/Preston-Landers/concurrent-log-handler" +SRC_URI="https://github.com/Preston-Landers/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-python/portalocker-1.4.0[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest + +python_test() { + ${EPYTHON} stresstest.py || die "Test failed" +} diff --git a/dev-python/concurrent-log-handler/metadata.xml b/dev-python/concurrent-log-handler/metadata.xml new file mode 100644 index 0000000..be13f87 --- /dev/null +++ b/dev-python/concurrent-log-handler/metadata.xml @@ -0,0 +1,13 @@ + + + + + marcin.deranek@slonko.net + Marcin Deranek + + + https://github.com/Preston-Landers/concurrent-log-handler/issues + Preston-Landers/concurrent-log-handler + concurrent-log-handler + + -- cgit v1.2.3