dev-python/typing-extensions: add typing-extensions-4.4.0

This commit is contained in:
2022-10-09 23:28:07 +02:00
committed by Andreas Billmeier
parent bef4d76fc3
commit e2c8b9ae94
4 changed files with 47 additions and 3 deletions

View File

@@ -538,12 +538,12 @@ 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 1938 Ebuilds in total, 1931 of them have in total 1943 (35 different) licenses assigned.
There are 1940 Ebuilds in total, 1933 of them have in total 1945 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1172|
|Apache-2.0|363|
|Apache-2.0|364|
|GPL-3|120|
|BSD|106|
|LGPL-3|30|
@@ -559,6 +559,7 @@ There are 1938 Ebuilds in total, 1931 of them have in total 1943 (35 different)
|LGPL-2.1+|4|
|MPL-2.0|3|
|LGPL-2+|3|
|PSF-2|3|
|BSD-4|3|
|GPL-2+|3|
|AGPL-3+|2|
@@ -566,7 +567,6 @@ There are 1938 Ebuilds in total, 1931 of them have in total 1943 (35 different)
|ISC|2|
|NEWLIB|2|
|CC-BY-NC-SA-3.0|2|
|PSF-2|2|
|EPL-2.0|2|
|ECL-2.0|1|
|Boost-1.0|1|

View File

@@ -0,0 +1,3 @@
DIST typing_extensions-4.4.0.gh.tar.gz 50027 BLAKE2B 4cb757eadcfce85842dc5625e620f01f8fda00fe3712d5895d8b0aa07a9e649cd20f9f820cb2801e3b34c84c1d3b79d5e71fc49cd37014924825b6cdef0152c7 SHA512 1c046e6dab22fb399acf7ab8771d035aa24c88b09cbd023e80a41cd04851c5f8b1d297275012e933658e963e008b073b8d3815f5703042545b57130daa38f143
EBUILD typing-extensions-4.4.0.ebuild 694 BLAKE2B 08ff67ba53dcd92c49617135350f0306a7694d589f8a6cf05f369f3fb8d5f628a7d031dfc116cea267aab418d934d81d70c319bd270ee2883265253ffd7226d1 SHA512 18dfefda5e70cbb72a3c16a9e15aa1bac9b43294a8d9e788011ffdb775bbc91d350b92067eb6d35704e6310891d7aa408014c43b97a406c3221ecbd1f3a5ac08
MISC metadata.xml 511 BLAKE2B 9b74b84063c87eabd5fd6dc933224690cc1144e2068d6f032e4ad3869d89dd2c35237bd48a536cd08b1926f516e22518d6271c543465874de3e838f4310171dc SHA512 92a7b7151489373af748f0abe0da2b844b1013182c20ec3aa2f2d5c5fe7550de8f0864d6dd1a839d4aeb1f41d2d619c17b29231e3ba952d0b0c9c0f2647ab066

View File

@@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">typing-extensions</remote-id>
<maintainer status="unknown">
<name>"Guido van Rossum, Jukka Lehtosalo, Lukasz Langa, Michael Lee</name>
<email>levkivskyi@gmail.com</email>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
MY_P=${P/-/_}
DESCRIPTION="Backported and Experimental Type Hints for Python 3.7+"
HOMEPAGE="https://pypi.org/project/typing-extensions/ https://github.com/python/typing_extensions/"
SRC_URI="https://github.com/python/typing_extensions/archive/${PV}.tar.gz -> ${MY_P}.gh.tar.gz"
S=${WORKDIR}/${MY_P}
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
DOCS="README.md"
python_test() {
cd "${S}"/src || die
"${EPYTHON}" test_typing_extensions.py -v || die "tests failed under ${EPYTHON}"
}