diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-python/mypy | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-python/mypy')
-rw-r--r-- | dev-python/mypy/Manifest | 11 | ||||
-rw-r--r-- | dev-python/mypy/mypy-0.700.ebuild | 4 | ||||
-rw-r--r-- | dev-python/mypy/mypy-0.701.ebuild | 4 | ||||
-rw-r--r-- | dev-python/mypy/mypy-0.740.ebuild | 4 | ||||
-rw-r--r-- | dev-python/mypy/mypy-0.750.ebuild | 4 | ||||
-rw-r--r-- | dev-python/mypy/mypy-0.760.ebuild | 73 |
6 files changed, 88 insertions, 12 deletions
diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index 162702260b3d..d026c651d029 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -2,12 +2,15 @@ DIST mypy-0.700.tar.gz 1413962 BLAKE2B 6739960bdb5984115b4bd84ec3ca63e6b7a4c4494 DIST mypy-0.701.tar.gz 1413988 BLAKE2B e705a1da6af8c68b9226d67acaf7976951ff5ddfe926f52cf51f70be59e75cd12cf303aad98e136ee342487c07e1273d0ca8ea582621552924c40ee725e6c01d SHA512 6dde048c211d1dd8f3c02af9500d5151588810d9989528ec4bee0ccbb5a8636fc4e03a373b80d177ca0937c0c92e0ffad1faf82b23db22248b782ec6812e3c1a DIST mypy-0.740.tar.gz 1916030 BLAKE2B ef2259fbfa24baa7dc28ed4818c988f5708d1f0be8665e97c5be231fe43f6edfeaf7f8cb4a6f05a8051b95b9457752238f044890686fdad9dce2e3fcf7f1a67f SHA512 f583be8bcb05d8f2c772f7d416bb425590263d759a719de67dc1186d0a1a8178a0c5461f90811c7799b06a49df820c98a3e369b3fcc4b045703d38084eafd0fe DIST mypy-0.750.tar.gz 1976988 BLAKE2B 46c008debb2d0f1757d4cc300adba53460c7e888650e9798c526bc55f16cdd79d0b9e5a52f1c5a45b4114446d3724211a513f3e4c98bd85c9e8e3f94587b6ba0 SHA512 6fbfb45296abd3d390d6fe97a39a63129cc1555645da9b4d81f08c6da5c4f45640690fbb7957a6c52144c06106e4148d3cfc244e5648b006c58445a3c49d0c63 +DIST mypy-0.760.tar.gz 1986638 BLAKE2B a52be64ae23d6a0d5c29301599a10114f6260f665d658b93b387a2f9c120fe186940591dfc7479fea4160d2bebd8950dcf67a1c21bd7ed4c6d08093235f2107a SHA512 e4dc38741a8f446095e63ba734cf26440b1ebb0761f35553d0eb79bb58bedb00c0b04b8d2a2b845c39ab8fc418868dab89a5a19668c6862bf763609d37946eba 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 DIST mypy-typeshed-0.750-8df632b.tar.gz 494170 BLAKE2B cea871eee0e7f8e3bb0ea5bddf9936ac30dbc57b483a2b9927bd4e824d797ecb96c1dd9e9a9cbe59f76c3d5616ebeb28f8b60a2a8a2f3f048cd710612eb0b2e7 SHA512 409ec4de49322ab87cb3e146e654132bc8f217559b48b662e3ab4335a171d744f29d5dacd375bd0ead17c59fa07a398be61c8ab2f3d4fe2649a46348df371968 -EBUILD mypy-0.700.ebuild 1851 BLAKE2B 50eeb23460d2b99629b430ba77a21e80838b9d28313bccbf5a97eb06d34f5fedf65fbd32d4e3c06afc73c15988c6058d9e9b4767136ac55ebb65e28330c63c35 SHA512 77ea15c21bc27579297707d1439f1844dcc51a90d19bbc528e139718731888427f30a7baa9a8dbd55c785b15b6f57e76cf07f87302aa523e5a8579b6eaa7e017 -EBUILD mypy-0.701.ebuild 1723 BLAKE2B 0c69abf69b342eb08ffff874213ec8d2ba9d07d6774a94a536b60f6ce80c0bd39ae818249cd87f9d2d1ebd7cff01b47f6e84a3e423461e5ef11af4597e879ae7 SHA512 7a959df1970f8b22d03990fe8d14858ec4e7a2de504c5a5c913e3a0a1b33581830bcc86e5402a631c4ab8a36ea7649cfc97b6464d6764c08a9a8ca4e42bf654f -EBUILD mypy-0.740.ebuild 1731 BLAKE2B b1ec87f155cce5691d246e2161b3e8e2b6631b7e4ee9f93becb7671b3b9c134db434cafd5b600a1ae207706cd26bf33a3f2dbdd35b0666a537ca75694d14f430 SHA512 db827fe1ed3ce73efb1fdb6c5ca4d90ac8c394d2224caea874ca6a8d123a9a15c0aff50e505a74aeec34b01a66225bedbbafe5170cdf7a47d7deab8d390f3ac9 -EBUILD mypy-0.750.ebuild 1731 BLAKE2B ac587fdc193da8e6df49ef5b5130a12a48aa1ac123b7ef6a929d7ea2f4928b6de5b62e874e278581a99bd2aa746b40b8f9fc86e594aa148322dcf3da6f339e20 SHA512 8ff2ab46be54b9de7256c4b02b78de613737a0ffe5e9cf136d6f282fd63a2c09fd9bd7275356a45f6861f358df251ba7e8469cc87e359d3dc4b9a3bfc47c976e +DIST mypy-typeshed-0.760-a06abc5.tar.gz 498726 BLAKE2B 9a2b3621806101cab009ac38e73c8683fba2789cad55da0a6739afd37bfb3ac4d8ea4e6b9cb9ba154a6fd45790f8dfda9e921d98485305c244573adf745d2adf SHA512 82559a91cc482f0cbd0cf5042d5975de21abc143708605a08c54088ee9ce3c9f52607ed3c00950442f4f526fd57f9ad4ada12a4f2acfb383759ac05f2be1a0a4 +EBUILD mypy-0.700.ebuild 1849 BLAKE2B a3133fc49865d45587764dab24e1b53c1a8d35f0067a2effdbb7aa0342f9c21da0f33d5cb6b9f15ddcf4d62587d35199e59907e2997036fd22bc4c5a90db8d12 SHA512 82208c6eab45ac01f638177068cb008d72fe3a7183363e9a9f1e27105b2ae0aba24c11f19280700b7e269cdd86e619c5a948eef8de0f5a7ba4574e5bd114c39d +EBUILD mypy-0.701.ebuild 1721 BLAKE2B f1d188c4ac3e81afb48303a7409cb9278bc2e35c3b09987d69d596022d51ebd530eaecd60c60639a8bd11d858fb234c3719aff6aaef7d55d8aeb65e0bf29b00c SHA512 9dc0221dacf37f3fef700796afe61a77cdfc9df1988a10c990c3b6f5d2369a153d7e855b853c55a6b15d267badca2cc3bbf5398fdd033076707d4518587c7c33 +EBUILD mypy-0.740.ebuild 1729 BLAKE2B a1cefa65268a94b0b89571be9b6590f052212673372ab02a18993c39559e7dd21ca9a87c8f708b844cc10cecdd81bc9e2709848491de14a65f01af027fb9dc1c SHA512 1a0160f1a6144595619d65b519cb540151e4e264ba73c541a0aad1c7f00b04a2ec4357bc1fca9e9a321a3d92ef6b8ae0ab0b7c20518d26a3fc45334360d573b6 +EBUILD mypy-0.750.ebuild 1729 BLAKE2B 8acd886b3274fc24c6eae8ef4e385c5911fdcc8d6134fecbb886905a68af62a07821c163d5567cf39a24d8f7690c0c435834ca570bb1e940d8c79c4c18f0a0b0 SHA512 b9a3c315fd27328dece09a61406626ff021ce1c1c1d35e6f494a92b84ac3a59124690ea6bb1e7f62985f9050a6db5e7779c7d5447098a9086eb1d7b23aa799c1 +EBUILD mypy-0.760.ebuild 1718 BLAKE2B 0355c2827cc5cc6c3d2277dd41d997e86d5612c059252a518f59d51aebad9a649b405908372d860aa3d7ded21fd77f80066c8a36b2199cffda106fac2fe4edd0 SHA512 dc0e940d95a17f5cd4da0c57eb8956a4d76c4c0c91c57717a4b0ada1833559f398c25e68b0ec2bc31516cd0f9bbab704068475b7c43e042de06f586af8abb3e8 MISC metadata.xml 318 BLAKE2B 26aeab57c568a3ebc431f846d61405428034bf9cf8333e5f52f43ec68d51fbbc2cb71deef622c07291312f63f46f29007ba4b02c21e90b4af3db039a43fda4ed SHA512 9e3c8432730d94d7ad9c65ccd1a48d7afc1b43662097f0844048ad107e81ba30e03bea99f64ee8a4171ff0504f1ff04d8d9a84407f414ff228cecadcb80c7c43 diff --git a/dev-python/mypy/mypy-0.700.ebuild b/dev-python/mypy/mypy-0.700.ebuild index 05da31d847a9..5a3823cfae3d 100644 --- a/dev-python/mypy/mypy-0.700.ebuild +++ b/dev-python/mypy/mypy-0.700.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python3_{5,6,7} ) +PYTHON_COMPAT=( python3_{6,7} ) if [ "${PV}" == "9999" ]; then inherit distutils-r1 git-r3 diff --git a/dev-python/mypy/mypy-0.701.ebuild b/dev-python/mypy/mypy-0.701.ebuild index 8930f1f8dee8..b79da77926da 100644 --- a/dev-python/mypy/mypy-0.701.ebuild +++ b/dev-python/mypy/mypy-0.701.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python3_{5,6,7} ) +PYTHON_COMPAT=( python3_{6,7} ) if [ "${PV}" == "9999" ]; then inherit distutils-r1 git-r3 diff --git a/dev-python/mypy/mypy-0.740.ebuild b/dev-python/mypy/mypy-0.740.ebuild index 59d0673680bb..f6c5002eac3a 100644 --- a/dev-python/mypy/mypy-0.740.ebuild +++ b/dev-python/mypy/mypy-0.740.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python3_{5,6,7} ) +PYTHON_COMPAT=( python3_{6,7} ) if [ "${PV}" == "9999" ]; then inherit distutils-r1 git-r3 diff --git a/dev-python/mypy/mypy-0.750.ebuild b/dev-python/mypy/mypy-0.750.ebuild index 05d2fa5711c7..50f7863fb76a 100644 --- a/dev-python/mypy/mypy-0.750.ebuild +++ b/dev-python/mypy/mypy-0.750.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python3_{5,6,7} ) +PYTHON_COMPAT=( python3_{6,7} ) if [ "${PV}" == "9999" ]; then inherit distutils-r1 git-r3 diff --git a/dev-python/mypy/mypy-0.760.ebuild b/dev-python/mypy/mypy-0.760.ebuild new file mode 100644 index 000000000000..e4d8e799828d --- /dev/null +++ b/dev-python/mypy/mypy-0.760.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +if [ "${PV}" == "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/python/${PN}" + SRC_URI="" +else + TYPESHED_COMMIT="a06abc5" + 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-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 +} |