aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Shapranov <equidamoid@gmail.com>2022-06-19 12:36:33 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-06-22 22:19:39 +0200
commit28c90fbd289d7904bc9da914e066fe91004a0334 (patch)
tree67f9a8ae5282cc78b5ec61bc87302c52e43561c9 /dev-python/multimethod
parentdev-python/cadquery-{ocp,pywrap}: bump to opencascade-7.5.3 (diff)
downloadsci-28c90fbd289d7904bc9da914e066fe91004a0334.tar.gz
sci-28c90fbd289d7904bc9da914e066fe91004a0334.tar.bz2
sci-28c90fbd289d7904bc9da914e066fe91004a0334.zip
dev-python/muiltimethod: new package
Required as a dependency of dev-python/cadquery. Signed-off-by: Vladimir Shapranov <equidamoid@gmail.com> Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/multimethod')
-rw-r--r--dev-python/multimethod/Manifest1
-rw-r--r--dev-python/multimethod/metadata.xml12
-rw-r--r--dev-python/multimethod/multimethod-1.8.ebuild20
3 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/multimethod/Manifest b/dev-python/multimethod/Manifest
new file mode 100644
index 000000000..2b7c7d4a6
--- /dev/null
+++ b/dev-python/multimethod/Manifest
@@ -0,0 +1 @@
+DIST multimethod-1.8.gh.tar.gz 15364 BLAKE2B e16a42a9d35387b4a972e0b88299af215df20dd5025ad5a2fa4314410f667ba4cea401c0d050dfa3e45612117774c4a6627f6b84c33bc55ed0e4c4ec42f5fec3 SHA512 433a2c72a6c98129df70aa09d1e640f2f23be6c42236cb88ad4ef9dee89406a9b6a2c01771b2b7e69ffa8d6b6cae05a8e0cd273d77c2eed86c5b8ee0c6887c8c
diff --git a/dev-python/multimethod/metadata.xml b/dev-python/multimethod/metadata.xml
new file mode 100644
index 000000000..cd5b00a2b
--- /dev/null
+++ b/dev-python/multimethod/metadata.xml
@@ -0,0 +1,12 @@
+<?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="github">coady/multimethod</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/multimethod/multimethod-1.8.ebuild b/dev-python/multimethod/multimethod-1.8.ebuild
new file mode 100644
index 000000000..4d3c7837c
--- /dev/null
+++ b/dev-python/multimethod/multimethod-1.8.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-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="Library allowing Python function overloads based on argument types"
+HOMEPAGE="https://github.com/coady/multimethod"
+
+SRC_URI="https://github.com/coady/multimethod/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+distutils_enable_tests pytest