1
0
Fork 0

Version bump

ahead of main tree
(unsubmitted)
This commit is contained in:
Horea Christian 2018-10-07 04:33:31 +02:00
parent 9d31c4b1b7
commit 4aa8b74b29
3 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST wxpython-4.0.3.tar.gz 68545642 SHA256 8d0dfc0146c24749ce00d575e35cc2826372e809d5bc4a57bde6c89031b59e75 SHA512 911dd98d15b0cbc2551f1b22a21fdae4450656ca59cc93216b7c6a8a00e399b929b78484637992d78cecffb098b8d8dc408c24795549827e2f90ce42740c3bf9 WHIRLPOOL 816126c9d37e3f3d3c2ca11e3e7f4aeed027afc0b3d3fb51b2115d4d73aa98f2ef897e6d16b1dfe80333ab5f84de90a0a42b41676607b90a0ce1edb9e68f60be

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>wxwidgets@gentoo.org</email>
<name>Gentoo wxWidgets Project</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<use>
<flag name="examples">Install interactive demo module browser and sample applets.</flag>
</use>
<upstream>
<remote-id type="sourceforge">wxpython</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,61 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
WX_GTK_VER="3.0"
inherit distutils-r1 wxwidgets
P_HASH="bd55ab40e406a026a7fda0bb5eb61f466682544ae91ac26267c750f5e618"
MY_PN="wxPython"
DESCRIPTION="A blending of the wxWindows C++ class library with Python"
HOMEPAGE="http://www.wxpython.org/"
SRC_URI="https://files.pythonhosted.org/packages/dd/31/${P_HASH}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="wxWinLL-3"
SLOT="3.0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pypubsub[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/twine[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/pip[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${MY_PN}-${PV}"
python_prepare_all() {
if use test; then
# Errors reported upstream: https://github.com/wxWidgets/Phoenix/issues/1025
sed -i \
-e "/class GetAutoCompleteListTestCase(GetAttributeTestCase):/i@unittest.skip('Known to fail')" \
-e "/class GetAttributeNamesTestCase(GetAttributeTestCase):/i@unittest.skip('Known to fail')" \
wx/py/tests/test_introspect.py || die
fi
distutils-r1_python_prepare_all
}
python_test() {
distutils-r1_install_for_testing
cd "${BUILD_DIR}/lib/wx/py/tests" || die
${EPYTHON} -m unittest discover || die
}