mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
dev-python/typing: Remove last-rited pkg
Closes: https://bugs.gentoo.org/753725 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST typing-3.7.4.3.tar.gz 78592 BLAKE2B a47991466db75729620e180d230917cb32158475804b294d2ca956544c575323765bb9d2fd87e723fb8a6c79db4c0c83387fc45fe31f8c55a802bcebe793b997 SHA512 01d3d33bf3264a8929242d58ffa3b6a897a9ce23cb84858871146ed516a6ef2fc222d3001bb5197276da1a374ae243f0ceab0325ae8675ef0ffb76df5065ae1e
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">typing</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Type Hints for Python"
|
||||
HOMEPAGE="https://docs.python.org/3/library/typing.html https://pypi.org/project/typing/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# broken on PyPy, unclear if CPython behavior is not a bug
|
||||
# https://github.com/python/typing/issues/671
|
||||
sed -i -e 's:test_new_no_args:_&:' python2/test_typing.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if python_is_python3; then
|
||||
cd "${S}"/src || die
|
||||
else
|
||||
cd "${S}"/python2 || die
|
||||
fi
|
||||
|
||||
"${EPYTHON}" test_typing.py -v || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
@@ -414,11 +414,6 @@ media-plugins/kodi-game-libretro-bnes
|
||||
<media-plugins/kodi-visualization-waveform-4.2
|
||||
<media-plugins/kodi-visualization-shadertoy-2.1
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (2020-11-09)
|
||||
# Python 2 backport. Last revdep masked.
|
||||
# Removal in 30 days. Bug #753725.
|
||||
dev-python/typing
|
||||
|
||||
# Alexys Jacob <ultrabug@gentoo.org> (2020-11-09)
|
||||
# Mask dev-db/mongodb versions which do not support python3 so we
|
||||
# can move forward in cleaning python2 from tree. Bug #708954.
|
||||
|
||||
Reference in New Issue
Block a user