diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-28 03:04:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-28 03:04:40 +0000 |
commit | 5d4291ee2ba8b85e8515b5f47b814a5c872eed04 (patch) | |
tree | 154246a13fd11756f110f04fee093e44a6cdea82 /dev-python/logbook | |
parent | 83d9fce566bb89f6976f36f5314bfc88b6d261fa (diff) |
gentoo auto-resync : 28:10:2024 - 03:04:40
Diffstat (limited to 'dev-python/logbook')
-rw-r--r-- | dev-python/logbook/Manifest | 2 | ||||
-rw-r--r-- | dev-python/logbook/logbook-1.8.0.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/logbook/Manifest b/dev-python/logbook/Manifest index 414bfc9a1710..e508c9e00d3c 100644 --- a/dev-python/logbook/Manifest +++ b/dev-python/logbook/Manifest @@ -1,3 +1,5 @@ DIST logbook-1.7.0.gh.tar.gz 364752 BLAKE2B a801c2ec55a257250336748007bdb95206372cf8cf3492785c5c50829e3e3c467de564401ed6f758f3e6b14d708d889860a4bb93da5119fc134df5167976bebb SHA512 50b52f54e894be303a7e910602cfbbceee04280cb134ad89f32f0a79c21d509ae0f6ae83beac9a9e22726d1c394e9893eea884ff43b56aae9dbad6dd1221d96f +DIST logbook-1.8.0.gh.tar.gz 364862 BLAKE2B 1b245223ab9d3b026967b626e1cba2fed3d03b5abc745be238f76c2ddebf8e0909597acdad3a3e70738b8c9b9e6350f4d23d5e02c8f1b1d8ff6ec5f6509d2b9f SHA512 73e4d9170af6c4db6eadf27e84419927136658c786b173e5eae91dc9499d3c374fe5a4a7e8f7bc463194b19648aee23aceba0cce9a63fd25a6ee0a53b1dbe8f9 EBUILD logbook-1.7.0.ebuild 1285 BLAKE2B 9129e06c76703e53719313bbb74cfe6a80b1851fa5f41a51058e210dcadc383367bf5ff4d2385408753e4e9472bb10dccdf46e6fb761dfad1cecbdc431a82dd8 SHA512 090b8a4c30410c4b1d4f5a0c4d09d301440c23bac2fd3303833e2284b62f7c5e81c4355adbc69e64e8d762d8aeb76e4424dcbc40dc7c3fdbcf65aa16f97d499f +EBUILD logbook-1.8.0.ebuild 1234 BLAKE2B a7c795f7c842f2a9fca9bf6eeec92fa1cfe0ae51c9b43a5763c16b99c7b7da6bd3e851f893afce7a902a592e767bc224977b33681f099606f12d8a5549813b92 SHA512 8fe567212158498b3c07839c118b564115fdf15621173fef38ac51f56e21bb00ffbdbf96d8e36c733ab13776dd9cbd4bc2225b9aa84b2a47cf05d1c97b5b2552 MISC metadata.xml 519 BLAKE2B 552fa368fac398134dcd21eb8ee58f8b87ea14bfa505e778d2963d73d99a4d0e6565306c121fe6daa6cd47f442f185adf8d12468caf18e1b3a6c7cdfc848a43f SHA512 182d50afcf20b64e54add31c8e0ae1ca9489e334c36909846bcb34ad9da01a890f9ee69ca55e5d55006b88648a6a9103d08cd0fbf0fb034d39d492c64b63be77 diff --git a/dev-python/logbook/logbook-1.8.0.ebuild b/dev-python/logbook/logbook-1.8.0.ebuild new file mode 100644 index 000000000000..74e014bd7ee9 --- /dev/null +++ b/dev-python/logbook/logbook-1.8.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="A logging replacement for Python" +HOMEPAGE=" + https://logbook.readthedocs.io/en/stable/ + https://github.com/getlogbook/logbook/ + https://pypi.org/project/Logbook/ +" +SRC_URI=" + https://github.com/getlogbook/logbook/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +BDEPEND=" + test? ( + app-arch/brotli[${PYTHON_USEDEP},python] + >=dev-python/execnet-1.0.9[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pyzmq[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + !!dev-python/contextvars + !!dev-python/gevent +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +python_configure_all() { + export DISABLE_LOGBOOK_CEXT=1 +} + +python_test() { + local EPYTEST_DESELECT=( + # Delete test file requiring local connection to redis server + tests/test_queues.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p rerunfailures +} |