From 4e37fe6965f084cd83b4e12d251cdb98fa605a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Tue, 10 Nov 2020 11:57:02 +0300 Subject: [PATCH] =?UTF-8?q?dev-python/typing-python2:=20=D0=BF=D0=B5=D1=80?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=D1=81=20=D0=BF=D0=B0=D0=BA=D0=B5=D1=82=D0=B0?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20python2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...uild => m2crypto-python2-0.36.0-r1.ebuild} | 4 +-- dev-python/typing-python2/Manifest | 1 + dev-python/typing-python2/metadata.xml | 11 +++++++ .../typing-python2-3.7.4.3.ebuild | 30 +++++++++++++++++++ 4 files changed, 43 insertions(+), 3 deletions(-) rename dev-python/m2crypto-python2/{m2crypto-python2-0.36.0.ebuild => m2crypto-python2-0.36.0-r1.ebuild} (95%) create mode 100644 dev-python/typing-python2/Manifest create mode 100644 dev-python/typing-python2/metadata.xml create mode 100644 dev-python/typing-python2/typing-python2-3.7.4.3.ebuild diff --git a/dev-python/m2crypto-python2/m2crypto-python2-0.36.0.ebuild b/dev-python/m2crypto-python2/m2crypto-python2-0.36.0-r1.ebuild similarity index 95% rename from dev-python/m2crypto-python2/m2crypto-python2-0.36.0.ebuild rename to dev-python/m2crypto-python2/m2crypto-python2-0.36.0-r1.ebuild index ad93a7c53..c38a89326 100644 --- a/dev-python/m2crypto-python2/m2crypto-python2-0.36.0.ebuild +++ b/dev-python/m2crypto-python2/m2crypto-python2-0.36.0-r1.ebuild @@ -23,9 +23,7 @@ RDEPEND=" !dev-python/m2crypto[python_targets_python2_7] !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) - $(python_gen_cond_dep ' - dev-python/typing[${PYTHON_USEDEP}] - ' -2) + dev-python/typing-python2 " DEPEND="${RDEPEND}" BDEPEND=" diff --git a/dev-python/typing-python2/Manifest b/dev-python/typing-python2/Manifest new file mode 100644 index 000000000..ff33b98cd --- /dev/null +++ b/dev-python/typing-python2/Manifest @@ -0,0 +1 @@ +DIST typing-3.7.4.3.tar.gz 78592 BLAKE2B a47991466db75729620e180d230917cb32158475804b294d2ca956544c575323765bb9d2fd87e723fb8a6c79db4c0c83387fc45fe31f8c55a802bcebe793b997 SHA512 01d3d33bf3264a8929242d58ffa3b6a897a9ce23cb84858871146ed516a6ef2fc222d3001bb5197276da1a374ae243f0ceab0325ae8675ef0ffb76df5065ae1e diff --git a/dev-python/typing-python2/metadata.xml b/dev-python/typing-python2/metadata.xml new file mode 100644 index 000000000..a7c1d6201 --- /dev/null +++ b/dev-python/typing-python2/metadata.xml @@ -0,0 +1,11 @@ + + + + + maintainer-wanted + + + + typing + + diff --git a/dev-python/typing-python2/typing-python2-3.7.4.3.ebuild b/dev-python/typing-python2/typing-python2-3.7.4.3.ebuild new file mode 100644 index 000000000..044861170 --- /dev/null +++ b/dev-python/typing-python2/typing-python2-3.7.4.3.ebuild @@ -0,0 +1,30 @@ +# 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 + +MY_PN=typing +MY_P=$MY_PN-$PV +DESCRIPTION="Type Hints for Python" +HOMEPAGE="https://docs.python.org/3/library/typing.html https://pypi.org/project/typing/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_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="" +RESTRICT="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="!dev-python/${MY_PN}[python_targets_python2_7]" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_install_all() { + distutils-r1_python_install_all + rm -r ${D}/usr/share +}