commit:     dc822b01fbf03a429b1b9d3457134695bcb6a790
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  4 14:28:53 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun  4 14:34:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc822b01

dev-python/annotated-types: New package, v0.5.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/annotated-types/Manifest                |  1 +
 .../annotated-types/annotated-types-0.5.0.ebuild   | 27 ++++++++++++++++++++++
 dev-python/annotated-types/metadata.xml            | 13 +++++++++++
 3 files changed, 41 insertions(+)

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>pyt...@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>

Reply via email to