mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-python/typing: Drop old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST typing-3.5.2.2.tar.gz 51101 BLAKE2B ef31e854c37ca59cd1b5d0b457658eae82376cdc4c3302c4e0da54c0da2d703cc3c6fa5608c7ebfcc46487226ea332ea8cb70cdbda4c440ffc3470d941ff95aa SHA512 38d8899cf7ccfc86299ea59a234a80a7938ff9e78d84a9593befd163959ee90af3201dfd495e172904bc6423919b338bee470d166e9c41d9697662c27ed2fbc8
|
||||
DIST typing-3.5.3.0.tar.gz 60350 BLAKE2B 56b59ce3e38f0d17aed88b3e47c89383798c5d7f781c65d8f7a960ae11c16c30837254b1b1f198116ea9bc748b93faf672844661b0c811b07961c3e814811228 SHA512 e1930de61cbb0b49ebeec49b87ce3a60752ed062ebf44ff2c5becf2e19a22726d08607ce6723b5b4e633190d8a9686176d44f7672c44bd246acb8e367c5d3c37
|
||||
DIST typing-3.6.2.tar.gz 78726 BLAKE2B 80adf3cab2c37ce36bd33d14e475ed07918ec80ebb5bc68a820abe06dc862fe6b38e1a90f9bb3d37420b311cb4a32af871ae2ff72807daa8c1a334b6cbbe4d2a SHA512 a975980e7ba6ec3e15c938336877071785bec7212443da079770348ab9441c8d918cd806e85ebea8af66a5d94f684566ea07b55e7623ab11e7d922c8c3dfe981
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Type Hints for Python"
|
||||
HOMEPAGE="https://docs.python.org/3.5/library/typing.html"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
if [[ ${EPYTHON} == python2* || ${EPYTHON} == pypy ]]; then
|
||||
cp "${S}"/python2/test_typing.py . || die
|
||||
else
|
||||
cp "${S}"/src/test_typing.py . || die
|
||||
fi
|
||||
|
||||
"${EPYTHON}" test_typing.py || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Type Hints for Python"
|
||||
HOMEPAGE="https://docs.python.org/3.5/library/typing.html"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~ppc ~ppc64 ~sparc x86 ~x64-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
if [[ ${EPYTHON} == python2* || ${EPYTHON} == pypy ]]; then
|
||||
cp "${S}"/python2/test_typing.py . || die
|
||||
else
|
||||
cp "${S}"/src/test_typing.py . || die
|
||||
fi
|
||||
|
||||
"${EPYTHON}" test_typing.py || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user