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 20C5F13835B for ; Sun, 19 Jul 2020 18:33:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC2AEE08EF; Sun, 19 Jul 2020 18:33:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 D3405E08D3 for ; Sun, 19 Jul 2020 18:33:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 97ABE34F40F for ; Sun, 19 Jul 2020 18:33:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 466492E3 for ; Sun, 19 Jul 2020 18:33:14 +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: <1595183591.9a5eb6dfc867a10d8b10df4154dae4a92aaed3dd.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tempora/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/tempora/Manifest dev-python/tempora/tempora-4.0.0.ebuild X-VCS-Directories: dev-python/tempora/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9a5eb6dfc867a10d8b10df4154dae4a92aaed3dd X-VCS-Branch: master Date: Sun, 19 Jul 2020 18:33:14 +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: 9da1c19b-5ed1-4b1c-b344-414040cbd441 X-Archives-Hash: 3667c3ce2136a54bf24d848c1c0f72e9 commit: 9a5eb6dfc867a10d8b10df4154dae4a92aaed3dd Author: Michał Górny gentoo org> AuthorDate: Sun Jul 19 18:30:02 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 19 18:33:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a5eb6df dev-python/tempora: Bump to 4.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/tempora/Manifest | 1 + dev-python/tempora/tempora-4.0.0.ebuild | 42 +++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest index 7db945c48b3..0a26115a5e3 100644 --- a/dev-python/tempora/Manifest +++ b/dev-python/tempora/Manifest @@ -1 +1,2 @@ DIST tempora-3.0.0.tar.gz 21500 BLAKE2B 7bf241d5ab60c78c0ea56df6b28e33504200eb5427cdffaf9d5f34da202c3ba4550fa4dcc48874ee870345fa5a10f2b874687fe7de2bbe049b1c14d05161b0e0 SHA512 2d397c1d17bb4c502817ad0278090137fb8ca00273c63a7336200ed7e621a99cd5c954cdc2da00d06eba34ed4f079429f5ddc68b928cc83feacb2335f995e1b7 +DIST tempora-4.0.0.tar.gz 47217 BLAKE2B 3f8489c584768c074874fd299d11ca71b51c646f07792ac910dbd3fa76c309a866e599204364bbc06e6589a6fa046d3150bff05c9d3beb9b427ff409e2c27fe6 SHA512 59792bf03b4ccbdd5b849f0f6b9a0b5f2672e1cc3076b85449b8f183524d23de05588c3a8185550cdb9e52cc610e29db18ed151b8c5f5f25438de41015cc595e diff --git a/dev-python/tempora/tempora-4.0.0.ebuild b/dev-python/tempora/tempora-4.0.0.ebuild new file mode 100644 index 00000000000..f6c940e62fb --- /dev/null +++ b/dev-python/tempora/tempora-4.0.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} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Objects and routines pertaining to date and time" +HOMEPAGE="https://github.com/jaraco/tempora" +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 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest-freezegun[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + ">=dev-python/jaraco-packaging-3.2" \ + ">=dev-python/rst-linker-1.9" + +src_prepare() { + sed -i -e 's:--flake8 --black --cov --mypy::' pytest.ini || die + distutils-r1_src_prepare +}