summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-04 16:28:53 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-04 16:34:28 +0200
commitdc822b01fbf03a429b1b9d3457134695bcb6a790 (patch)
treec31b86630fbd7e2338db4a06c5324584a3b9600d
parentx11-drivers/nvidia-drivers: reset insopts after .manifest (diff)
downloadgentoo-dc822b01fbf03a429b1b9d3457134695bcb6a790.tar.gz
gentoo-dc822b01fbf03a429b1b9d3457134695bcb6a790.tar.bz2
gentoo-dc822b01fbf03a429b1b9d3457134695bcb6a790.zip
dev-python/annotated-types: New package, v0.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/annotated-types/Manifest1
-rw-r--r--dev-python/annotated-types/annotated-types-0.5.0.ebuild27
-rw-r--r--dev-python/annotated-types/metadata.xml13
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/annotated-types/Manifest b/dev-python/annotated-types/Manifest
new file mode 100644
index 000000000000..49912a423f0c
--- /dev/null
+++ b/dev-python/annotated-types/Manifest
@@ -0,0 +1 @@
+DIST annotated_types-0.5.0.tar.gz 13504 BLAKE2B 6c13267b2bdcafabc57e734e3a92133c140ed34560625ed067e01b19f4c8e250b01dacfd5518d0e7283fe469d053a1c1baed173f215231e7303defc3e444667d SHA512 d59c00ff84d510d87149aa9a33deb26e2c3aee98f0f99b63cc0eba83a212c4c1567fcb81370e8bf9add32fd23cc9ea2a5a8692a840d316c44ab7a550bd4349b3
diff --git a/dev-python/annotated-types/annotated-types-0.5.0.ebuild b/dev-python/annotated-types/annotated-types-0.5.0.ebuild
new file mode 100644
index 000000000000..7dbe43adc16f
--- /dev/null
+++ b/dev-python/annotated-types/annotated-types-0.5.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Reusable constraint types to use with typing.Annotated"
+HOMEPAGE="
+ https://github.com/annotated-types/annotated-types/
+ https://pypi.org/project/annotated-types/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ test? (
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/annotated-types/metadata.xml b/dev-python/annotated-types/metadata.xml
new file mode 100644
index 000000000000..1aaeb086b3f8
--- /dev/null
+++ b/dev-python/annotated-types/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">annotated-types/annotated-types</remote-id>
+ <remote-id type="pypi">annotated-types</remote-id>
+ </upstream>
+</pkgmetadata>