diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-08-18 11:43:07 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-08-18 11:48:12 +0200 |
commit | 93d1b9e4dd68cc9cffb75baece32d4e47c132d13 (patch) | |
tree | 9a43a60d510188d45387e8e4314242e5763a69b7 /dev-python/jaraco-logging | |
parent | dev-python/html2text: Remove old (diff) | |
download | gentoo-93d1b9e4dd68cc9cffb75baece32d4e47c132d13.tar.gz gentoo-93d1b9e4dd68cc9cffb75baece32d4e47c132d13.tar.bz2 gentoo-93d1b9e4dd68cc9cffb75baece32d4e47c132d13.zip |
dev-python/jaraco-logging: Bump to 3.1.1
Closes: https://bugs.gentoo.org/865657
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jaraco-logging')
-rw-r--r-- | dev-python/jaraco-logging/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jaraco-logging/jaraco-logging-3.1.1.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/jaraco-logging/Manifest b/dev-python/jaraco-logging/Manifest index 400bdca9c651..1003b8128e7c 100644 --- a/dev-python/jaraco-logging/Manifest +++ b/dev-python/jaraco-logging/Manifest @@ -1 +1,2 @@ DIST jaraco.logging-3.1.0.tar.gz 11801 BLAKE2B 858f0930b7e04ea6f1e3d13b3d7be1056ad9efa901857ded3759e450e151c8485feb1cb6eb91c8ebf7be53c649bc818759009394b20f606fd5551c82ce0d1e61 SHA512 ce9a9cbad6d6bb448615eac986d361f9c6ff477b1209e85433f12a49055a9e30125cd49bebcf915a08b8efe0732439a8e1d336e63f6454369b3e846a9a1383ba +DIST jaraco.logging-3.1.1.gh.tar.gz 10804 BLAKE2B 32d978ae8e9105986926649dcccd710aea44e2b8ea2f4b41dfdb6cb6512cc8597951909c4e217d608245fb37b29ced544429b4f960d080f5a3436f454d042826 SHA512 80cca221c713b3868ac06332451c2bf31cb3c95e27b82275a8cd70533cd790b4e420a5851c0a5ba067a85aa4efa266e38e2b5792e2a0e97fde158357b16b1794 diff --git a/dev-python/jaraco-logging/jaraco-logging-3.1.1.ebuild b/dev-python/jaraco-logging/jaraco-logging-3.1.1.ebuild new file mode 100644 index 000000000000..7c8eaa3c8628 --- /dev/null +++ b/dev-python/jaraco-logging/jaraco-logging-3.1.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +MY_P="${P/-/.}" +DESCRIPTION="Additional facilities to supplement Python's stdlib logging module" +HOMEPAGE=" + https://github.com/jaraco/jaraco.logging/ + https://pypi.org/project/jaraco.logging/ +" +SRC_URI=" + https://github.com/jaraco/jaraco.logging/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + dev-python/tempora[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + # create a pkgutil-style __init__.py in order to fix pytest's + # determination of package paths + cat > jaraco/__init__.py <<-EOF || die + __path__ = __import__("pkgutil").extend_path(__path__, __name__) + EOF + epytest --doctest-modules +} |