typing-extensions fix uncommon underscore MY_P=-
This commit is contained in:
parent
c1888b6f2e
commit
615f47faf0
2
dev-python/typing-extensions/Manifest
Normal file
2
dev-python/typing-extensions/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST typing_extensions-3.6.6.tar.gz 32610 BLAKE2B f03cc6ed7e075cc07b77b5ae518424ae58074ef732b08b8d2ef7a2ff5a1362ee467635545cba2b2a72acd22fcfbbdedef0736b8a2f8ca7304bf0f9bab2e21867 SHA512 732c19e0a768d50fc939cdf5dc46919aebaee2b51cf37cf794663778476b0a9a09a130bd4cbee542483147cd189e65420c11d09fb9b565aa4ca1dd0f8a22c2a3
|
||||
EBUILD typing-extensions-3.6.6.ebuild 950 BLAKE2B 6d82821e813630e34c5b4b3d9ee52d2be7b4bc7e94fced9f0927417ff38e0316af37cf187c336a4b9c4a7c80933265c6dcf937c5526f965ab32857a64549b065 SHA512 ee6fd334281acd0c5b3270b52b2bbc8402750d76b3f1375a08864173a62a51cf4e20ecb85497e84dd8f0663ef5e1c839974fb3bcd22ac2f50006e605e527438b
|
||||
34
dev-python/typing-extensions/typing-extensions-3.6.6.ebuild
Normal file
34
dev-python/typing-extensions/typing-extensions-3.6.6.ebuild
Normal file
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${PN/-/_}-${PV}
|
||||
DESCRIPTION="Backported and Experimental Type Hints for Python 3.5+"
|
||||
HOMEPAGE="https://github.com/python/typing/blob/master/typing_extensions/README.rst https://pypi.org/project/typing-extensions/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
#SRC_URI="https://files.pythonhosted.org/packages/fc/e6/3d2f306b12f01bde2861d67458d32c673e206d6fcc255537bf452db8f80c/typing_extensions-3.6.6.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${REDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user