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 E1C91138336 for ; Tue, 26 Mar 2019 16:46:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88BC9E08FA; Tue, 26 Mar 2019 16:46:01 +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 4ABE9E08CD for ; Tue, 26 Mar 2019 16:46:01 +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 09B48335D13 for ; Tue, 26 Mar 2019 16:46:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB91558A for ; Tue, 26 Mar 2019 16:45:56 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1553618725.9c37fa91155a0ed35c901e627fc87038386ca874.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/importlib_resources/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/importlib_resources/Manifest dev-python/importlib_resources/importlib_resources-1.0.2.ebuild dev-python/importlib_resources/metadata.xml X-VCS-Directories: dev-python/importlib_resources/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 9c37fa91155a0ed35c901e627fc87038386ca874 X-VCS-Branch: master Date: Tue, 26 Mar 2019 16:45:56 +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: f5e62abe-f0a3-48d1-962d-ca0a44e816b4 X-Archives-Hash: 55b89d6d3cc57718b10ec09dde5be1ad commit: 9c37fa91155a0ed35c901e627fc87038386ca874 Author: Ralph Seichter seichter de> AuthorDate: Sun Mar 24 16:53:38 2019 +0000 Commit: Patrice Clement gentoo org> CommitDate: Tue Mar 26 16:45:25 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c37fa91 dev-python/importlib_resources: new package. Backport of Python 3.7's standard library importlib.resources module for Python 2.7, and 3.4 through 3.6. Users of Python 3.7 and beyond are encouraged to use the standard library module, and in fact for these versions, importlib_resources just shadows that module. Gentoo specific, I removed Python 3.4 from PYTHON_COMPAT, because that version is masked and will be removed soon (see https://github.com/gentoo/gentoo/pull/11482#issuecomment-476083100). Signed-off-by: Ralph Seichter seichter.de> Package-Manager: Portage-2.3.62, Repoman-2.3.11 Closes: https://bugs.gentoo.org/681670 Closes: https://github.com/gentoo/gentoo/pull/11482 Signed-off-by: Patrice Clement gentoo.org> dev-python/importlib_resources/Manifest | 1 + .../importlib_resources-1.0.2.ebuild | 27 ++++++++++++++++++++++ dev-python/importlib_resources/metadata.xml | 22 ++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/dev-python/importlib_resources/Manifest b/dev-python/importlib_resources/Manifest new file mode 100644 index 00000000000..6b5b888e590 --- /dev/null +++ b/dev-python/importlib_resources/Manifest @@ -0,0 +1 @@ +DIST importlib_resources-1.0.2.tar.gz 23605 BLAKE2B 813f913a779115575f3cab6f5be8f9e7ea706a6f0e47bc0bb29439901515b435c33975f6b1fd96d74140e488b0bd98aca3331e0d69940153b348891fd5f4f400 SHA512 3b7b254abdf2cb8ee0abf1608123c49de05d1eada081567a0e083d1f496f37643b81e771490b414dcf56672a7e7ea9aa6dd6b77ea8206d3a97e81ad69da7e927 diff --git a/dev-python/importlib_resources/importlib_resources-1.0.2.ebuild b/dev-python/importlib_resources/importlib_resources-1.0.2.ebuild new file mode 100644 index 00000000000..830ec759d0b --- /dev/null +++ b/dev-python/importlib_resources/importlib_resources-1.0.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Read resources from Python packages" +HOMEPAGE="https://importlib-resources.readthedocs.io/en/latest/" +SRC_URI="https://gitlab.com/python-devs/${PN}/-/archive/${PV}/${P}.tar.gz" +LICENSE="Apache-2.0" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}]" + +RDEPEND="${DEPEND}" + +python_test() { + esetup.py test +} diff --git a/dev-python/importlib_resources/metadata.xml b/dev-python/importlib_resources/metadata.xml new file mode 100644 index 00000000000..af87c20668a --- /dev/null +++ b/dev-python/importlib_resources/metadata.xml @@ -0,0 +1,22 @@ + + + + + gentoo@seichter.de + Ralph Seichter + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Backport of Python 3.7’s standard library importlib.resources + module for Python 2.7, and 3.4 through 3.6. Users of Python + 3.7 and beyond are encouraged to use the standard library + module, and in fact for these versions, importlib_resources + just shadows that module. + + + python-devs/importlib_resources + +