commit:     d92677f116e70d1c8be2a64724c92267f687a5e3
Author:     Vladimir Shapranov <equidamoid <AT> gmail <DOT> com>
AuthorDate: Wed Jun 22 19:27:36 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 20:19:39 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d92677f1

dev-python/typish: new package

Required as a dependency of dev-python/cadquery, recently removed from the main 
tree.

Signed-off-by: Vladimir Shapranov <equidamoid <AT> gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/typish/metadata.xml        | 13 +++++++++++++
 dev-python/typish/typish-1.9.3.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

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

diff --git a/dev-python/typish/typish-1.9.3.ebuild 
b/dev-python/typish/typish-1.9.3.ebuild
new file mode 100644
index 000000000..3c32b1184
--- /dev/null
+++ b/dev-python/typish/typish-1.9.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Functionality for types"
+HOMEPAGE="https://pypi.org/project/typish/
+       https://github.com/ramonhagenaars/typish";
+SRC_URI="
+       https://github.com/ramonhagenaars/typish/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+BDEPEND="
+       test? (
+               dev-python/numpy[${PYTHON_USEDEP}]
+               dev-python/nptyping[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest

Reply via email to