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 AFF15138350 for ; Sat, 18 Apr 2020 15:33:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F12F5E09D5; Sat, 18 Apr 2020 15:33:49 +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 C4A0BE09D5 for ; Sat, 18 Apr 2020 15:33:49 +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 620F834EFFE for ; Sat, 18 Apr 2020 15:33:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BDA171 for ; Sat, 18 Apr 2020 15:33:46 +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: <1587224022.8603f6637a8b21cab43a89ff70edf5dfd8cc2907.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/distlib/Manifest dev-python/distlib/distlib-0.3.0.ebuild dev-python/distlib/metadata.xml X-VCS-Directories: dev-python/distlib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8603f6637a8b21cab43a89ff70edf5dfd8cc2907 X-VCS-Branch: master Date: Sat, 18 Apr 2020 15:33:46 +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: 2cdafbc2-d4d1-4daa-9f18-daaf53730de0 X-Archives-Hash: c3eb2d37ab5bc09a48e738a2b755b395 commit: 8603f6637a8b21cab43a89ff70edf5dfd8cc2907 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 18 15:07:46 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Apr 18 15:33:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8603f663 dev-python/distlib: Readd, new dep of virtualenv Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/Manifest | 1 + dev-python/distlib/distlib-0.3.0.ebuild | 51 +++++++++++++++++++++++++++++++++ dev-python/distlib/metadata.xml | 7 +++++ 3 files changed, 59 insertions(+) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest new file mode 100644 index 00000000000..4bbb3b2204a --- /dev/null +++ b/dev-python/distlib/Manifest @@ -0,0 +1 @@ +DIST distlib-0.3.0.tar.bz2 848089 BLAKE2B 70f88b570229e2ab4c95bd8da0375aba189f66dec8defcf8eedf1be6924d93bd20b54c68e5fba867a6c68a31d4ef926ee2dc18ccb0391278680f30a62d0cd251 SHA512 01b0e7d59736414a241efdf883e4ee63eafe9614ce3b4147781a5750d25d6383543146c5277e3e0d3e11ce03693afd0331c6e3416776a6f84de7a4d9dadf3de4 diff --git a/dev-python/distlib/distlib-0.3.0.ebuild b/dev-python/distlib/distlib-0.3.0.ebuild new file mode 100644 index 00000000000..867d3b72eb3 --- /dev/null +++ b/dev-python/distlib/distlib-0.3.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Low-level components of distutils2/packaging" +HOMEPAGE="https://pypi.org/project/distlib/ + https://bitbucket.org/pypa/distlib/" +# pypi has zip only :-( +SRC_URI=" + https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests setup.py + +src_prepare() { + # this test assumes pristine venv with no system packages + sed -e 's:test_dependency_finder:_&:' \ + -i tests/test_locators.py || die + # no clue but it looks horribly fragile + sed -e 's:test_sequencer_basic:_&:' \ + -i tests/test_util.py || die + # TODO: investigate + sed -e 's:test_upload:_&:' \ + -i tests/test_index.py || die + # these require Internet + sed -e 's:test_search:_&:' \ + -i tests/test_index.py || die + sed -e 's:test_aggregation:_&:' \ + -e 's:test_all:_&:' \ + -e 's:test_dist_reqts:_&:' \ + -e 's:test_json:_&:' \ + -e 's:test_prereleases:_&:' \ + -e 's:test_scraper:_&:' \ + -i tests/test_locators.py || die + sed -e 's:test_package_data:_&:' \ + -i tests/test_util.py || die + # doesn't work with our patched pip + sed -e '/PIP_AVAIL/s:True:False:' \ + -i tests/test_wheel.py || die + + distutils-r1_src_prepare +} diff --git a/dev-python/distlib/metadata.xml b/dev-python/distlib/metadata.xml new file mode 100644 index 00000000000..266e3f19ca5 --- /dev/null +++ b/dev-python/distlib/metadata.xml @@ -0,0 +1,7 @@ + + + + + python@gentoo.org + +