From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1661306-garchives=archives.gentoo.org@lists.gentoo.org>
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 BEDF7159C9B
	for <garchives@archives.gentoo.org>; Tue, 13 Aug 2024 04:55:13 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8D4BBE2C06;
	Tue, 13 Aug 2024 04:55:10 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 661F3E2C04
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Aug 2024 04:55:10 +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 3BC1034027D
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Aug 2024 04:55:09 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CC011EF0
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Aug 2024 04:55:06 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
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" <mgorny@gentoo.org>
Message-ID: <1723524893.69559a3fedfc5cb1cd9b75772181b4370442165b.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygal/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/pygal/Manifest dev-python/pygal/pygal-3.0.5.ebuild
X-VCS-Directories: dev-python/pygal/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 69559a3fedfc5cb1cd9b75772181b4370442165b
X-VCS-Branch: master
Date: Tue, 13 Aug 2024 04:55:06 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 122c1eb8-386e-488c-9fb7-08455e88e7f7
X-Archives-Hash: b5806de9be6305a8fc6889803255be8d

commit:     69559a3fedfc5cb1cd9b75772181b4370442165b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 13 04:32:44 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 13 04:54:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69559a3f

dev-python/pygal: Bump to 3.0.5

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pygal/Manifest           |  1 +
 dev-python/pygal/pygal-3.0.5.ebuild | 54 +++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/pygal/Manifest b/dev-python/pygal/Manifest
index 38d7fb8b066a..55bfe93265da 100644
--- a/dev-python/pygal/Manifest
+++ b/dev-python/pygal/Manifest
@@ -1 +1,2 @@
 DIST pygal-3.0.4.gh.tar.gz 3575681 BLAKE2B 1d7b487d17e754323a54a8840f15f722186d4a782883a65f75886e4cd063e20bf0239ef1f1a3ed619f42a83a3fff21ecf9f3613564b716a2765604d64ca0f98c SHA512 5e7e4e7eb5d4a8ccd08fc90ae68bcb7c24f6c1fa36cbe64130f2eda03ff2d3f1caab853691d0e67a02de6b4f64a530f3c5c6ae69815d248819c44923b634e8dd
+DIST pygal-3.0.5.gh.tar.gz 3569999 BLAKE2B bbaffabf2da2aecd4745db0f6b3911495d825b7d5e5fb570052d1d742251836a4bfb079c8242dde74e7b62b6738f89ff1b3cc049debe64299440ba10a74cc5ae SHA512 08aa7d83d7db59f9e088cb3ad661105b52fded9a66f51c80b151656b3b6e28a83564829f32dbfe6e56a81006510fea87ed937f12e290ae897ca70ec54d9aa9d3

diff --git a/dev-python/pygal/pygal-3.0.5.ebuild b/dev-python/pygal/pygal-3.0.5.ebuild
new file mode 100644
index 000000000000..0371adddd640
--- /dev/null
+++ b/dev-python/pygal/pygal-3.0.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="A python SVG charts generator"
+HOMEPAGE="
+	https://github.com/Kozea/pygal/
+	https://pypi.org/project/pygal/
+"
+SRC_URI="
+	https://github.com/Kozea/pygal/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+RDEPEND="
+	dev-python/importlib-metadata[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/lxml[${PYTHON_USEDEP}]
+		dev-python/pyquery[${PYTHON_USEDEP}]
+		media-gfx/cairosvg[${PYTHON_USEDEP}]
+	)
+"
+
+# CHANGELOG is a symlink to docs/changelog.rst
+DOCS=( docs/changelog.rst README.md )
+
+distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	# Not actually required unless we want to do setup.py test
+	# https://github.com/Kozea/pygal/issues/430
+	sed -i -e "/setup_requires/d" setup.py || die
+	distutils-r1_python_prepare_all
+}
+
+pkg_postinst() {
+	optfeature "improving rendering speed" "dev-python/lxml"
+	optfeature "png rendering" "dev-python/cairosvg"
+}