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 7508C138359 for ; Thu, 29 Oct 2020 15:33:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C9FDE0942; Thu, 29 Oct 2020 15:33:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 155EBE0942 for ; Thu, 29 Oct 2020 15:33:55 +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 AE769340CFB for ; Thu, 29 Oct 2020 15:33:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3163F3B8 for ; Thu, 29 Oct 2020 15:33:53 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1603985085.b29ff8a784bd9300bcbe42a33d6198725d0d5313.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rst-linker/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/rst-linker/Manifest dev-python/rst-linker/rst-linker-2.1.1.ebuild X-VCS-Directories: dev-python/rst-linker/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: b29ff8a784bd9300bcbe42a33d6198725d0d5313 X-VCS-Branch: master Date: Thu, 29 Oct 2020 15:33:53 +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: b1dd595b-8f2b-4f9f-8dfd-95e785efb5ae X-Archives-Hash: 1f9bb15844b8021e9ff98f918f0af2d8 commit: b29ff8a784bd9300bcbe42a33d6198725d0d5313 Author: Louis Sautier gentoo org> AuthorDate: Thu Oct 29 13:20:42 2020 +0000 Commit: Louis Sautier gentoo org> CommitDate: Thu Oct 29 15:24:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b29ff8a7 dev-python/rst-linker: bump to 2.1.1 Use distutils_enable_tests to simplify dependency handling. Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Louis Sautier gentoo.org> dev-python/rst-linker/Manifest | 1 + dev-python/rst-linker/rst-linker-2.1.1.ebuild | 41 +++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/rst-linker/Manifest b/dev-python/rst-linker/Manifest index bce775091e2..f48e515c83f 100644 --- a/dev-python/rst-linker/Manifest +++ b/dev-python/rst-linker/Manifest @@ -1 +1,2 @@ DIST rst.linker-2.0.0.tar.gz 12861 BLAKE2B f52ddab3c8119f0bac64e294e4a5a3cc50916f19f49ca1ca4983d8b5d2bb5401c6accb5873df38609386e12fcd1cb02b867f3633edd4d10606a98936e96e62eb SHA512 ea9fa95de66c95dc384c888446512be66b180d0d76e99fe7a6b8f8348436d4be959d3d567fa521d9fc925b537467a4fdf05f9e9d17f7a6df4aafd6dfd323e4fc +DIST rst.linker-2.1.1.tar.gz 13492 BLAKE2B 0f53f3110c4a54e7eb36787ed08f81d0ce551174251203b7184ccbcc0153ee450e8e8927e8989b572b929219b1002019f49167482d59956ad96a54360317f998 SHA512 c49e6b3de41636184f75941d8fa258c2dad3d13a7d82b6221a10f583ada228a96f56abefce7840f93cbae8512332b69430601961cc396f3917b912e369b2b1b9 diff --git a/dev-python/rst-linker/rst-linker-2.1.1.ebuild b/dev-python/rst-linker/rst-linker-2.1.1.ebuild new file mode 100644 index 00000000000..f893fc98c94 --- /dev/null +++ b/dev-python/rst-linker/rst-linker-2.1.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6..9} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Sphinx plugin to add links and timestamps to the changelog" +HOMEPAGE="https://github.com/jaraco/rst.linker" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_{6,7}) + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + test? ( + dev-python/path-py[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs ">=dev-python/jaraco-packaging-3.2" +distutils_enable_tests pytest + +python_test() { + # Ignore the module from ${S}, use the one from ${BUILD_DIR} + # Otherwise, ImportMismatchError may occur + # https://github.com/gentoo/gentoo/pull/1622#issuecomment-224482396 + # Override pytest options to skip flake8 + pytest -vv --ignore=rst --override-ini="addopts=--doctest-modules" \ + || die "tests failed with ${EPYTHON}" +}