* [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib-venn/
@ 2025-01-28 16:33 Michał Górny
0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2025-01-28 16:33 UTC (permalink / raw
To: gentoo-commits
commit: 901450af5205f070c1c60ffcbe2943f89b5e40a2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 28 16:33:12 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 28 16:33:37 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=901450af
dev-python/matplotlib-venn: New package, v1.1.1
A package to make nice Venn diagrams using matplotlib.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/matplotlib-venn/Manifest | 1 +
.../matplotlib-venn/matplotlib-venn-1.1.1.ebuild | 47 ++++++++++++++++++++++
dev-python/matplotlib-venn/metadata.xml | 12 ++++++
3 files changed, 60 insertions(+)
diff --git a/dev-python/matplotlib-venn/Manifest b/dev-python/matplotlib-venn/Manifest
new file mode 100644
index 000000000000..6ef53f6f56f6
--- /dev/null
+++ b/dev-python/matplotlib-venn/Manifest
@@ -0,0 +1 @@
+DIST matplotlib-venn-1.1.1.gh.tar.gz 978290 BLAKE2B 21f0541df95428557e60eaca95e7e2749825bb36c69855b7adca54141af7c343073d62f99fe3b45ae17dcd514cd91813b188e426f61e415f9a353ce214588b71 SHA512 b01fe31122d8a4f6914aaa24ad09cc571536952f1d22231c7c59a760c2baafce7d6e7bc91de8bfc1efd5d2aca18371f6b834908382407fdb5add806a137d8e16
diff --git a/dev-python/matplotlib-venn/matplotlib-venn-1.1.1.ebuild b/dev-python/matplotlib-venn/matplotlib-venn-1.1.1.ebuild
new file mode 100644
index 000000000000..8522cd6a04ec
--- /dev/null
+++ b/dev-python/matplotlib-venn/matplotlib-venn-1.1.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Plot area-proportional two- and three-way Venn diagrams in matplotlib"
+HOMEPAGE="
+ https://github.com/konstantint/matplotlib-venn/
+ https://pypi.org/project/matplotlib-venn/
+"
+SRC_URI="
+ https://github.com/konstantint/matplotlib-venn/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/scipy[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/shapely[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # TODO: some minor number mismatch
+ matplotlib_venn/layout/venn3/cost_based.py::matplotlib_venn.layout.venn3.cost_based.LayoutAlgorithm
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}
diff --git a/dev-python/matplotlib-venn/metadata.xml b/dev-python/matplotlib-venn/metadata.xml
new file mode 100644
index 000000000000..96c87c18e907
--- /dev/null
+++ b/dev-python/matplotlib-venn/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">konstantint/matplotlib-venn</remote-id>
+ <remote-id type="pypi">matplotlib-venn</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-01-28 16:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-28 16:33 [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib-venn/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox