From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1358435-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 32E03158087 for <garchives@archives.gentoo.org>; Sun, 16 Jan 2022 17:53:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83AC12BC022; Sun, 16 Jan 2022 17:53:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 60ED32BC022 for <gentoo-commits@lists.gentoo.org>; Sun, 16 Jan 2022 17:53:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F44A342ECB for <gentoo-commits@lists.gentoo.org>; Sun, 16 Jan 2022 17:53:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2D772A2 for <gentoo-commits@lists.gentoo.org>; Sun, 16 Jan 2022 17:53:16 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1642355431.76505ac2710a35bdc3267c47e85a6c76a1b439e8.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/poetry-core/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/poetry-core/Manifest dev-python/poetry-core/metadata.xml dev-python/poetry-core/poetry-core-1.0.7.ebuild X-VCS-Directories: dev-python/poetry-core/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 76505ac2710a35bdc3267c47e85a6c76a1b439e8 X-VCS-Branch: master Date: Sun, 16 Jan 2022 17:53:16 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 82c37d0a-78c2-45c2-9ce7-bb9e3801298f X-Archives-Hash: da93662e7fdfc6aaed3910047b33a8b0 commit: 76505ac2710a35bdc3267c47e85a6c76a1b439e8 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Thu Jan 13 17:38:25 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Jan 16 17:50:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76505ac2 dev-python/poetry-core: initial commit, add 1.0.7 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/poetry-core/Manifest | 1 + dev-python/poetry-core/metadata.xml | 12 ++++++ dev-python/poetry-core/poetry-core-1.0.7.ebuild | 55 +++++++++++++++++++++++++ 3 files changed, 68 insertions(+) diff --git a/dev-python/poetry-core/Manifest b/dev-python/poetry-core/Manifest new file mode 100644 index 000000000000..4c3631d4a43d --- /dev/null +++ b/dev-python/poetry-core/Manifest @@ -0,0 +1 @@ +DIST poetry-core-1.0.7.gh.tar.gz 414539 BLAKE2B 570f13e3c7298fd822a38b75c49c623bde4fa780b3787c3c9cfa3939bb68fee3eeaf6190013117a6e751cb6f87a15b343ba183529fcc07d30e37988097954d4a SHA512 40a8b17ae7c51135eb5f96ec76426f075075de7dafff8ab828fe3b47d13759856a7fd2e7504c1216c4f942befde2c6d42c3976978202ce7aa224e966162bd8e5 diff --git a/dev-python/poetry-core/metadata.xml b/dev-python/poetry-core/metadata.xml new file mode 100644 index 000000000000..fe238cb762d0 --- /dev/null +++ b/dev-python/poetry-core/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">poetry-core</remote-id> + <remote-id type="github">python-poetry/poetry-core</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/poetry-core/poetry-core-1.0.7.ebuild b/dev-python/poetry-core/poetry-core-1.0.7.ebuild new file mode 100644 index 000000000000..720027adf43f --- /dev/null +++ b/dev-python/poetry-core/poetry-core-1.0.7.ebuild @@ -0,0 +1,55 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Poetry PEP 517 Build Backend" +HOMEPAGE="https://pypi.org/project/poetry-core/ https://github.com/python-poetry/poetry-core" +SRC_URI=" + https://github.com/python-poetry/poetry-core/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# check inside src/poetry/core/_vendor/vendor.txt +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lark-parser[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pep517[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Those "fail" bacause of glob file path resulting from newer versions + # in our tree than vendored. But those don't affect anything. + tests/masonry/builders/test_sdist.py::test_default_with_excluded_data + tests/masonry/builders/test_wheel.py::test_default_src_with_excluded_data +) + +src_prepare() { + # remove vendoring of dependencies + rm -r poetry/core/_vendor || die + sed -e '/__vendor_site__/d' -i poetry/core/__init__.py || die + + distutils-r1_src_prepare +}