summaryrefslogtreecommitdiff
path: root/dev-python/mypy-extensions
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mypy-extensions')
-rw-r--r--dev-python/mypy-extensions/Manifest3
-rw-r--r--dev-python/mypy-extensions/metadata.xml13
-rw-r--r--dev-python/mypy-extensions/mypy-extensions-1.0.0.ebuild31
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/mypy-extensions/Manifest b/dev-python/mypy-extensions/Manifest
new file mode 100644
index 000000000000..9719ab876001
--- /dev/null
+++ b/dev-python/mypy-extensions/Manifest
@@ -0,0 +1,3 @@
+DIST mypy_extensions-1.0.0.gh.tar.gz 6097 BLAKE2B 099616ee0bacad62d9ce642c3adb1eebe27546f7c567d1e0fa6ec04d9e6cbcda2966fff9769940cfda8b7d6cc9f33100af9d6f416ab2def26079668a16c354b3 SHA512 ac89a9f60a2c3df3457d5a6ab7ed47b72dd173646ef57f1450556051617e62046405a69fadeb40d2c24e68ce6ffed56d9182365e3203477facdc935e1a807847
+EBUILD mypy-extensions-1.0.0.ebuild 699 BLAKE2B c0ba374c7c9c66329befd7265aba6481733b84dd27eb45e7522efc0ae39dfa463ad556297f252b504c28f9bb8a5fcac10aea8ce55db0038ed6040a21d668782b SHA512 c28fc56590368665493dca9db1b60e8a01a84eeec248437f65df75100cb3fbb255b37285bec9ffbfb5eb129fa6b9ea96f45c953415b62dda2e4e6544945191e1
+MISC metadata.xml 405 BLAKE2B eaf484f8baf4a4353f55fc7a84a40057c70adc6a5403e5f2e22f84d804f63774b60c52ddcdb4cc59fa21f3c350ea772f7eeb12112610d611c053ef82340a1e92 SHA512 26bd5e50dd2d591c6bcc803d27e85fa0508921c688d798e208868b7c9a77bee999ef12732038af42dc62fdbec75b7cfbbd6ff33256756736bcc783893aeaf586
diff --git a/dev-python/mypy-extensions/metadata.xml b/dev-python/mypy-extensions/metadata.xml
new file mode 100644
index 000000000000..5347b7b9b0d2
--- /dev/null
+++ b/dev-python/mypy-extensions/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>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">python/mypy_extensions</remote-id>
+ <remote-id type="pypi">mypy-extensions</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/mypy-extensions/mypy-extensions-1.0.0.ebuild b/dev-python/mypy-extensions/mypy-extensions-1.0.0.ebuild
new file mode 100644
index 000000000000..2b15fcda1737
--- /dev/null
+++ b/dev-python/mypy-extensions/mypy-extensions-1.0.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1
+
+MY_P=mypy_extensions-${PV}
+DESCRIPTION="Type system extensions for programs checked with mypy"
+HOMEPAGE="
+ https://www.mypy-lang.org/
+ https://github.com/python/mypy_extensions/
+"
+SRC_URI="
+ https://github.com/python/mypy_extensions/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
+
+distutils_enable_tests pytest
+
+python_test() {
+ epytest tests/*.py
+}