From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8FAD91581EE for ; Mon, 31 Mar 2025 20:14:40 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 73B89343233 for ; Mon, 31 Mar 2025 20:14:40 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D58331104BA; Mon, 31 Mar 2025 20:14:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 bobolink.gentoo.org (Postfix) with ESMTPS id CBB701104BA for ; Mon, 31 Mar 2025 20:14:22 +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 7920C34320C for ; Mon, 31 Mar 2025 20:14:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3ECF287C for ; Mon, 31 Mar 2025 20:14:19 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1743452048.c0d7d32ea12df911f3c21b24a3c9d82f98eaac0c.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypugjs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pypugjs/Manifest dev-python/pypugjs/pypugjs-5.12.0.ebuild X-VCS-Directories: dev-python/pypugjs/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: c0d7d32ea12df911f3c21b24a3c9d82f98eaac0c X-VCS-Branch: master Date: Mon, 31 Mar 2025 20:14:19 +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: e2fd1ef6-3d8a-42d1-86ef-29aa42705ba4 X-Archives-Hash: 2f4713fcda3c8e59c6c6bc7dc989515f commit: c0d7d32ea12df911f3c21b24a3c9d82f98eaac0c Author: Arthur Zamarin gentoo org> AuthorDate: Mon Mar 31 20:10:51 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Mar 31 20:14:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0d7d32e dev-python/pypugjs: add 5.12.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypugjs/Manifest | 1 + dev-python/pypugjs/pypugjs-5.12.0.ebuild | 53 ++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/pypugjs/Manifest b/dev-python/pypugjs/Manifest index 2d932358cc37..f7bb18aefc96 100644 --- a/dev-python/pypugjs/Manifest +++ b/dev-python/pypugjs/Manifest @@ -1 +1,2 @@ DIST pypugjs-5.11.0.gh.tar.gz 57259 BLAKE2B 666b37a68f9faa7131424aba895fd6ffd893a92b1d565f343c25cc126bf37f2b1794eb0c32c3475533ade810b2d9d09a4299ec8bac5da63b1303d60900226507 SHA512 208946c6709398b21ab5728f290b814330db647200c1f649bceb6b5596c5bac710dedeed4dad56330b4c97236b6793251575fb2638b7bf63bf32239114758033 +DIST pypugjs-5.12.0.gh.tar.gz 58675 BLAKE2B cadfb20d4189058af691b32d5975fccfee35b0f4851c8f38d83370bc685369dcc75fe9250bbd089292df80dccf3ab34596ae50e2e60d9a8f62389a08d8798d58 SHA512 47460876018349b49fc04cde51cfee48f868b6364c5152dffc35ea3419f32c47ddab6789c442e4425a12d59c082e42d64ea001ef2c2df363d1fb1ec1a4e9f605 diff --git a/dev-python/pypugjs/pypugjs-5.12.0.ebuild b/dev-python/pypugjs/pypugjs-5.12.0.ebuild new file mode 100644 index 000000000000..9560da0c9670 --- /dev/null +++ b/dev-python/pypugjs/pypugjs-5.12.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Pug (Jade) syntax adapter for Django, Jinja2 and Mako templates" +HOMEPAGE=" + https://github.com/kakulukia/pypugjs/ + https://pypi.org/project/pypugjs/ +" +SRC_URI=" + https://github.com/kakulukia/pypugjs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/six-1.15.0[${PYTHON_USEDEP}] + >=dev-python/charset-normalizer-2.1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/django-4.0.6[${PYTHON_USEDEP}] + >=dev-python/flask-2.1.1[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.1.1[${PYTHON_USEDEP}] + >=dev-python/mako-1.1.3[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.19.0[${PYTHON_USEDEP}] + >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # poetry nonsense + sed -i -e 's:\^:>=:' pyproject.toml || die + distutils-r1_src_prepare +} + +pkg_postinst() { + optfeature "converting to Django output" dev-python/django + optfeature "converting to Jinja2 output" dev-python/jinja2 + optfeature "converting to Mako output" dev-python/mako + optfeature "converting to Tornado output" dev-python/tornado +}