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 5CEB8158086 for ; Wed, 20 Oct 2021 09:40:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EDE3E0801; Wed, 20 Oct 2021 09:40:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 729AEE0801 for ; Wed, 20 Oct 2021 09:40:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 599543437B0 for ; Wed, 20 Oct 2021 09:40:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9E9FEA for ; Wed, 20 Oct 2021 09:40:40 +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: <1634722771.53900a754459f2fe9b05ab84ac252a55a8aa785b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/backrefs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/backrefs/Manifest dev-python/backrefs/backrefs-5.1.ebuild X-VCS-Directories: dev-python/backrefs/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 53900a754459f2fe9b05ab84ac252a55a8aa785b X-VCS-Branch: master Date: Wed, 20 Oct 2021 09:40:40 +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: 5bd55863-5d86-42b5-8f2c-367e9815c0ae X-Archives-Hash: a5b3714ec05d7a8f9456e835894cf07e commit: 53900a754459f2fe9b05ab84ac252a55a8aa785b Author: Michał Górny gentoo org> AuthorDate: Wed Oct 20 06:36:08 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Oct 20 09:39:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53900a75 dev-python/backrefs: Bump to 5.1 Signed-off-by: Michał Górny gentoo.org> dev-python/backrefs/Manifest | 1 + dev-python/backrefs/backrefs-5.1.ebuild | 50 +++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/backrefs/Manifest b/dev-python/backrefs/Manifest index 13990f84a82..96014e1c654 100644 --- a/dev-python/backrefs/Manifest +++ b/dev-python/backrefs/Manifest @@ -1 +1,2 @@ DIST backrefs-5.0.1.tar.gz 4120179 BLAKE2B 2cd8fb84c7e416be330cb9afdb894f6f8574b66698acc1d63abae8ff5bfcccd4bf29b724dcf2a25a637ea0fde46865b18a5ff1bfbff955a01798037752dc3d97 SHA512 e2212bd7dce017308fa558ccfe7faf617ed6107523db8b2e4a3ad7b60aa1d7aabdaea2632abd6a3f1f022eac949d7036a7afe522b5f086ef1888a0e67e834894 +DIST backrefs-5.1.tar.gz 5216647 BLAKE2B 060d153f0d5d674e7b2e6f744a9b283d10f9f47fb355fe5d5703cd83b2507852d606d51cdefcf37617ee12f7bc71d487bc50254763415c02422524da9d71aae6 SHA512 b5123e46f0bf2108060c7e4f350538159c08ee7fe3b07bbed44aaadc0481047262af80b7bf08066db423a86b4e8660a91c9e03ea41a7bb039c3d17ae3faa81fd diff --git a/dev-python/backrefs/backrefs-5.1.ebuild b/dev-python/backrefs/backrefs-5.1.ebuild new file mode 100644 index 00000000000..b0b83486bfe --- /dev/null +++ b/dev-python/backrefs/backrefs-5.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-git-revision-date-localized-plugin + ~dev-python/mkdocs_pymdownx_material_extras-1.0.7 + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-material + dev-python/pyspelling +" + +inherit distutils-r1 docs + +DESCRIPTION="Wrapper around re or regex that adds additional back references" +HOMEPAGE=" + https://github.com/facelessuser/backrefs/ + https://pypi.org/project/backrefs/ +" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + dev-vcs/git + )" + +distutils_enable_tests pytest + +python_prepare_all() { + # mkdocs-git-revision-date-localized-plugin needs git repo + if use doc; then + git init || die + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + git add . || die + git commit -m 'init' || die + fi + + distutils-r1_python_prepare_all +}