diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /dev-python/mypy | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
Diffstat (limited to 'dev-python/mypy')
-rw-r--r-- | dev-python/mypy/Manifest | 3 | ||||
-rw-r--r-- | dev-python/mypy/mypy-0.740.ebuild | 71 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index 53729adfcdb8..7d98935ade04 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -6,6 +6,7 @@ DIST mypy-0.660.tar.gz 1274856 BLAKE2B da59dbae31df1c2c8530fddf44f02d608cc9019c9 DIST mypy-0.670.tar.gz 1376917 BLAKE2B 1c7de26e48d91a1dd8b007607e6e8989e6b622eb62ad98b3c575faef1373ba510acba546977d26984689c5cd245ea341022ae68209d498d8bac78b01760daa24 SHA512 1fb994410acb3ae3ef6c4380f1b76d2f65790fa7822067dfd75eb34d0336547f85810e475563c797dca268de35b1594217cb3edfe32033eb012d121a3a2e6406 DIST mypy-0.700.tar.gz 1413962 BLAKE2B 6739960bdb5984115b4bd84ec3ca63e6b7a4c4494c48fcde8bab4b3679814e3ffdbe1319a4c0e221e3cab6521d95568839ded58c29dc6f2528d15d684e3c870d SHA512 934adaaf8ef48a843c8cce159502a2d4ca9697cf44bfd9a1c0f77e05da9bfb75ec099819e5543a4bc2492c670ee1f1f843df82746aaf7573776006d7dc6b57b0 DIST mypy-0.701.tar.gz 1413988 BLAKE2B e705a1da6af8c68b9226d67acaf7976951ff5ddfe926f52cf51f70be59e75cd12cf303aad98e136ee342487c07e1273d0ca8ea582621552924c40ee725e6c01d SHA512 6dde048c211d1dd8f3c02af9500d5151588810d9989528ec4bee0ccbb5a8636fc4e03a373b80d177ca0937c0c92e0ffad1faf82b23db22248b782ec6812e3c1a +DIST mypy-0.740.tar.gz 1916030 BLAKE2B ef2259fbfa24baa7dc28ed4818c988f5708d1f0be8665e97c5be231fe43f6edfeaf7f8cb4a6f05a8051b95b9457752238f044890686fdad9dce2e3fcf7f1a67f SHA512 f583be8bcb05d8f2c772f7d416bb425590263d759a719de67dc1186d0a1a8178a0c5461f90811c7799b06a49df820c98a3e369b3fcc4b045703d38084eafd0fe DIST mypy-typeshed-0.570.tar.gz 413076 BLAKE2B 774a6d07308228c379a5deec2ee36a498863a1386181b47ceb8783537afdb75bc0fb4893b07cf8cf7bf5bfe977babbdc44a6420784e2cba6ce94346175858573 SHA512 e9afb2fe841fa82ed264a73a1ce6c1c0fede42008042a34cf21f1e39aabaa8f1cd945861aa9e80a86f61f1dd6a362892b25a1c5469915fbca95406e72740ba6d DIST mypy-typeshed-0.590.tar.gz 413076 BLAKE2B 774a6d07308228c379a5deec2ee36a498863a1386181b47ceb8783537afdb75bc0fb4893b07cf8cf7bf5bfe977babbdc44a6420784e2cba6ce94346175858573 SHA512 e9afb2fe841fa82ed264a73a1ce6c1c0fede42008042a34cf21f1e39aabaa8f1cd945861aa9e80a86f61f1dd6a362892b25a1c5469915fbca95406e72740ba6d DIST mypy-typeshed-0.600-2dc7d39.tar.gz 425045 BLAKE2B e2ef63f2ed988f77f52e2a01c158ff8e3fbdec118c1f613ffe6c57d025da8d5bcf6dc0e6bcbc1bb8655fbf340a0f358535d7e1ed214a5a1af8e3188f2dde5459 SHA512 9c960c2dcb2cd5ed36d77efa47a5632698e841b685386f8d5a31200c61235b68d627fc450d070955ab14962d6a70a2d538929e2dc845512e83161c0299d91807 @@ -14,6 +15,7 @@ DIST mypy-typeshed-0.660-f343150.tar.gz 456324 BLAKE2B b7a0f7e3da84b4be8c4cfdb43 DIST mypy-typeshed-0.670-3eb66ba.tar.gz 462981 BLAKE2B 9e321e71637edf6b7b08bdad3ffe76798aec2ad9ff7be0d1649e29ae7543536a6a6d413d9bd9bc4b15e164500e95ee3ba2ad58abc8f984499493c4753dd39337 SHA512 2b3d59451caaf4779c6543cee70461afd9a95b809ba5db7b0fc43e02711d8c4b28c98f680d9ddb9f0c01dcfb5011b6626fe746187c47e737d87689245da9344a DIST mypy-typeshed-0.700-f7c00b8.tar.gz 467098 BLAKE2B f10c9c6b3cfe9bc8518950839c2bb00d22521b6696a155cf721d34aac46205a8415f569d566f20ce865a44c23e5935748e5e488aff22950fbdd12bad4e679a42 SHA512 88e1ca3bc88f349a26cbd97303398de270eaf9332432b0402d7b44794cadbca86612df98ff1abed2a146450df760278946cb8eecc660f3dd5e00439c60807362 DIST mypy-typeshed-0.701-36b28e5.tar.gz 466822 BLAKE2B 6a1e2ae84250d6e51649aab9b1c65f4258533bc54ba470162ad4c4e894d6c73f32a9087fea3501f5b833069c717e6037dd848a514c5ea2880eca081337962806 SHA512 27fe5dda347903ac8fc925c7bc7d91ff0bac6421315a49fc8227f5ef8f476e6bcacafd07b87f80ee8dddc73009dc2f52fe6a57fd542283fcf2c52440ca09256e +DIST mypy-typeshed-0.740-eca9375.tar.gz 480468 BLAKE2B 7c31e59e93303feced9730e505101641874c61cba1c68a5083c412b1e5ae50d704d69b77b23b0a54b33c8788b7a0c1cc519fbf8eb923e9124b3facfdee1f782f SHA512 53abd0aa58f58c6d3a4b4260d21053b5ab528dc1c736072942967bf21903cfea0105d92662693ca69bd7e795db481454705b57d8daf26a37728633a3c7173a3f EBUILD mypy-0.570.ebuild 1558 BLAKE2B 1ad1aaeade920ca6881464e62a446bc17faff14e41eab767977f3cc181892d9349b73169639e3234215edc80b02916c900e001917a60e64fef5e03d204ee32d8 SHA512 e2c0bd5ed2f77d1b9b3cffadb1522e9ebf78953ec9c172bc71f831cdc7b125974a3b051cd08339c5d5397635f3ab169e49c2703a18e6702c57c1e144d02f918d EBUILD mypy-0.590.ebuild 1558 BLAKE2B 1ad1aaeade920ca6881464e62a446bc17faff14e41eab767977f3cc181892d9349b73169639e3234215edc80b02916c900e001917a60e64fef5e03d204ee32d8 SHA512 e2c0bd5ed2f77d1b9b3cffadb1522e9ebf78953ec9c172bc71f831cdc7b125974a3b051cd08339c5d5397635f3ab169e49c2703a18e6702c57c1e144d02f918d EBUILD mypy-0.600.ebuild 1577 BLAKE2B fff5f2f4efac6e2c6cab22a9539a4117d67090b85d5f3b72f96721aeb90068b3398049a7c83ba736c446985753f80d4aa88de2403633b689ee7ad15ee3116211 SHA512 b3b471cd70711d43e90548bf8c17fd3d8ede706bd39ad896f4b50b14d6890d8c64f6fd7159992edeeb59c85b4326140ba8c7deeb4122c244f54e312f91f05abb @@ -22,4 +24,5 @@ EBUILD mypy-0.660.ebuild 1823 BLAKE2B 3f82e348c8f6179a40cc49468d9a1c59e2c98a6526 EBUILD mypy-0.670.ebuild 1823 BLAKE2B 037ba694acb544fff2f5f6c602e302d2e4348fad705acc19ebd0b8ca1dd6c326c686a86a403182afb3e8ab19f0d2eeca64244fb2ee2d69e194bd8ca87abccc5c SHA512 7f44a70ec9e0b4a4a97bd8a657aa7fa9a2e5d15c71bca119c09f129adb04ef02173697a12efa38da7442eed9a222c84621610d96dc2691d505f84a5948419bce EBUILD mypy-0.700.ebuild 1823 BLAKE2B 7f0efc2bd69373bc10872089728dbe2606d9754f43a54542f944dc1188a65293e9ed67a321def99340ba7d3bcb8aa79aacdfe578c87e19416f9405041b48f685 SHA512 74f225f3cf4f3b8ccfdade61706582571bb1b35eafb11d5fb86c1a723a535047d662cbff30da76efabbc1321ed5a1881a782d735c285002f076803daa98ddecf EBUILD mypy-0.701.ebuild 1695 BLAKE2B 5ec584dae0b7450b897a03abe200d733e386a9882d4b5e1c5bf977621a8a8dbc8bfd1453eca610d782215e28badaf70539b3a53e146313e9e11377b933df62d0 SHA512 25abd179cea08fbe49f7b8369d98b9212e876da04ca753dac98766ed907837bb1f97edbc63d71f856ebd3a09aaa4ffa4bf79e634201b25727961d516a1062c11 +EBUILD mypy-0.740.ebuild 1751 BLAKE2B c30b02e8c07590e097aad67ab30a3e9724bbc1d458260327c0bd9ee86f53819814703e66210865133e6021d0d55a87cb2f52b3371852867e11ac19de9f4532ef SHA512 3387af4ab9c8b0f8c22509f720d3bb3fb39920d8f6d2f486d18583b048ce43e031233daa2d79c859a3b461bff5ca5396a26bb9480653cadf1f41ac4ef36bc921 MISC metadata.xml 318 BLAKE2B 26aeab57c568a3ebc431f846d61405428034bf9cf8333e5f52f43ec68d51fbbc2cb71deef622c07291312f63f46f29007ba4b02c21e90b4af3db039a43fda4ed SHA512 9e3c8432730d94d7ad9c65ccd1a48d7afc1b43662097f0844048ad107e81ba30e03bea99f64ee8a4171ff0504f1ff04d8d9a84407f414ff228cecadcb80c7c43 diff --git a/dev-python/mypy/mypy-0.740.ebuild b/dev-python/mypy/mypy-0.740.ebuild new file mode 100644 index 000000000000..548803e201f8 --- /dev/null +++ b/dev-python/mypy/mypy-0.740.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{5,6,7} ) + +if [ "${PV}" == "9999" ]; then + inherit distutils-r1 git-r3 + EGIT_REPO_URI="https://github.com/python/${PN}" + SRC_URI="" +else + inherit distutils-r1 + TYPESHED_COMMIT="eca9375" + SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + 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="http://www.mypy-lang.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/flake8[${PYTHON_USEDEP}] ) + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) +" +CDEPEND=" + !dev-util/stubgen + >=dev-python/psutil-5.4.0[${PYTHON_USEDEP}] + <dev-python/psutil-5.5.0[${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.0[${PYTHON_USEDEP}] + <dev-python/mypy_extensions-0.5.0[${PYTHON_USEDEP}] + " + +RDEPEND="${CDEPEND}" + +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 +} |