From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7CAA41382C5 for ; Mon, 28 Dec 2020 08:36:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4D53E0E38; Mon, 28 Dec 2020 08:36:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A878BE0E38 for ; Mon, 28 Dec 2020 08:36:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C621234132B for ; Mon, 28 Dec 2020 08:36:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F34C46B for ; Mon, 28 Dec 2020 08:36:33 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1609144589.749533158583ba63061293d8746f1121cd3f03c3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-logging/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jaraco-logging/Manifest dev-python/jaraco-logging/jaraco-logging-3.1.0.ebuild X-VCS-Directories: dev-python/jaraco-logging/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 749533158583ba63061293d8746f1121cd3f03c3 X-VCS-Branch: master Date: Mon, 28 Dec 2020 08:36:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d9851670-6c47-4387-9336-76290f3001e5 X-Archives-Hash: f3ec0f35d924a5573e85ab55df0b660d commit: 749533158583ba63061293d8746f1121cd3f03c3 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 28 08:33:18 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Dec 28 08:36:29 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74953315 dev-python/jaraco-logging: Bump to 3.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/jaraco-logging/Manifest | 1 + .../jaraco-logging/jaraco-logging-3.1.0.ebuild | 42 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/jaraco-logging/Manifest b/dev-python/jaraco-logging/Manifest index 711d1beef0f..19d71b5d79c 100644 --- a/dev-python/jaraco-logging/Manifest +++ b/dev-python/jaraco-logging/Manifest @@ -1 +1,2 @@ DIST jaraco.logging-3.0.0.tar.gz 10739 BLAKE2B c5cad0b6d7702a1216869dd0cd388d51a0a8e7bd24000108ef818623b54d23ce1adf0de2e017b869d764342484bf25d676ee18af9647b82964933ebb184cec0e SHA512 bc0edeef6223d0eb78110d51159a70afd16542e830e3cd37dec7628e582bce44218cd7669c03c41125db9824b6fc774f608dd7f6540224659f4dc2f1927d681c +DIST jaraco.logging-3.1.0.tar.gz 11801 BLAKE2B 858f0930b7e04ea6f1e3d13b3d7be1056ad9efa901857ded3759e450e151c8485feb1cb6eb91c8ebf7be53c649bc818759009394b20f606fd5551c82ce0d1e61 SHA512 ce9a9cbad6d6bb448615eac986d361f9c6ff477b1209e85433f12a49055a9e30125cd49bebcf915a08b8efe0732439a8e1d336e63f6454369b3e846a9a1383ba diff --git a/dev-python/jaraco-logging/jaraco-logging-3.1.0.ebuild b/dev-python/jaraco-logging/jaraco-logging-3.1.0.ebuild new file mode 100644 index 00000000000..ed7469cd121 --- /dev/null +++ b/dev-python/jaraco-logging/jaraco-logging-3.1.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Additional facilities to supplement Python's stdlib logging module" +HOMEPAGE="https://github.com/jaraco/jaraco.logging" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/tempora[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \ + '>=dev-python/rst-linker-1.9' +distutils_enable_tests pytest + +python_test() { + # Override pytest options to skip flake8 + PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \ + || die "tests failed with ${EPYTHON}" +} + +# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages +python_install() { + rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die + # note: eclass may default to --skip-build in the future + distutils-r1_python_install --skip-build +}