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 99A5A1581D3 for ; Fri, 24 May 2024 12:18:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DBDCE2A93; Fri, 24 May 2024 12:18:41 +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 E4573E2A93 for ; Fri, 24 May 2024 12:18:40 +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 BC49E341214 for ; Fri, 24 May 2024 12:18:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EEFFBED0 for ; Fri, 24 May 2024 12:18:37 +0000 (UTC) From: "Michał Górny" 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" Message-ID: <1716552854.db03cc1355bc2d8cd3632b370812ef7345638965.mgorny@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.11.0.ebuild X-VCS-Directories: dev-python/pypugjs/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: db03cc1355bc2d8cd3632b370812ef7345638965 X-VCS-Branch: master Date: Fri, 24 May 2024 12:18:37 +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: b027b560-ac3b-4451-befa-65588a5420d0 X-Archives-Hash: 001a36d75570b2b2f64d87a13bcd8113 commit: db03cc1355bc2d8cd3632b370812ef7345638965 Author: Michał Górny gentoo org> AuthorDate: Fri May 24 12:14:14 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 24 12:14:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db03cc13 dev-python/pypugjs: Bump to 5.11.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypugjs/Manifest | 1 + dev-python/pypugjs/pypugjs-5.11.0.ebuild | 53 ++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/pypugjs/Manifest b/dev-python/pypugjs/Manifest index eb32db18b4d7..497d1c2b6ac5 100644 --- a/dev-python/pypugjs/Manifest +++ b/dev-python/pypugjs/Manifest @@ -1,3 +1,4 @@ DIST pypugjs-5.10.1.gh.tar.gz 57287 BLAKE2B e2350f70b410fecb0c28d85fbee05dbe3568832dd94827652a08fe8850143fef1e3fbf8f550dee0a3a5cb5958ee65c583182505274656c3eaa2249c93c60c44f SHA512 9db6ddda6631bce2d364e54aad7240fb560c9b367597e30a826bda4109efa2f44c918297b2e0651c31cda439b6229eb3639bceaf4166a53abcc17a208bdcfca7 +DIST pypugjs-5.11.0.gh.tar.gz 57259 BLAKE2B 666b37a68f9faa7131424aba895fd6ffd893a92b1d565f343c25cc126bf37f2b1794eb0c32c3475533ade810b2d9d09a4299ec8bac5da63b1303d60900226507 SHA512 208946c6709398b21ab5728f290b814330db647200c1f649bceb6b5596c5bac710dedeed4dad56330b4c97236b6793251575fb2638b7bf63bf32239114758033 DIST pypugjs-5.9.12-nose.patch.xz 12616 BLAKE2B 0cb8e8cce8af20c301e5781bca466c26f0ef97365fb67c0c46b241c0c110010a6dbf0bcc63dc7e8e886a875d2827b4fd3abd080f69022d9247d8c71c8ee80e07 SHA512 c575600273069f0395ceb55abc7dac3bf0889c8b17c89b5bf5562aa919d8818464c27eee6d7518c796b37bdbd3d265ac8301e845f024122c3cab87b0ccfaf617 DIST pypugjs-5.9.12.gh.tar.gz 51164 BLAKE2B 32b7bbc2bde966ea53c6f52a77482f4f6ca1e0cb09948c1c9850cdd66e4449ecc60e2f6b812f57a7ade5bc323c48be5d105d63ab6680d5e2197cd203fce40d85 SHA512 c6e4bd3bb27d321e3721504e7c01f97d869eb2e29e3ac8f086aa696ca29436978ceaa420ef8ac9b5addd859f7764817b1f159e0f41784a3fdb9cd3a0620eb7dd diff --git a/dev-python/pypugjs/pypugjs-5.11.0.ebuild b/dev-python/pypugjs/pypugjs-5.11.0.ebuild new file mode 100644 index 000000000000..4ba0206944b8 --- /dev/null +++ b/dev-python/pypugjs/pypugjs-5.11.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +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/jinja-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/jinja + optfeature "converting to Mako output" dev-python/mako + optfeature "converting to Tornado output" dev-python/tornado +}