Commits

Laurent Bachelier committed 196b843

jsonpipe: Remove stupid argparse and exact version requirement

  • Participants
  • Parent commits 9452270

Comments (0)

Files changed (2)

File sys-apps/jsonpipe/jsonpipe-0.0.8-r1.ebuild

+# Copyright 2011-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+DESCRIPTION="Convert JSON to a UNIX-friendly line-based format."
+HOMEPAGE="https://github.com/dvxhouse/jsonpipe
+http://pypi.python.org/pypi/jsonpipe"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=dev-python/simplejson-2.1.3
+virtual/python-argparse
+>=dev-python/calabash-0.0.3"
+
+src_prepare() {
+	sed -i "s/'argparse>=1.1', //" setup.py
+	sed -i "s/calabash==/calabash>=/" setup.py
+}

File sys-apps/jsonpipe/jsonpipe-0.0.8.ebuild

-# Copyright 2011-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_DEPEND="2:2.5"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-
-inherit distutils
-
-DESCRIPTION="Convert JSON to a UNIX-friendly line-based format."
-HOMEPAGE="https://github.com/dvxhouse/jsonpipe
-http://pypi.python.org/pypi/jsonpipe"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=dev-python/simplejson-2.1.3
-virtual/python-argparse
->=dev-python/calabash-0.0.3"