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 D15A7158086 for ; Mon, 25 Oct 2021 13:10:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2C0AE07B3; Mon, 25 Oct 2021 13:10:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB8FAE07B3 for ; Mon, 25 Oct 2021 13:10:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8A4134384A for ; Mon, 25 Oct 2021 13:09:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 568AA165 for ; Mon, 25 Oct 2021 13:09:58 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1635167396.8046c0ed7ccd12d95ad1cdc3d8230f2b61cb1555.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter_packaging/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jupyter_packaging/Manifest dev-python/jupyter_packaging/jupyter_packaging-0.11.0.ebuild X-VCS-Directories: dev-python/jupyter_packaging/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 8046c0ed7ccd12d95ad1cdc3d8230f2b61cb1555 X-VCS-Branch: master Date: Mon, 25 Oct 2021 13:09:58 +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: 404ce447-f4a9-4bc2-8dbe-7298dff69048 X-Archives-Hash: e589f831bb68150e03b57ff0da1e6f07 commit: 8046c0ed7ccd12d95ad1cdc3d8230f2b61cb1555 Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Oct 25 13:09:05 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Oct 25 13:09:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8046c0ed dev-python/jupyter_packaging: add version 0.11.0 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/jupyter_packaging/Manifest | 1 + .../jupyter_packaging-0.11.0.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/jupyter_packaging/Manifest b/dev-python/jupyter_packaging/Manifest index a3f61b4140d..da0e6c11697 100644 --- a/dev-python/jupyter_packaging/Manifest +++ b/dev-python/jupyter_packaging/Manifest @@ -1 +1,2 @@ DIST jupyter_packaging-0.10.6.tar.gz 21836 BLAKE2B 921e763e11c3973442fa819559d921618aab4010ae7cd4ca3314acb53c7fd7be68f10af46b4d0c9888d2648c0e28565c22ad47270a9d9a1c950640b38a2a1078 SHA512 1b59219dc14c3e44c0f100e9a46b614a8c4395fc26937622515e82f4ffa35c29d8101d6f56a3d496da9279e1e7fc58a91af83bca2b50875afaf1745706ce466d +DIST jupyter_packaging-0.11.0.tar.gz 21847 BLAKE2B 61e637a0c47b117d42441343bf562f92d665abe0f5111588c91ef65b54e04d5c2878f13b9221128abf7e44070678cb878279a7227511c232d42161a159fd7f21 SHA512 35a5682ef99848f6f22b3cd2abeceaff81d575618ff670bcc664ca0bb77857b38c456a23c03787e9ca23a27901e5456c8417722163385da23efc9b85c15e015a diff --git a/dev-python/jupyter_packaging/jupyter_packaging-0.11.0.ebuild b/dev-python/jupyter_packaging/jupyter_packaging-0.11.0.ebuild new file mode 100644 index 00000000000..6440233f72b --- /dev/null +++ b/dev-python/jupyter_packaging/jupyter_packaging-0.11.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="Tools to help build and install Jupyter Python packages" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + dev-python/deprecation[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # TODO: package "build" + tests/test_build_api.py::test_build_package + tests/test_build_api.py::test_deprecated_metadata + + # broken by Gentoo pip patch + # TODO: retry when we finally make the patch less intrusive + tests/test_datafiles_install.py + tests/test_install.py + ) + + distutils_install_for_testing --via-venv + epytest ${deselect[@]/#/--deselect } +}