public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-python/nptyping/
@ 2021-08-07  9:00 Andrew Ammerlaan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2021-08-07  9:00 UTC (permalink / raw
  To: gentoo-commits

commit:     c5056477cb755a347323c57ced00f964afb8ea5a
Author:     leycec <leycec <AT> gmail <DOT> com>
AuthorDate: Sat Aug  7 05:25:05 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Aug  7 07:31:21 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c5056477

dev-python/nptyping: add

add nptyping, a mandatory dependency of CadQuery

Signed-off-by: Cecil Curry <leycec <AT> gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/nptyping/metadata.xml          | 13 +++++++++++++
 dev-python/nptyping/nptyping-1.4.3.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/nptyping/metadata.xml b/dev-python/nptyping/metadata.xml
new file mode 100644
index 000000000..7b2aa8131
--- /dev/null
+++ b/dev-python/nptyping/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<stabilize-allarches/>
+	<upstream>
+		<remote-id type="pypi">nptyping</remote-id>
+		<remote-id type="github">ramonhagenaars/nptyping</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/nptyping/nptyping-1.4.3.ebuild b/dev-python/nptyping/nptyping-1.4.3.ebuild
new file mode 100644
index 000000000..b2d6ad271
--- /dev/null
+++ b/dev-python/nptyping/nptyping-1.4.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Type hints for NumPy"
+HOMEPAGE="https://pypi.org/project/nptyping"
+
+# Prefer GitHub. Upstream failed to push its source tarball to PyPI.
+SRC_URI="https://github.com/ramonhagenaars/nptyping/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+	dev-python/numpy[${PYTHON_USEDEP}]
+	>=dev-python/typish-1.7.0[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+#FIXME: Enabling tests requires packaging additional packages (e.g., "xenon").
+RESTRICT="test"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/nptyping/
@ 2023-12-01 15:03 Horea Christian
  0 siblings, 0 replies; 3+ messages in thread
From: Horea Christian @ 2023-12-01 15:03 UTC (permalink / raw
  To: gentoo-commits

commit:     c742e1688b5994b6f78de84ccc3fa479af8a048b
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Fri Dec  1 15:01:39 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Dec  1 15:03:13 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c742e168

dev-python/nptyping: new package, add 2.5.0

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

 dev-python/nptyping/metadata.xml          | 15 +++++++
 dev-python/nptyping/nptyping-2.5.0.ebuild | 66 +++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/dev-python/nptyping/metadata.xml b/dev-python/nptyping/metadata.xml
new file mode 100644
index 000000000..8cbc6e175
--- /dev/null
+++ b/dev-python/nptyping/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<maintainer type="person">
+		<email>gentoo@chymera.eu</email>
+		<name>Horea Christian</name>
+	</maintainer>
+		<remote-id type="pypi">nptyping</remote-id>
+		<remote-id type="github">ramonhagenaars/nptyping</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/nptyping/nptyping-2.5.0.ebuild b/dev-python/nptyping/nptyping-2.5.0.ebuild
new file mode 100644
index 000000000..f6e8864df
--- /dev/null
+++ b/dev-python/nptyping/nptyping-2.5.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Type hints for Numpy"
+HOMEPAGE="
+	https://pypi.org/project/nptyping/
+	https://github.com/ramonhagenaars/nptyping/
+"
+SRC_URI="
+	https://github.com/ramonhagenaars/nptyping/archive/v${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	dev-python/numpy[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/mypy[${PYTHON_USEDEP}]
+		dev-python/pandas-stubs[${PYTHON_USEDEP}]
+		dev-python/typeguard[${PYTHON_USEDEP}]
+		dev-python/beartype[${PYTHON_USEDEP}]
+	)
+"
+
+EPYTEST_IGNORE=(
+	# requires pyright, which is not yet packaged
+	tests/test_pyright.py
+	# requires Internet + feedparser, meaningless for users
+	tests/test_package_info.py
+	# relying on Internet access to fetch packages for pip
+	tests/test_wheel.py
+	tests/pandas_/test_fork_sync.py
+)
+
+EPYTEST_DESELECT=(
+	# Reported upstream:
+	# https://github.com/ramonhagenaars/nptyping/issues/113
+	tests/test_mypy.py::MyPyTest::test_mypy_accepts_ndarray_with_any
+	tests/test_mypy.py::MyPyTest::test_mypy_accepts_ndarray_with_shape
+	tests/test_mypy.py::MyPyTest::test_mypy_accepts_ndarray_with_structure
+	tests/test_mypy.py::MyPyTest::test_mypy_accepts_ndarrays_as_function_arguments
+	tests/test_mypy.py::MyPyTest::test_mypy_accepts_ndarrays_as_variable_hints
+	tests/test_mypy.py::MyPyTest::test_mypy_accepts_nptyping_types
+	tests/test_mypy.py::MyPyTest::test_mypy_accepts_numpy_types
+	tests/test_mypy.py::MyPyTest::test_mypy_accepts_recarray_with_structure
+	tests/test_mypy.py::MyPyTest::test_mypy_disapproves_ndarray_with_wrong_function_arguments
+	tests/test_mypy.py::MyPyTest::test_mypy_knows_of_ndarray_methods
+	tests/test_typeguard.py::TypeguardTest::test_success
+	tests/pandas_/test_mypy_dataframe.py::MyPyDataFrameTest::test_mypy_accepts_dataframe
+	tests/pandas_/test_mypy_dataframe.py::MyPyDataFrameTest::test_mypy_disapproves_dataframe_with_wrong_function_arguments
+	tests/pandas_/test_mypy_dataframe.py::MyPyDataFrameTest::test_mypy_knows_of_dataframe_methods
+)
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/nptyping/
@ 2024-02-28  9:42 Alexander Puck Neuwirth
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Puck Neuwirth @ 2024-02-28  9:42 UTC (permalink / raw
  To: gentoo-commits

commit:     564661cd321e2a05582ea2d02ed2f27d740260b1
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Tue Feb 27 20:10:18 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Wed Feb 28 09:41:41 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=564661cd

dev-python/nptyping: update maintainers

Closes: https://bugs.gentoo.org/922385
Closes: https://github.com/gentoo/sci/pull/1252
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 dev-python/nptyping/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/nptyping/metadata.xml b/dev-python/nptyping/metadata.xml
index 8cbc6e175..45345f0dc 100644
--- a/dev-python/nptyping/metadata.xml
+++ b/dev-python/nptyping/metadata.xml
@@ -9,6 +9,7 @@
 		<email>gentoo@chymera.eu</email>
 		<name>Horea Christian</name>
 	</maintainer>
+	<upstream>
 		<remote-id type="pypi">nptyping</remote-id>
 		<remote-id type="github">ramonhagenaars/nptyping</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-28  9:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-07  9:00 [gentoo-commits] proj/sci:master commit in: dev-python/nptyping/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2023-12-01 15:03 Horea Christian
2024-02-28  9:42 Alexander Puck Neuwirth

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