mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-24 20:48:31 -07:00
dev-python/python-dsv: Drop old
Package-Manager: portage-2.3.2
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user