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.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 D3D6015814C for ; Mon, 9 Oct 2023 10:41:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F248F2BC02C; Mon, 9 Oct 2023 10:41:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D652D2BC02C for ; Mon, 9 Oct 2023 10:41:06 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0B49335C5D for ; Mon, 9 Oct 2023 10:41:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0975EF16 for ; Mon, 9 Oct 2023 10:41:04 +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: <1696848036.f566934547cfa571c4aeade51019df86e4a3f516.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cookiecutter/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/cookiecutter/Manifest dev-util/cookiecutter/cookiecutter-2.4.0.ebuild X-VCS-Directories: dev-util/cookiecutter/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: f566934547cfa571c4aeade51019df86e4a3f516 X-VCS-Branch: master Date: Mon, 9 Oct 2023 10:41:04 +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: 734d899d-2947-4577-9f2f-bc4bc01ba559 X-Archives-Hash: 312855d1cf55f2706e46167693b1ef95 commit: f566934547cfa571c4aeade51019df86e4a3f516 Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Oct 9 09:05:39 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Oct 9 10:40:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5669345 dev-util/cookiecutter: add 2.4.0 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-util/cookiecutter/Manifest | 1 + dev-util/cookiecutter/cookiecutter-2.4.0.ebuild | 53 +++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-util/cookiecutter/Manifest b/dev-util/cookiecutter/Manifest index a94ae9b413f8..c67747e142de 100644 --- a/dev-util/cookiecutter/Manifest +++ b/dev-util/cookiecutter/Manifest @@ -2,3 +2,4 @@ DIST cookiecutter-2.1.1.tar.gz 263100 BLAKE2B 6f054cc5e03328db3198443fe1f99bbef2 DIST cookiecutter-2.2.3.tar.gz 271925 BLAKE2B 01c981b2650f6b4a962e231b5642fe99d8456e000d4ffc83be67df4c092d7192851cfdeb8d157d5c2db481346e4abf9671b9d80b24b17b0cc56cd9238ef11e6c SHA512 40df677c27c0b226cca36ecb983bd3b3e17b5aa0aac39df390064fdd54397971d3d8f2e2242c78459573bd9e49cdee0d42370cf65a6f752e6f372905b05baadb DIST cookiecutter-2.3.0.tar.gz 273048 BLAKE2B 9515ae58271c61a040b176fbede49bed198343a51a136509933ced4712252f359a1027e9fe5797a1ab0e37cdaaa962ad4a65927ddfd4514641f87bfb9507e566 SHA512 f1930ce79781119ea12e18dd1dfb05777989bc121a3292294314f4320e124ac62945120f85c7a720b6bd475acb07b162fb247486855e6180449eb50c8c5ee93c DIST cookiecutter-2.3.1.tar.gz 273620 BLAKE2B 0f2122b0c9c46ece8da03d4431d4ace3bcb2541e91d050af940eac7cd617ed0643db4533c2f4d6709de0e0746417cff0a67d63e490f9c5aaeaff9cf239b97189 SHA512 aa93a40dd82f579ebef894a5ad55798e623809804b6d8322f6fa5787e86bd98b79ea81d16ad3e7bf67570f2449f20d4241e13673fc106e58b2111a10c712bb35 +DIST cookiecutter-2.4.0.tar.gz 274072 BLAKE2B bd45803a8f232bd9453afc7f9f43170624d130b788e6cb055cfc31b3e58f097032838e65a5807c71b6ebf740e239e26b51edabaff0353152f7e8f4d008ce56d0 SHA512 c0e1ab6bed36bc57bd56becc8d7f7f3526a7257a95ed37819a8814152f2d06fe4bd5dafab66c508be4cd14fb191fd59ffbf559513c55ff84c4b51131771bc4e6 diff --git a/dev-util/cookiecutter/cookiecutter-2.4.0.ebuild b/dev-util/cookiecutter/cookiecutter-2.4.0.ebuild new file mode 100644 index 000000000000..69ab73e4540b --- /dev/null +++ b/dev-util/cookiecutter/cookiecutter-2.4.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Command-line utility to create projects from cookiecutters (project templates)" +HOMEPAGE="https://github.com/cookiecutter/cookiecutter" +SRC_URI="https://github.com/cookiecutter/cookiecutter/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/arrow[${PYTHON_USEDEP}] + >=dev-python/binaryornot-0.4.4[${PYTHON_USEDEP}] + >=dev-python/click-7.0[${PYTHON_USEDEP}] + =dev-python/jinja-2.7[${PYTHON_USEDEP}] + =dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] + >=dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.23.0[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +DOCS=( README.md HISTORY.md CONTRIBUTING.md ) + +PATCHES=( + "${FILESDIR}/test_cli-1.7.2.patch" +) + +distutils_enable_tests pytest +# TODO: Package sphinx-click +# distutils_enable_sphinx docs \ +# dev-python/sphinx-rtd-theme \ +# dev-python/recommonmark + +python_test() { + epytest -o addopts= +}