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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 13DF215800F for ; Tue, 7 Feb 2023 14:18:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27F35E07AE; Tue, 7 Feb 2023 14:18:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 81505E07AE for ; Tue, 7 Feb 2023 14:18:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 452A6335D6F for ; Tue, 7 Feb 2023 14:18:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8FE25895 for ; Tue, 7 Feb 2023 14:18:13 +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: <1675779490.18e9dc8d3bc2d3253b3c8785e94cefce5118a0d2.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ruamel-std-pathlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ruamel-std-pathlib/Manifest dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.12.0.ebuild X-VCS-Directories: dev-python/ruamel-std-pathlib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 18e9dc8d3bc2d3253b3c8785e94cefce5118a0d2 X-VCS-Branch: master Date: Tue, 7 Feb 2023 14:18:13 +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: 50a84894-e44a-4635-9371-7ef059c95d8b X-Archives-Hash: 3ee2960badb888aad7464d93b614b9b0 commit: 18e9dc8d3bc2d3253b3c8785e94cefce5118a0d2 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 7 13:57:45 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Feb 7 14:18:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18e9dc8d dev-python/ruamel-std-pathlib: Bump to 0.12.0 Signed-off-by: Michał Górny gentoo.org> dev-python/ruamel-std-pathlib/Manifest | 1 + .../ruamel-std-pathlib-0.12.0.ebuild | 54 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/ruamel-std-pathlib/Manifest b/dev-python/ruamel-std-pathlib/Manifest index 8c5ac304da07..1d9cfd14ad74 100644 --- a/dev-python/ruamel-std-pathlib/Manifest +++ b/dev-python/ruamel-std-pathlib/Manifest @@ -1 +1,2 @@ +DIST ruamel-std-pathlib-0.12.0.tar.xz 20972 BLAKE2B f228982f0df4d5bb41fb99e74179764eecc7d7850bb381cc219b4a3521dfbd42ec88e246600dd4d20977ce5718e32a32a89b5c922b7f56fc63396cdc3974d157 SHA512 07c969d95fa3ebcf2e5070aa50044760fa1198d189f2d4104bfbaf9b49884deb391e32db2b4ffa23e5ed7d192c4a010c76d7ecc0cbe7f321cdc449f9a89f12be DIST ruamel-std-pathlib-0.9.2.tar.xz 19948 BLAKE2B 1d8d6b4a6703c22a578320d47258bca487376945fc5442716686b05aed78ab64b32022da7fe63f454396235c5782135d173892ab99fdcb857d42369732e26f80 SHA512 71077d2c979bdd5f9d4a2467f6d4a7c0aeabb3dab3f0657411b562ada955c859da619db1e8431d8065d7610b376a961244920359471a9c1358315c02a6b621e4 diff --git a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.12.0.ebuild b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.12.0.ebuild new file mode 100644 index 000000000000..b0a0bb40d455 --- /dev/null +++ b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.12.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +MY_P="${PN//-/.}-${PV}" +DESCRIPTION="Ruamel enhancements to pathlib and pathlib2" +HOMEPAGE=" + https://pypi.org/project/ruamel.std.pathlib/ + https://sourceforge.net/projects/ruamel-std-pathlib/ +" +# PyPI tarballs do not include tests +SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz -> ${P}.tar.xz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + !dev-python/namespace-ruamel +" +BDEPEND=" + test? ( + dev-python/ujson[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + local EPYTEST_DESELECT=( + # these tests fail without orjson + _test/test_json.py::TestJSON::test_json_standard + # (this one also hardcodes path in /var/tmp, sigh) + _test/test_json.py::TestJSON::test_json + _test/test_json.py::TestJSON::test_bytes_orjson + ) + + rm -f *.py || die + distutils_write_namespace ruamel + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}