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 C7398138334 for ; Tue, 31 Dec 2019 14:14:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 175CDE0D2B; Tue, 31 Dec 2019 14:14:48 +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 DAE4DE0D20 for ; Tue, 31 Dec 2019 14:14:47 +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 B2A9C34DCB1 for ; Tue, 31 Dec 2019 14:14:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2AE6A1E for ; Tue, 31 Dec 2019 14:14:45 +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: <1577801677.d46be1b0691d1dd07c73d13bfc3091fc4b23c66d.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-collections/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jaraco-collections/Manifest dev-python/jaraco-collections/jaraco-collections-3.0.0.ebuild X-VCS-Directories: dev-python/jaraco-collections/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: d46be1b0691d1dd07c73d13bfc3091fc4b23c66d X-VCS-Branch: master Date: Tue, 31 Dec 2019 14:14:45 +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: deb91d7d-a46a-49c2-aa64-87de38ec51fe X-Archives-Hash: 59e8b786ddc9675e84b5c070e64795f1 commit: d46be1b0691d1dd07c73d13bfc3091fc4b23c66d Author: Louis Sautier gentoo org> AuthorDate: Tue Dec 31 13:09:39 2019 +0000 Commit: Louis Sautier gentoo org> CommitDate: Tue Dec 31 14:14:37 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d46be1b0 dev-python/jaraco-collections: v3.0.0, drops Py<3.6, add Py3.8 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Louis Sautier gentoo.org> dev-python/jaraco-collections/Manifest | 1 + .../jaraco-collections-3.0.0.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/jaraco-collections/Manifest b/dev-python/jaraco-collections/Manifest index 0540b3c7f30..9d25b41303d 100644 --- a/dev-python/jaraco-collections/Manifest +++ b/dev-python/jaraco-collections/Manifest @@ -2,3 +2,4 @@ DIST jaraco.collections-1.5.3.tar.gz 11669 BLAKE2B 2dbcac99edf28f4544e354724f8d9 DIST jaraco.collections-1.6.0.tar.gz 11991 BLAKE2B 8f8b3da18641d6348a28ef3792afabd504771f31f1de17ebb621aff493cbb7357e11d49d8b3f4ab4fc7b9a662986d10a90d20734cd802c6d34be1d169390aa96 SHA512 9bd472b51668129f12fabb90b86ed929e135a17217bc850d67d945a786d1952cf1f11b0cd8f5d4ae16b3b19ac35cf87e0584df622877185362e93ba3915dbe6b DIST jaraco.collections-2.0.tar.gz 15102 BLAKE2B 61fa35070b2342f95b3e6e571417ab2cd62be439250d8f2077b379316488a4af62d943248bad80d0a72d9aab3010c6982fb4a51fa4ddc574ab72943e37ddeb6b SHA512 1cc3482bddf6647b7fd183f091db7fe89e9ad1ac416716a918626134835837c2ed29d533bc00052a514d64c94343a070b9b501984b3dcc5caac87066d9c335cf DIST jaraco.collections-2.1.tar.gz 16026 BLAKE2B b79b57b6bac1e18b6be44ea0e5ad65e46228c7fb4f47be90471cb7a2f85e4c5b10cabe47f1fc6287383b1184db85e5d286d219def3a5f5bfca10e354510d85bb SHA512 64fd3f4155dfc64152dcfb7970c26c7e3e098b0a8282556d17be2aeb80dcac6092b6dca11bf42cda268e0ddda67f2117704c81218c4b6511236e57b1f602da47 +DIST jaraco.collections-3.0.0.tar.gz 16439 BLAKE2B ff3690d85d91da8d88945e9ab8d16d13c7d0f67a9334f706701f9b392d8cffdd9450b2d6051a92799564cfc81310e45f50368ab729a0b68c08a9c8b0ccd9627d SHA512 c6c5d28fe4b3940c81c68bf877249805db3f508d83a0071947c7a5596d3636631df91cc6e87802b0fa6cd5c8bdd1ef2f39b924471666b44d2147cb64ad1533ad diff --git a/dev-python/jaraco-collections/jaraco-collections-3.0.0.ebuild b/dev-python/jaraco-collections/jaraco-collections-3.0.0.ebuild new file mode 100644 index 00000000000..a2dae1f444d --- /dev/null +++ b/dev-python/jaraco-collections/jaraco-collections-3.0.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Models and classes to supplement the stdlib collections module" +HOMEPAGE="https://github.com/jaraco/jaraco.collections" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# TODO: remove six when the following PR is merged: +# https://github.com/jaraco/jaraco.collections/pull/5 +RDEPEND=" + >=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}] + dev-python/jaraco-classes[${PYTHON_USEDEP}] + dev-python/jaraco-text[${PYTHON_USEDEP}] + >=dev-python/six-1.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + ) +" +distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \ + '>=dev-python/rst-linker-1.9' + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_test() { + # Override pytest options to skip flake8 + PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \ + || die "tests failed with ${EPYTHON}" +} + +# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages +python_install() { + rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die + # note: eclass may default to --skip-build in the future + distutils-r1_python_install --skip-build +}