Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568946 - dev-python/yapps: add patches from upstream pull request
Summary: dev-python/yapps: add patches from upstream pull request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-21 07:19 UTC by Rémi Cardona (RETIRED)
Modified: 2015-12-22 21:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rémi Cardona (RETIRED) gentoo-dev 2015-12-21 07:19:15 UTC
@Python, hi gang,

I'd like to add the 2 patches from https://github.com/smurfix/yapps/pull/2 to our ebuild.

Here's the proposed patch to the ebuild (with a revbump of course):

--- yapps-2.2.0.ebuild	2015-08-14 23:31:22.517225647 +0200
+++ yapps-2.2.0-r1.ebuild	2015-12-21 08:09:02.838665722 +0100
@@ -22,3 +22,8 @@
 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"
+}


Let me know if I may commit this.

Thanks
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-12-21 12:04:47 UTC
sure go ahead.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2015-12-22 21:42:40 UTC
Done, thanks!