diff options
Diffstat (limited to 'dev-python/mypy_extensions')
-rw-r--r-- | dev-python/mypy_extensions/Manifest | 4 | ||||
-rw-r--r-- | dev-python/mypy_extensions/mypy_extensions-0.4.1.ebuild | 4 | ||||
-rw-r--r-- | dev-python/mypy_extensions/mypy_extensions-0.4.3.ebuild | 52 |
3 files changed, 57 insertions, 3 deletions
diff --git a/dev-python/mypy_extensions/Manifest b/dev-python/mypy_extensions/Manifest index 8d7fb55e0451..d32e02e4cad4 100644 --- a/dev-python/mypy_extensions/Manifest +++ b/dev-python/mypy_extensions/Manifest @@ -1,3 +1,5 @@ DIST mypy_extensions-0.4.1.tar.gz 3548 BLAKE2B 48ded2fefa384242f7feaabe8be840afa623ec89b53c91c51d403684fdae8c6a25e4f88cc9f30c31537958df551a5da42fdb13b49881266da62006843824cc84 SHA512 e862a17b07d2c922b460012798d27d925cdeed4b8dbe9a1e38cb125df5546ca87039ebf32ad4151820d3444ba729fb0eb01c59576084724eb4ca19c5c2a52ac9 -EBUILD mypy_extensions-0.4.1.ebuild 1040 BLAKE2B 477bd358ba2778a0da888a5cb4e9e8fd9affbf11244c8e27db20e5d7f0a3a4a613343d316f0c1bf682af530d07eb9df96951bc40529dd06ce70248c839e60143 SHA512 a7e4ae81f6522383cec89a3f2aa35338c2fc59ee308be882fdcf9e496f2f91a4d9860d5a0c205904481ebf729cf8e7532a699507bd39a1110618a8164613278a +DIST mypy_extensions-0.4.3.tar.gz 5545 BLAKE2B 8f1f988562390ee1ba3d90cafafec73c6fe080eef6b4321252d3b3aeffebf1ad13bdcae7ae75c69eac7bef91dcf3f846ae7f9a3f2ad6bad9de2bc8cfe5eed29f SHA512 22d8dc538cf6f77d97f4113dd34fce8095dd98944c7613fab2b3e71a3e9b7df1374654af41ead5c934f789ef1b72f54d980ab06f3ca28b8b4c6bb14ba1ca3ce2 +EBUILD mypy_extensions-0.4.1.ebuild 1030 BLAKE2B a39d1bc195dbde421382fe34d27d5985359c03e31323b5df51622ac97fbb89096d78e351744b2aded138d90ec2a05ef5e729143e86232edf7a68f9ebc1560828 SHA512 fa403ab867dbaa172cb247c8c2f180fb5def2f63b486fee2b38ce2665caf400d4503ec17fa7e29a93c54fa3d7f6a4d8cd7cb960ceb7cc82f667ed2422ceef66c +EBUILD mypy_extensions-0.4.3.ebuild 1040 BLAKE2B aabc6d0e793c6847aed2b1aa04095ba1505c58a7478908df93d1b1f5f6d89ef6ed22dce0dae0029e5542f419985a53a936eefd5edd5961bdf58f623f03d9b46b SHA512 e207e0c4deaee2d1bf605a07bf4b11e8aaadf923325e3db5656d967cf6cddc1b98812ec5cc02196f42274159930d59406e5f4d7de946e68ae02cb5c6b804268c MISC metadata.xml 418 BLAKE2B a413884e5865ee7a5ef3fc286911cb613b197aff249a7779d9bcf5c38499faa4b27590534639c4bf57a11c80748d33bf12348e020b1090a3b7c07e773f11c6fc SHA512 dd73868a30b6a1de998c0636037a431ecd9fae5b767be78e4103e2aa8fd2a5dc6c6679a8e082a20508537060f56751616fd53842974b0935817b2b9126ddaf0b diff --git a/dev-python/mypy_extensions/mypy_extensions-0.4.1.ebuild b/dev-python/mypy_extensions/mypy_extensions-0.4.1.ebuild index ec18f4e1cfad..7e051b17bf00 100644 --- a/dev-python/mypy_extensions/mypy_extensions-0.4.1.ebuild +++ b/dev-python/mypy_extensions/mypy_extensions-0.4.1.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 python3_6 python3_7 ) +PYTHON_COMPAT=( python3_6 python3_7 ) inherit distutils-r1 diff --git a/dev-python/mypy_extensions/mypy_extensions-0.4.3.ebuild b/dev-python/mypy_extensions/mypy_extensions-0.4.3.ebuild new file mode 100644 index 000000000000..fb718cfe9e37 --- /dev/null +++ b/dev-python/mypy_extensions/mypy_extensions-0.4.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_6 python3_7 python3_8 ) + +inherit distutils-r1 + +DESCRIPTION="Optional static typing for Python" +HOMEPAGE="http://www.mypy-lang.org/" +SRC_URI="https://github.com/python/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +if [ "${PV}" == "9999" ]; then +inherit git-r3 +EGIT_REPO_URI="https://github.com/python/${PN}" +EGIT_COMMIT="master" +else +EGIT_REPO_URI="${PV}" +fi + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) +" +DEPEND=" + test? ( dev-python/flake8[${PYTHON_USEDEP}] ) + ${RDEPEND} +" + +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 +} |