dev-python/python-dsv: Apply Debian patches also fixing wxpython3 compat (#601178)

Package-Manager: portage-2.3.2
This commit is contained in:
Pacho Ramos
2016-11-29 21:34:07 +01:00
parent 3466d1bb37
commit e0080102e0
6 changed files with 530 additions and 2 deletions

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="Python module for importing and exporting DSV files"
HOMEPAGE="http://python-dsv.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/DSV-${PV}.tar.gz"
LICENSE="CNRI"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-python/wxpython:3.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/DSV-${PV}"
PATCHES=(
# From Debian
"${FILESDIR}"/${P}-env.patch
"${FILESDIR}"/${P}-unicode.patch
"${FILESDIR}"/${P}-wx-namespace.patch
"${FILESDIR}"/${P}-wxpython30.patch
)