commit:     4ecc14e3f25eea035d0342c9a7ef149f78db656e
Author:     leycec <leycec <AT> gmail <DOT> com>
AuthorDate: Sat Aug  7 05:22:56 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=4ecc14e3

dev-python/typish: add

add typish, a mandatory dependency of nptyping, itself 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/typish/metadata.xml        | 13 +++++++++++++
 dev-python/typish/typish-1.9.3.ebuild | 21 +++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-python/typish/metadata.xml b/dev-python/typish/metadata.xml
new file mode 100644
index 000000000..4febcc126
--- /dev/null
+++ b/dev-python/typish/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>[email protected]</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..f471f6836
--- /dev/null
+++ b/dev-python/typish/typish-1.9.3.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python functions for thorough checks on types"
+HOMEPAGE="https://pypi.org/project/typish";
+
+# Prefer GitHub. Upstream failed to push its source tarball to PyPI.
+SRC_URI="https://github.com/ramonhagenaars/typish/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+#FIXME: Tests require "nptyping" which circularly requires... "typish". *sigh*
+RESTRICT="test"

Reply via email to