diff options
author | Rémi Cardona <remi@gentoo.org> | 2015-12-20 23:15:25 +0100 |
---|---|---|
committer | Rémi Cardona <remi@gentoo.org> | 2015-12-22 08:33:26 +0100 |
commit | a19acb722825e935716ba8cdb7b914ed9f93b899 (patch) | |
tree | 428f740f92c11f0bbf93a705ad1594615ac0e8fc /dev-python/yapps/yapps-2.2.0-r1.ebuild | |
parent | sys-auth/consolekit: herd->maintainer (diff) | |
download | gentoo-a19acb722825e935716ba8cdb7b914ed9f93b899.tar.gz gentoo-a19acb722825e935716ba8cdb7b914ed9f93b899.tar.bz2 gentoo-a19acb722825e935716ba8cdb7b914ed9f93b899.zip |
dev-python/yapps: Add patches to fix python3 support
Grabbed from https://github.com/smurfix/yapps/pull/2
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/yapps/yapps-2.2.0-r1.ebuild')
-rw-r--r-- | dev-python/yapps/yapps-2.2.0-r1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/yapps/yapps-2.2.0-r1.ebuild b/dev-python/yapps/yapps-2.2.0-r1.ebuild new file mode 100644 index 000000000000..6b385a51d2ff --- /dev/null +++ b/dev-python/yapps/yapps-2.2.0-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +MY_PN="Yapps" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="An easy to use parser generator" +HOMEPAGE="https://github.com/smurfix/yapps" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-Don-t-capture-sys.stderr-at-import-time.patch" + epatch "${FILESDIR}/${PN}-Convert-print-statements-to-python3-style-print-func.patch" +} |