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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A09315838C for ; Tue, 23 Jan 2024 04:39:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2145EE2A7F; Tue, 23 Jan 2024 04:39:03 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F07C9E2A7F for ; Tue, 23 Jan 2024 04:39:02 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0813634332B for ; Tue, 23 Jan 2024 04:39:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96A2214C3 for ; Tue, 23 Jan 2024 04:39:00 +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: <1705984732.839876f49f2f08e7e169cd231737a66c5d982b58.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mako/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mako/Manifest dev-python/mako/mako-1.3.1.ebuild X-VCS-Directories: dev-python/mako/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 839876f49f2f08e7e169cd231737a66c5d982b58 X-VCS-Branch: master Date: Tue, 23 Jan 2024 04:39:00 +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: 34f2ff62-4ee9-4037-816e-5b4be1d61600 X-Archives-Hash: cfdbf39d90c65bac45371a7720a8b751 commit: 839876f49f2f08e7e169cd231737a66c5d982b58 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 23 04:32:27 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jan 23 04:38:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=839876f4 dev-python/mako: Bump to 1.3.1 Signed-off-by: Michał Górny gentoo.org> dev-python/mako/Manifest | 1 + dev-python/mako/mako-1.3.1.ebuild | 49 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/mako/Manifest b/dev-python/mako/Manifest index ac2aac6c6a52..b8270e8efbb5 100644 --- a/dev-python/mako/Manifest +++ b/dev-python/mako/Manifest @@ -1 +1,2 @@ DIST Mako-1.3.0.tar.gz 386252 BLAKE2B 7364a4eeb8d71d7bdeabc6c6df863c4cec5094ae2f858c8c23d4287bbeded62325c3f4fe122c19950043dc32480f2b46c72771fab2f89a339202cfbe387f61f6 SHA512 1be454ceff8942ee50052b3b2dec392f236aad2111828a6962ca80bc0d9692f632b7d992b161fb206c10db19e94f96a0688633d03c7b54e01b4f843283b80cb4 +DIST Mako-1.3.1.tar.gz 390075 BLAKE2B cefaee46d53f235922d7a3f62831ab50e530d7ae27d068d56389c7116589bda1306991e779444564a2777829332206afde4278833eeb2929d7e5c0c7a080e978 SHA512 efa638500508168a3bd417b86c3d3b6289036fd1f92794c0f00a97c37dba4c1fd125d39272834f0002e98607b10a78ac784005fe545d208b87992c75f631dce2 diff --git a/dev-python/mako/mako-1.3.1.ebuild b/dev-python/mako/mako-1.3.1.ebuild new file mode 100644 index 000000000000..2069ece40b7a --- /dev/null +++ b/dev-python/mako/mako-1.3.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python templating language" +HOMEPAGE=" + https://www.makotemplates.org/ + https://github.com/sqlalchemy/mako/ + https://pypi.org/project/Mako/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="doc" + +RDEPEND=" + >=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/Babel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + test/test_exceptions.py::ExceptionsTest::test_alternating_file_names + ) + epytest +} + +python_install_all() { + rm -r doc/build || die + + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +}