dev-python/python-dsv: Drop old

Package-Manager: portage-2.3.2
This commit is contained in:
Pacho Ramos
2016-11-29 21:34:31 +01:00
parent e0080102e0
commit b276ca0401
2 changed files with 0 additions and 45 deletions

View File

@@ -1,16 +0,0 @@
--- a/DSV/DSV.py
+++ b/DSV/DSV.py
@@ -134,6 +134,13 @@
os.putenv('LANG', 'C')
try:
+ import wxversion
+ wxversion.select("2.8")
+except Exception, e:
+ print >> sys.stderr, "%s: wxPython 2.8 not installed." %e
+ sys.exit(1)
+
+try:
from wxPython import wx, grid
except ImportError:
wx = None

View File

@@ -1,29 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 eutils
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:2.8[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
S=${WORKDIR}/DSV-${PV}
python_prepare_all() {
epatch "${FILESDIR}"/${P}-wxversion.patch
distutils-r1_python_prepare_all
}