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 A91A6158091 for ; Wed, 1 Jun 2022 09:21:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7876E084A; Wed, 1 Jun 2022 09:21:01 +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 8AED3E084A for ; Wed, 1 Jun 2022 09:21:01 +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 6FBCA341486 for ; Wed, 1 Jun 2022 09:21:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C23454E5 for ; Wed, 1 Jun 2022 09:20: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: <1654075249.9866d3d9c2da6bba1377796be35013440c79199e.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.1.0.ebuild X-VCS-Directories: dev-util/cookiecutter/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 9866d3d9c2da6bba1377796be35013440c79199e X-VCS-Branch: master Date: Wed, 1 Jun 2022 09:20: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: ad1bbfe5-8286-41fa-9130-a0d7d57709f4 X-Archives-Hash: 6f7b5bfdfa0a4bdb39f9852fcf92d09e commit: 9866d3d9c2da6bba1377796be35013440c79199e Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed Jun 1 09:19:17 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Jun 1 09:20:49 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9866d3d9 dev-util/cookiecutter: add 2.1.0 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-util/cookiecutter/Manifest | 1 + dev-util/cookiecutter/cookiecutter-2.1.0.ebuild | 52 +++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-util/cookiecutter/Manifest b/dev-util/cookiecutter/Manifest index 511c51671697..f4fc894bfbe4 100644 --- a/dev-util/cookiecutter/Manifest +++ b/dev-util/cookiecutter/Manifest @@ -1,3 +1,4 @@ DIST cookiecutter-1.7.2.tar.gz 253484 BLAKE2B de1c773cd5e53532edc7af7aaeac6061b1a5293330b8162da0f31895b0c3a58a4e0f36d66bee3da328a6b0a59fb5bd917a2f3f6fcf7772a4c63db5cd0030caae SHA512 15cc145f143b4cac6e78b12e1c29e191d0c1c96b0187db05a4c8aac18310a5cb31d912073674ef4c01727c9b5a3b67f8c508842cb625db338b4034faa52a4a4c DIST cookiecutter-1.7.3.tar.gz 253444 BLAKE2B 92ae74768c909ab8e2ae97ad87921ae0cbf24c417ab6985ac10eacd913981ee7756843e2588936174d3c04ecfa7a62077a6d4a323fdfa6d1872f3c84d943cbcb SHA512 a7dd7993ba40a084a719d553afbb8035f26976f38a3e8ee373c8074db64eac6bd7b711eca8cedbfd1050fc057a0b45409af4d59ff3bde57b344317dbee56f10b DIST cookiecutter-2.0.2.tar.gz 260840 BLAKE2B 008c4dceb1218ba7ead3846d24fc77253988a1fedfee929f30b4d2a63ee6ead9f2733e58e84f2d29840a5885b6655bb7d554664cec4175f49bd333b493c0f36d SHA512 0bd490e3f7067fbe87aeff35255ccac0d05d723c6505345856284612752a65e4e35a8e5fb4410f900d42e3998e68d7aa8bec402686404336dedbc456fd4cda49 +DIST cookiecutter-2.1.0.tar.gz 262829 BLAKE2B 31ddf25912d4d5d077112ffb5ad85f25f1f3aaef4edd78768a4065aec5baafa8c4b46247ef0fd8941e9c1429161cbd15bac999519f8b4c994e5aab22963288a8 SHA512 507e0030253f02d52e14cf39e8454fe3ea712a8768e9d613aa4cb41985e7d73046286d0c8eb346378c32b2a5ef6dc6481bce92eca574a49e9f21b3944307467f diff --git a/dev-util/cookiecutter/cookiecutter-2.1.0.ebuild b/dev-util/cookiecutter/cookiecutter-2.1.0.ebuild new file mode 100644 index 000000000000..e519855dd0ec --- /dev/null +++ b/dev-util/cookiecutter/cookiecutter-2.1.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +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 ~x86" + +RDEPEND=" + >=dev-python/binaryornot-0.4.4[${PYTHON_USEDEP}] + >=dev-python/click-7.0[${PYTHON_USEDEP}] + =dev-python/jinja-2.7[${PYTHON_USEDEP}] + =dev-python/jinja2-time-0.2.0[${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}] +" + +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= +}