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 4389813835A for ; Sat, 2 Jan 2021 23:18:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB35FE081B; Sat, 2 Jan 2021 23:18:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CC5BEE081B for ; Sat, 2 Jan 2021 23:18:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BDB90340FB6 for ; Sat, 2 Jan 2021 23:18:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4CAB7487 for ; Sat, 2 Jan 2021 23:18:19 +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: <1609629481.ddfbf0d142b20161ffb0e78cee78f6301730ae5d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wcmatch/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/wcmatch/Manifest dev-python/wcmatch/wcmatch-7.2.ebuild X-VCS-Directories: dev-python/wcmatch/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ddfbf0d142b20161ffb0e78cee78f6301730ae5d X-VCS-Branch: master Date: Sat, 2 Jan 2021 23:18:19 +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: 21777e36-758e-4b2c-8c23-f1f75d5a5dcd X-Archives-Hash: 7d83b5f533160f209d71769549a26c4f commit: ddfbf0d142b20161ffb0e78cee78f6301730ae5d Author: Michał Górny gentoo org> AuthorDate: Sat Jan 2 23:09:25 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jan 2 23:18:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddfbf0d1 dev-python/wcmatch: Bump to 7.2 Signed-off-by: Michał Górny gentoo.org> dev-python/wcmatch/Manifest | 1 + dev-python/wcmatch/wcmatch-7.2.ebuild | 56 +++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest index eb561b1f951..c373472b893 100644 --- a/dev-python/wcmatch/Manifest +++ b/dev-python/wcmatch/Manifest @@ -1 +1,2 @@ DIST wcmatch-7.1.tar.gz 105744 BLAKE2B 0add1c68025c92ac57d6ea64d82bddb20bace60de5d319fb16e16802f208d788d876695bfcd186b80630039f544565c631d36e1c7327dee5d8c799eff8c80ce2 SHA512 79d62d85f13d245e38d0fe92a275e24058b86af8aaf9a926bfd950dad4ec47e40e763c18b08d3eb4ddd925832ae9910f13407094070442b41dbe2fe4ad11fb39 +DIST wcmatch-7.2.tar.gz 105087 BLAKE2B a28bd9d02468f3ca83d606ee7f7d5c9b6b8883cf6e0c04b711765aefafce189f7f524a490c6831a739b579be66af5f4b1c7b6373da22e170211e611677c5788f SHA512 6fdc0a3cb6d66b323c509a5ee34c1e8df9a46a93fd1fc0921dfdbc17ac604934fdad3df5e8f253aa6a880bea2e81bb26ec097b9503c920433c5827ea91b327d8 diff --git a/dev-python/wcmatch/wcmatch-7.2.ebuild b/dev-python/wcmatch/wcmatch-7.2.ebuild new file mode 100644 index 00000000000..4ab18a52134 --- /dev/null +++ b/dev-python/wcmatch/wcmatch-7.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + ~dev-python/mkdocs_pymdownx_material_extras-1.0.7 + dev-python/mkdocs-material + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-minify-plugin + dev-python/pyspelling +" + +inherit distutils-r1 docs + +DESCRIPTION="Wildcard/glob file name matcher" +HOMEPAGE=" + https://github.com/facelessuser/wcmatch/ + https://pypi.org/project/wcmatch/" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/backrefs-4.1[${PYTHON_USEDEP}] + >=dev-python/bracex-2.0[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-vcs/git +)" + +distutils_enable_tests pytest + +python_prepare_all() { + # no such file or dir ~homedir + sed -i -e 's:test_tilde_user:_&:' \ + tests/test_glob.py || die + + # 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 +}