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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1916B15807B for ; Fri, 18 Oct 2024 16:11:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C65EAE0858; Fri, 18 Oct 2024 16:11:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 A573CE0858 for ; Fri, 18 Oct 2024 16:11:12 +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 73BC7343014 for ; Fri, 18 Oct 2024 16:11:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0F8516CA for ; Fri, 18 Oct 2024 16:11:09 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1729266962.26b72da635e936de392c783e48a234e80f80a47a.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/markupsafe/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/markupsafe/Manifest dev-python/markupsafe/markupsafe-3.0.2.ebuild X-VCS-Directories: dev-python/markupsafe/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 26b72da635e936de392c783e48a234e80f80a47a X-VCS-Branch: master Date: Fri, 18 Oct 2024 16:11:09 +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: 9a0798f7-8a77-49b0-af71-a72a1448cd60 X-Archives-Hash: 2f61526702be11f0edd5956ac535576f commit: 26b72da635e936de392c783e48a234e80f80a47a Author: Arthur Zamarin gentoo org> AuthorDate: Fri Oct 18 15:56:02 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Oct 18 15:56:02 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b72da6 dev-python/markupsafe: add 3.0.2 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/markupsafe/Manifest | 1 + dev-python/markupsafe/markupsafe-3.0.2.ebuild | 43 +++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/markupsafe/Manifest b/dev-python/markupsafe/Manifest index 27b64c396391..66b648b62703 100644 --- a/dev-python/markupsafe/Manifest +++ b/dev-python/markupsafe/Manifest @@ -1,3 +1,4 @@ DIST MarkupSafe-2.1.5.tar.gz 19384 BLAKE2B d6ae0e1864983f4ab92f2fd9b58a012a8c76e6f47957681d4acc362b2129d63fe4f4625600a89081afe0e99f868eb604d6c75fec88de9a18ebb32c15f091681b SHA512 3ba5af43d23c266377f5d32b11e1faa7955ea8c67eb1c32886c308527f93e75e387294d0eec7794c0c20aad0c705b27f3d1f86b04202f3b63068d12d4053cc71 DIST markupsafe-3.0.0.tar.gz 20102 BLAKE2B 26da6978f6d5c5285673f01a3ae47c45c9af94067b408142159e931e794178b5c25d8e90e9e03d3951e246dfc9ad417c374f4dbd86978ffb4fe3d8530931defe SHA512 bacfe1f18f30af0ae99842f117a309fbb583f3a05fa2cb347606f3186538cae0d9c6ad558a58a6b731542752cba66c02660d923b293aa94ea88aa7f05b9b8aeb DIST markupsafe-3.0.1.tar.gz 20249 BLAKE2B a76817927e7240e6a450548cdb1741e5046f84d9b0e14a7f156f7fd5004157cc53da8e488660be78a22656abc7505236dfda8e3d6b0ffe606dc1b98b464fca3e SHA512 1d5342766fae024a243e12a2ad384724ec2a9ea5dfd4af1651725ef5201bcec5ca2e520720a05d05d3ca91fcdbf78e00afec6a70a73146ab29e29c6989559651 +DIST markupsafe-3.0.2.tar.gz 20537 BLAKE2B ffccc47eb4b8048aee98b61a3b9dee28eb31323563b943ad96293541467ddb3d0d63906fbbc876ee30947a10afcb580456a10d502874601ba7c4e4d63594f114 SHA512 26946b928b001933f08a5dd90c5fe424a1d9e2bccfbf7194955d031a3df54a03eb48e4e47ea9564a25da33efeb62a043a53008f551fa1e8d71321bc276e19ce2 diff --git a/dev-python/markupsafe/markupsafe-3.0.2.ebuild b/dev-python/markupsafe/markupsafe-3.0.2.ebuild new file mode 100644 index 000000000000..69d7df7dc799 --- /dev/null +++ b/dev-python/markupsafe/markupsafe-3.0.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="MarkupSafe" +PYTHON_COMPAT=( python3_{10..13} python3_13t pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Implements a XML/HTML/XHTML Markup safe string for Python" +HOMEPAGE=" + https://palletsprojects.com/p/markupsafe/ + https://github.com/pallets/markupsafe/ + https://pypi.org/project/MarkupSafe/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +IUSE="+native-extensions" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + if ! use native-extensions; then + sed -i -e '/run_setup/s:True:False:' setup.py || die + fi +} + +python_compile() { + local -x CIBUILDWHEEL=1 + distutils-r1_python_compile +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}