Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/typish/
Date: Wed, 22 Jun 2022 20:31:44
Message-Id: 1655929179.d92677f116e70d1c8be2a64724c92267f687a5e3.andrewammerlaan@gentoo
1 commit: d92677f116e70d1c8be2a64724c92267f687a5e3
2 Author: Vladimir Shapranov <equidamoid <AT> gmail <DOT> com>
3 AuthorDate: Wed Jun 22 19:27:36 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 22 20:19:39 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d92677f1
7
8 dev-python/typish: new package
9
10 Required as a dependency of dev-python/cadquery, recently removed from the main tree.
11
12 Signed-off-by: Vladimir Shapranov <equidamoid <AT> gmail.com>
13 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
14
15 dev-python/typish/metadata.xml | 13 +++++++++++++
16 dev-python/typish/typish-1.9.3.ebuild | 29 +++++++++++++++++++++++++++++
17 2 files changed, 42 insertions(+)
18
19 diff --git a/dev-python/typish/metadata.xml b/dev-python/typish/metadata.xml
20 new file mode 100644
21 index 000000000..603d0691e
22 --- /dev/null
23 +++ b/dev-python/typish/metadata.xml
24 @@ -0,0 +1,13 @@
25 +<?xml version="1.0" encoding="UTF-8"?>
26 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
27 +<pkgmetadata>
28 + <maintainer type="project">
29 + <email>sci@g.o</email>
30 + <name>Gentoo Science Project</name>
31 + </maintainer>
32 + <stabilize-allarches/>
33 + <upstream>
34 + <remote-id type="pypi">typish</remote-id>
35 + <remote-id type="github">ramonhagenaars/typish</remote-id>
36 + </upstream>
37 +</pkgmetadata>
38
39 diff --git a/dev-python/typish/typish-1.9.3.ebuild b/dev-python/typish/typish-1.9.3.ebuild
40 new file mode 100644
41 index 000000000..3c32b1184
42 --- /dev/null
43 +++ b/dev-python/typish/typish-1.9.3.ebuild
44 @@ -0,0 +1,29 @@
45 +# Copyright 2022 Gentoo Authors
46 +# Distributed under the terms of the GNU General Public License v2
47 +
48 +EAPI=8
49 +
50 +DISTUTILS_USE_PEP517=setuptools
51 +PYTHON_COMPAT=( python3_{8..10} )
52 +inherit distutils-r1
53 +
54 +DESCRIPTION="Functionality for types"
55 +HOMEPAGE="https://pypi.org/project/typish/
56 + https://github.com/ramonhagenaars/typish"
57 +SRC_URI="
58 + https://github.com/ramonhagenaars/typish/archive/v${PV}.tar.gz
59 + -> ${P}.gh.tar.gz
60 +"
61 +
62 +LICENSE="MIT"
63 +SLOT="0"
64 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
65 +
66 +BDEPEND="
67 + test? (
68 + dev-python/numpy[${PYTHON_USEDEP}]
69 + dev-python/nptyping[${PYTHON_USEDEP}]
70 + )
71 +"
72 +
73 +distutils_enable_tests pytest