From 67b35c487add5931a71e4bd80a258190cf0ec1b1 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Wed, 19 Feb 2025 11:10:33 +0100 Subject: [PATCH] dev-python/mypy_extensions: new package, add 1.0.0 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/mypy_extensions/Manifest | 3 ++ dev-python/mypy_extensions/metadata.xml | 16 ++++++++++ .../mypy_extensions-1.0.0.ebuild | 29 +++++++++++++++++++ 4 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 dev-python/mypy_extensions/Manifest create mode 100644 dev-python/mypy_extensions/metadata.xml create mode 100644 dev-python/mypy_extensions/mypy_extensions-1.0.0.ebuild diff --git a/README.md b/README.md index 4e1b94f73..de352e91a 100644 --- a/README.md +++ b/README.md @@ -606,11 +606,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E ## Licenses This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted. -There are 2348 Ebuilds in total, 2334 of them have in total 2374 (43 different) licenses assigned. +There are 2349 Ebuilds in total, 2335 of them have in total 2375 (43 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1334| +|MIT|1335| |Apache-2.0|553| |GPL-3|145| |BSD|124| diff --git a/dev-python/mypy_extensions/Manifest b/dev-python/mypy_extensions/Manifest new file mode 100644 index 000000000..e59d5312a --- /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 577 BLAKE2B d98d96406ed95131120ffda21f34c0443abb846ae06539dc376b87e8fd137732df46f398b49e003521e01029c1dfcdf146bfc9026c44519259898e06bb280b41 SHA512 1bec3e92ac4521e201aeaafb6b630be8a5b58e9984d9417f489e0ce9af09879800178af8ae06849a78880fdb33c1b8f9e57c0598535db50623e788897713d230 +MISC metadata.xml 533 BLAKE2B 6438c92fc1d6d833cca25e5cfd1eae2a9b1b7b05cabf697f8237160d5c0766b1899a28e179bd6fd40ac4bd4f71106c9b293e5b5738c02e58e06d281e3f4a5886 SHA512 86c33c5233e7db0d5abd706bcb339a2cd3f23d03aea557e2242dc7f4033d9d0f4064c1691b007073fc753a7e68f2a7d85d7386a883676fe02711622fa0ab1ae4 diff --git a/dev-python/mypy_extensions/metadata.xml b/dev-python/mypy_extensions/metadata.xml new file mode 100644 index 000000000..dca7a5c33 --- /dev/null +++ b/dev-python/mypy_extensions/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + mypy-extensions + python/mypy_extensions + + jukka.lehtosalo@iki.fi + The mypy developers + + + 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 000000000..9b4f54322 --- /dev/null +++ b/dev-python/mypy_extensions/mypy_extensions-1.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +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 + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" + +distutils_enable_tests pytest + +python_test() { + epytest tests/*.py +}