public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-python/pandas-stubs/
@ 2023-11-30 22:29 Horea Christian
  0 siblings, 0 replies; only message in thread
From: Horea Christian @ 2023-11-30 22:29 UTC (permalink / raw
  To: gentoo-commits

commit:     9e3e033dbb978df54764b238b0c4caf0c62daa4a
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Thu Nov 30 22:26:28 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Thu Nov 30 22:28:54 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9e3e033d

dev-python/pandas-stubs: new package, add 2.1.1.230928

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/pandas-stubs/metadata.xml               | 16 +++++++
 .../pandas-stubs/pandas-stubs-2.1.1.230928.ebuild  | 52 ++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/dev-python/pandas-stubs/metadata.xml b/dev-python/pandas-stubs/metadata.xml
new file mode 100644
index 000000000..8cbc804ad
--- /dev/null
+++ b/dev-python/pandas-stubs/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+		<name>Gentoo Python Project</name>
+	</maintainer>
+	<maintainer type="person">
+		<email>gentoo@chymera.eu</email>
+		<name>Horea Christian</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">pandas-dev/pandas-stubs</remote-id>
+		<remote-id type="pypi">pandas-stubs</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/pandas-stubs/pandas-stubs-2.1.1.230928.ebuild b/dev-python/pandas-stubs/pandas-stubs-2.1.1.230928.ebuild
new file mode 100644
index 000000000..e10fd1aca
--- /dev/null
+++ b/dev-python/pandas-stubs/pandas-stubs-2.1.1.230928.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..11} )
+inherit distutils-r1
+
+DESCRIPTION="Public type stubs for pandas"
+HOMEPAGE="https://github.com/pandas-dev/pandas-stubs"
+SRC_URI="https://github.com/pandas-dev/pandas-stubs/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+# Allegedly also needs dev-python/types-pytz (available in ::guru), but somehow works without it...
+# https://github.com/pandas-dev/pandas-stubs/blob/3c2affdaeb1cb03777cc59832dcdd4b030add27d/pyproject.toml#L34
+RDEPEND="
+	dev-python/numpy[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/xarray[${PYTHON_USEDEP}]
+		dev-python/pyarrow[${PYTHON_USEDEP}]
+	)
+"
+
+EPYTEST_DESELECT=(
+	# Package has a bunch of test deps missing from ::gentoo and ::science
+	tests/test_frame.py::test_to_markdown
+	tests/test_frame.py::test_types_to_feather
+	tests/test_io.py::test_orc
+	tests/test_io.py::test_orc_path
+	tests/test_io.py::test_orc_buffer
+	tests/test_io.py::test_orc_columns
+	tests/test_io.py::test_orc_bytes
+	tests/test_io.py::test_hdf
+	tests/test_io.py::test_hdfstore
+	tests/test_io.py::test_read_hdf_iterator
+	tests/test_io.py::test_hdf_context_manager
+	tests/test_io.py::test_hdf_series
+	tests/test_io.py::test_spss
+	tests/test_io.py::test_parquet
+	tests/test_io.py::test_parquet_options
+	tests/test_io.py::test_excel_writer_engine
+	tests/test_io.py::test_all_read_without_lxml_dtype_backend
+	tests/test_series.py::test_types_agg
+	tests/test_series.py::test_types_aggregate
+)
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-30 22:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-30 22:29 [gentoo-commits] proj/sci:master commit in: dev-python/pandas-stubs/ Horea Christian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox