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 195DA159C9B for ; Thu, 8 Aug 2024 03:08:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91A97E2A8B; Thu, 8 Aug 2024 03:08:06 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 78EC0E2A8B for ; Thu, 8 Aug 2024 03:08:06 +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 4282A3430A5 for ; Thu, 8 Aug 2024 03:08:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FFA41EC6 for ; Thu, 8 Aug 2024 03:08:02 +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: <1723086474.f66d3d4d47f5a6b073b95fe6ed77103af166a575.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-prompt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sphinx-prompt/Manifest dev-python/sphinx-prompt/sphinx-prompt-1.9.0.ebuild X-VCS-Directories: dev-python/sphinx-prompt/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f66d3d4d47f5a6b073b95fe6ed77103af166a575 X-VCS-Branch: master Date: Thu, 8 Aug 2024 03:08:02 +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: 4dc1a5ab-8bb4-494f-888e-12c5f4f7ba04 X-Archives-Hash: 71b08c98f9c7f500a0b6908fad605181 commit: f66d3d4d47f5a6b073b95fe6ed77103af166a575 Author: Michał Górny gentoo org> AuthorDate: Thu Aug 8 02:52:51 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Aug 8 03:07:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f66d3d4d dev-python/sphinx-prompt: Bump to 1.9.0 Signed-off-by: Michał Górny gentoo.org> dev-python/sphinx-prompt/Manifest | 1 + .../sphinx-prompt/sphinx-prompt-1.9.0.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/sphinx-prompt/Manifest b/dev-python/sphinx-prompt/Manifest index 666a3bee910b..0199b5855a29 100644 --- a/dev-python/sphinx-prompt/Manifest +++ b/dev-python/sphinx-prompt/Manifest @@ -1 +1,2 @@ DIST sphinx-prompt-1.8.0.gh.tar.gz 38424 BLAKE2B c469e2acfdad076afd472c30380a59aae4d719edce653794fd4d09a2c8008b7f67642ce2a740fb1408987243ba5d520e28b3dc4d7ec34899de6fcf57f2171456 SHA512 1acaa18066537adaab71eb900f0b0fb8041f8f25a9079e171b98b98106d5b7d1885e23bae2c1fd278bbf22c66d17238fbf386cb61fc5725475862aaf86d5701e +DIST sphinx-prompt-1.9.0.gh.tar.gz 39458 BLAKE2B 16b646bd0e288da3d2f401650c3131c7c6b9fb27023617717821927c7bd8b8d031f14d82b7dd02c6603f3ece084e766a28022cc418867646d770886cdce538ce SHA512 f9ee34b86ead0eda791ba7d648ae54785c09ca276279197c4632963892a03080e547d1930743d81ddb3b327c912c70a58dea968b1da763c4875ec84014b207f8 diff --git a/dev-python/sphinx-prompt/sphinx-prompt-1.9.0.ebuild b/dev-python/sphinx-prompt/sphinx-prompt-1.9.0.ebuild new file mode 100644 index 000000000000..6daa0821df96 --- /dev/null +++ b/dev-python/sphinx-prompt/sphinx-prompt-1.9.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx directive to add unselectable prompt" +HOMEPAGE=" + https://github.com/sbrunner/sphinx-prompt/ + https://pypi.org/project/sphinx-prompt/ +" +SRC_URI=" + https://github.com/sbrunner/sphinx-prompt/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_prepare_all() { + # version number relies on git repo, sigh + # also all dependencies are pinned to exact versions, sigh + # also huge hack to install package as "sphinx-prompt", sigh + sed -i \ + -e "/^version =/s:[0-9.]\+:${PV}:" \ + -e '/^\[tool\.poetry\.dependencies\]$/,$s:"[0-9.]\+:"*:' \ + -e '/include.*sphinx-prompt/d' \ + pyproject.toml || die + + distutils-r1_python_prepare_all +}