remove olds: mypy

This commit is contained in:
Andreas Billmeier 2022-03-19 21:10:45 +01:00 committed by Andreas Billmeier
parent b919125edc
commit 411b9ca3c4
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
5 changed files with 2 additions and 153 deletions

View File

@ -496,11 +496,11 @@ From time to time a fresh compile test on empty boxes (one with Python 3.9 and o
## 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 1752 Ebuilds in total, 1744 of them have in total 1751 (34 different) licenses assigned.
There are 1750 Ebuilds in total, 1742 of them have in total 1749 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1062|
|MIT|1060|
|Apache-2.0|316|
|GPL-3|105|
|BSD|100|

View File

@ -1,6 +0,0 @@
DIST mypy-0.790.zip 2431919 BLAKE2B 51d6e93c4023025bd7720f5ab41195e3aa3d3ebce797c43485ed2df197d38d25275a97a041629407a306b7b636af7217fe3629911965a6cad098b4ebe5870416 SHA512 865fae439443c7796082a86e897a5c860e148e8747c6ebc34f0eb354484b992c388bc32b12c703d941766450f41afa29cee4909ef3d6c931e717c541460ebd2e
DIST mypy-0.902.tar.gz 2549241 BLAKE2B ba8bce0434b08c379907f96f22c030048ff8c45f426eb4a6b6951059974bd3f35b5e6bc759b9b6ff0237d43811d01181e58ea2cf919fda3e2649c37825d86134 SHA512 b896d5a614982d60dbeffadf56a5faff3d809c4d2af299fc658a67c09c3f36cab961d8516d38ea682227d9a06613a3aff7bb041ba1346354b81ec1187316d258
DIST mypy-typeshed-0.790-58ee9c0.tar.gz 588345 BLAKE2B 1b6911f38b89549843a5d95d6d69bbfb505e8979aa123bbfcdfb046b3ad3da1ddfa79605e2c0d5404a726dc9cb190b2c221f2a9ea8a23c3f91bbdd44bc775b9d SHA512 711324a5d7cfcd54a07698a52416f70aa67b52cb3282cbbf64a2760874cc00110428be311db5fd4cfabcc9fc3ca4452c1382f2307c11fe396c27f72a15797e3b
EBUILD mypy-0.790.ebuild 2083 BLAKE2B 34a91246b7475d2a793269502e6c8f2533655d6057f727b7ef6ff7a3f138de520736012f54a16597565d059c5d9838ac4041fc51852e75fbe4ce0527d32e159a SHA512 d58fcff7b3625263d3b4d79088c4b9ab8cf20cac2a6566584322b43f6b097a4967f8ebc8696ab40bc6046e7d064050d11cb4239dd0f5adc3cf362772e1849cd6
EBUILD mypy-0.902.ebuild 1450 BLAKE2B 16ca5da758fe4677008d9b509f548575cc2f904ed8c9db871f8e6a631b7bd9cdaf0c5618c3a1fff263c32ae14c5a116f36f87b6fe4cd253c76d71fafe09e3ea5 SHA512 c417cc857a6129cdd00245e9262caae2cce3b24cd3118fcba4aaa344b56ce2e744e627261e461417083577d7585eb642adcc7fba64a870cbb886c4cf42c60446
MISC metadata.xml 454 BLAKE2B 932219fbce42dca57af572b0c3a6d541adbc8ea5b52d4823d3744bb698660544c19aacc8f5fbbabbad85625b26e2670bf03f9e828c46fe6aba3b50b2616beea0 SHA512 fcdc27b48eba35950d4b97454637b896eb14f8e0f8e8b01ec1f9126e2adbe6d08034942ffa77ade3c9bd50d1939afee6369c4d12d4a7c1867f4c92beabe10993

View File

@ -1,15 +0,0 @@
<?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">mypy</remote-id>
<maintainer status="unknown">
<email>jukka.lehtosalo@iki.fi</email>
<name>Jukka Lehtosalo</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -1,80 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
if [ "${PV}" == "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/python/${PN}"
SRC_URI=""
else
TYPESHED_COMMIT="58ee9c0"
SRC_URI="https://github.com/python/${PN}/archive/v${PV}.zip -> ${P}.zip
https://api.github.com/repos/python/typeshed/tarball/${TYPESHED_COMMIT} -> mypy-typeshed-${PV}-${TYPESHED_COMMIT}.tar.gz"
fi
DESCRIPTION="Optional static typing for Python"
HOMEPAGE="https://www.mypy-lang.org/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/flake8[${PYTHON_USEDEP}]
>=dev-python/pytest-3.0[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-2.4.0[${PYTHON_USEDEP}]
>=dev-python/psutil-5.4.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.1.1[${PYTHON_USEDEP}]
>=dev-python/py-1.5.2[${PYTHON_USEDEP}]
>=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}] )
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
)
"
CDEPEND="
!dev-util/stubgen
>=dev-python/psutil-4[${PYTHON_USEDEP}]
>=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
<dev-python/typed-ast-1.5.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
>=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
<dev-python/mypy_extensions-0.5.0[${PYTHON_USEDEP}]
"
RDEPEND="${CDEPEND}"
RESTRICT="!test? ( test )"
src_unpack() {
if [ "${PV}" == "9999" ]; then
git-r3_src_unpack
else
unpack ${A}
rmdir "${S}/mypy/typeshed"
mv "${WORKDIR}/python-typeshed-${TYPESHED_COMMIT}" "${S}/mypy/typeshed"
fi
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
local PYTHONPATH="$(pwd)"
"${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/build/html/. )
distutils-r1_python_install_all
}

View File

@ -1,50 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="Optional static typing for Python"
HOMEPAGE="http://www.mypy-lang.org/"
TYPESHED_COMMIT="add4d92f050fb11d3901c6f0ee579a122d4a7a98"
SRC_URI="
https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
# stubgen collides with this package: https://bugs.gentoo.org/585594
RDEPEND="
!dev-util/stubgen
>=dev-python/psutil-4[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
>=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
<dev-python/mypy_extensions-0.5.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/attrs-18.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
>=dev-python/py-1.5.2[${PYTHON_USEDEP}]
>=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
)
"
distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
distutils_enable_tests pytest
# this requires packaging a lot of type stubs
export MYPY_USE_MYPYC=0
python_test() {
# Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
# fail with high COLUMNS values
local -x COLUMNS=80
epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
}