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 97C66139695 for ; Thu, 11 May 2017 18:20:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B606B21C028; Thu, 11 May 2017 18:20:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8449C21C028 for ; Thu, 11 May 2017 18:20:11 +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 5B1883413B7 for ; Thu, 11 May 2017 18:20:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B12347436 for ; Thu, 11 May 2017 18:20:07 +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: <1494526803.cfc14115e25bd8404a1f7f0e445020a1882a1b67.mgorny@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-1.9.ebuild X-VCS-Directories: dev-python/rst-linker/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cfc14115e25bd8404a1f7f0e445020a1882a1b67 X-VCS-Branch: master Date: Thu, 11 May 2017 18:20:07 +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-Archives-Salt: 79f38463-7194-42da-8822-48193dd86286 X-Archives-Hash: ad99b6ff8eecbfee541484774b2d9963 commit: cfc14115e25bd8404a1f7f0e445020a1882a1b67 Author: Louis Sautier gmail com> AuthorDate: Tue May 9 18:27:17 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu May 11 18:20:03 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfc14115 dev-python/rst-linker: bump to 1.9, #617964 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/rst-linker/Manifest | 1 + dev-python/rst-linker/rst-linker-1.9.ebuild | 49 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/rst-linker/Manifest b/dev-python/rst-linker/Manifest index 5637ade2917..121fdbfdd68 100644 --- a/dev-python/rst-linker/Manifest +++ b/dev-python/rst-linker/Manifest @@ -1,2 +1,3 @@ DIST rst.linker-1.6.tar.gz 6439 SHA256 e1eab99dba26c4562f1a034bd0122f84035f0e54750b20ca1e017ed225c66a2e SHA512 f2511f2bef0ef90b9b9bcda11542e768d242cde5d617f17bec1c23cb21819510703033c63b3dda2cacae73a605de2d8930512e040c6703dd881b4dc0d7022baf WHIRLPOOL c097a20d3bd3f3cdc7aeade9a586818a47ad282877d47999de6aaa240595849b127ef84ee25e677bcfc21ce9b4b99e3e7fe7b71d8571ba465d0854b1961350c2 DIST rst.linker-1.7.tar.gz 6798 SHA256 59038b0dce170f7d6459132a1b7358b01f71f372afbf5b1c07d0862ba4a5042e SHA512 380cd1b36a1153a6512144b7c83be75dfa95ce397437d34cb76c4c41de6266c77cf1f811f4fb0576838e10bd78e1f46394df11b0f7dc5e3fafeef36b6e8c9ba0 WHIRLPOOL 7d323528ed0c7bba5db1159eb18063a4b191d81d400c1e8d02d0dcff3265183ca4ca0d56de5c674883dc1d02ea77eb7ec83c1b08d4622f4d820f5a1702a5833b +DIST rst.linker-1.9.tar.gz 7618 SHA256 4de05e547d14ac16599d6379a73d394b8eba03afb1f16b6bdb400013957d9999 SHA512 b3e39b025f75bb6ff670f23ee7abd48dcc4e19343626c1ffadd2304a7e3285fe0b7369ace96e47094606e864672c8aeea967a02217b110762e53498dde64b8a7 WHIRLPOOL 15cef12c451a8bffec7303f2909e173993819bdb3d214c07f2b606464fa0ff6d222b33bff3df44a2a1652f2b144f85a11e8dbb4b9a82257bca6123f1944eb828 diff --git a/dev-python/rst-linker/rst-linker-1.9.ebuild b/dev-python/rst-linker/rst-linker-1.9.ebuild new file mode 100644 index 00000000000..4bdfb051d26 --- /dev/null +++ b/dev-python/rst-linker/rst-linker-1.9.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) + +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" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc test" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/path-py[${PYTHON_USEDEP}] + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + py.test --ignore=rst || die "tests failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) + distutils-r1_python_install_all +}