diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-python/QtPy | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-python/QtPy')
-rw-r--r-- | dev-python/QtPy/Manifest | 4 | ||||
-rw-r--r-- | dev-python/QtPy/QtPy-1.4.2.ebuild | 4 | ||||
-rw-r--r-- | dev-python/QtPy/QtPy-1.9.0.ebuild | 31 |
3 files changed, 36 insertions, 3 deletions
diff --git a/dev-python/QtPy/Manifest b/dev-python/QtPy/Manifest index 2c6520fb5be6..fc4abc5a4d57 100644 --- a/dev-python/QtPy/Manifest +++ b/dev-python/QtPy/Manifest @@ -1,3 +1,5 @@ DIST QtPy-1.4.2.tar.gz 27471 BLAKE2B d70de67944a4019031b52cd3f6c588261537a74ce8b968d9577b016d18767e3e2b6981dae983573bd1644949b13ee271a10beaef9a371ac41b3cd1b9cb506cb2 SHA512 eb8a059f110f3262ab62f8198019b9826a5b834da62e59791fb3a6c235eb797291e4f180b31704d7d61811791e5b245a05b57fc385de358480561508e3b29a4d -EBUILD QtPy-1.4.2.ebuild 1063 BLAKE2B 8caf6f72e1da759c30a963a4e5f74d46ca09c7f70e86bebcd15ae9d16e8499242e1e75538a972e7b27a0a07e1e421962109c715ff34c9899d9ee3b2e45225a90 SHA512 abedccd9814fd3c1b7ab1ce873df111e2feb5d4cae0ef011fbd66222a822f317128f97272b44e192cf3793b7bf49741c8906c87f3969134f7cb79e9f0563b793 +DIST QtPy-1.9.0.tar.gz 35522 BLAKE2B 05b700c1f804cc535c3065c8f819d1d7fb0e02d43f199082d2e0d2c575ff8dbfdbf0053ddb3b155108cf55350ff4daf75166ab39a60374a35a86a1707724a4a1 SHA512 2492c531f0df3afc9e0f8875a2b2e39cc8b09542fb9f251900b8596c0db7767390bb85365cc39efd6cd37ae852a00655354e6f9f3d795023e4fd86dbf8bd5fa7 +EBUILD QtPy-1.4.2.ebuild 1061 BLAKE2B e9c98cee21e6afd616934d7bb62855fc0770171a231ab874b80a5cc3384cf2b3bed8f5ea61018aeff7d96b8dba81e9f12ef015f74f66a963396da10a5971c37e SHA512 2be59409b66b18cf15d02a3f6ac5db9d5c709d0924d234bb11183a9f5dcc83f2e10c22edd88c9f504b7986a20a0acd7965c4ee6479bfd15d0f9439bbd4869607 +EBUILD QtPy-1.9.0.ebuild 939 BLAKE2B 8004d11a8cb8cb73d6f0e1da6e5918437feb12365c38624f1653c58a49fd357dfb2eb78ab83123e576159ccb78abbf4551aec1410ae96a3c0717c619b593140a SHA512 686a66ffa14d2f26b63c421249b29ff1ecac6338a69db702ce43251bfe652eb615ee01e400abf9d2373e419bb6f3409a04f5cf16a6889dc919e95da8c507fe23 MISC metadata.xml 1338 BLAKE2B 7eee8e39324b18bd84a076882dc539fe2e18f38ec68a539ab40968a3a6023ac0cdfc6899305df0ef0c7561409ca81526d474a1154fb645dccdffdb0779282b12 SHA512 08a2e0b2d0aaecaf91bffb82dbba9d24d4b4753801610102db08c3e29b3ff51f1bd6d46f9c2a706f4b9a887be781a97ead1c753631717f82cd44080d44b67c4c diff --git a/dev-python/QtPy/QtPy-1.4.2.ebuild b/dev-python/QtPy/QtPy-1.4.2.ebuild index 08987abc73d5..fcb713ba467d 100644 --- a/dev-python/QtPy/QtPy-1.4.2.ebuild +++ b/dev-python/QtPy/QtPy-1.4.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +PYTHON_COMPAT=( python2_7 python3_{6,7} ) inherit distutils-r1 DESCRIPTION="Abstraction layer for PyQt5/PySide" diff --git a/dev-python/QtPy/QtPy-1.9.0.ebuild b/dev-python/QtPy/QtPy-1.9.0.ebuild new file mode 100644 index 000000000000..85c3f572b63e --- /dev/null +++ b/dev-python/QtPy/QtPy-1.9.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Abstraction layer for PyQt5/PySide" +HOMEPAGE="https://github.com/spyder-ide/qtpy" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="designer gui opengl svg testlib webkit webengine" + +RDEPEND=" + dev-python/PyQt5[${PYTHON_USEDEP},designer?,opengl?,svg?,webkit?] + gui? ( dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets] ) + testlib? ( dev-python/PyQt5[${PYTHON_USEDEP},testlib] ) + webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] )" + +src_prepare() { + default + + sed -i -e "s/from PyQt4.Qt import/raise ImportError #/" qtpy/__init__.py || die + sed -i -e "s/from PySide import/raise ImportError #/" qtpy/__init__.py || die + sed -i -e "s/from PySide2 import/raise ImportError #/" qtpy/__init__.py || die +} |