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 9ECE1139694 for ; Mon, 15 May 2017 09:09:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF60021C039; Mon, 15 May 2017 09:09:38 +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 BB6DB21C028 for ; Mon, 15 May 2017 09:09:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 AC1193416D7 for ; Mon, 15 May 2017 09:09:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D5AF745E for ; Mon, 15 May 2017 09:09:30 +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: <1494839362.6323fb2b70dee55fca165797955ff58fad3656bd.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-packaging/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jaraco-packaging/Manifest dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild dev-python/jaraco-packaging/metadata.xml X-VCS-Directories: dev-python/jaraco-packaging/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6323fb2b70dee55fca165797955ff58fad3656bd X-VCS-Branch: master Date: Mon, 15 May 2017 09:09:30 +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: 283fc3ec-044b-4813-89d4-a55ce4953bcc X-Archives-Hash: 530bb70b0757c9c86609b6548e5f3ac4 commit: 6323fb2b70dee55fca165797955ff58fad3656bd Author: Louis Sautier gmail com> AuthorDate: Sat May 13 15:49:22 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon May 15 09:09:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6323fb2b dev-python/jaraco-packaging: new package, version 4.1 Tools to supplement packaging Python releases. Closes: https://github.com/gentoo/gentoo/pull/4617 Bug: https://bugs.gentoo.org/617962 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/jaraco-packaging/Manifest | 1 + .../jaraco-packaging/jaraco-packaging-4.1.ebuild | 47 ++++++++++++++++++++++ dev-python/jaraco-packaging/metadata.xml | 21 ++++++++++ 3 files changed, 69 insertions(+) diff --git a/dev-python/jaraco-packaging/Manifest b/dev-python/jaraco-packaging/Manifest new file mode 100644 index 00000000000..7bc721c3e6c --- /dev/null +++ b/dev-python/jaraco-packaging/Manifest @@ -0,0 +1 @@ +DIST jaraco.packaging-4.1.tar.gz 8820 SHA256 9980b0fb6a0d2ee754d5979c9e5e02f31853da8e9046dc99f5abfcb7ace9e189 SHA512 381ac1ba3a8eeea1235e719d98b61e38399d3fea1310732b0e2f921a3d46544efbb12c23c03bfa3ecfa07697458cb8930ca5156df7b411509c7b1da0b673d7cd WHIRLPOOL 887d743fef6d1e5b8aa97b1ae0d83500f2c68f61520978557a0a53ec7d58b6f42740e3669340e7101cf1c3afd9638da4bf27e6ab5402229b614a27267d62df9b diff --git a/dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild b/dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild new file mode 100644 index 00000000000..1584db69651 --- /dev/null +++ b/dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Tools to supplement packaging Python releases" +HOMEPAGE="https://github.com/jaraco/jaraco.packaging" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=">=dev-python/six-1.4[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}] + doc? ( + dev-python/rst-linker[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_compile_all() { + if use doc; then + sphinx-build docs html || die "docs failed to build" + HTML_DOCS=( html/. ) + fi +} + +python_test() { + # Skip one test which requires network access + PYTHONPATH=. py.test -v -k "not test_revived_distribution" \ + || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/jaraco-packaging/metadata.xml b/dev-python/jaraco-packaging/metadata.xml new file mode 100644 index 00000000000..7f4f59851b2 --- /dev/null +++ b/dev-python/jaraco-packaging/metadata.xml @@ -0,0 +1,21 @@ + + + + + sautier.louis@gmail.com + Louis Sautier + + + proxy-maint@gentoo.org + Proxy Maintainers + + + python@gentoo.org + Python + + + jaraco.packaging + jaraco/jaraco.packaging + https://github.com/jaraco/jaraco.packaging/issues + +