summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-05-24 13:05:08 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-05-24 13:07:16 +0200
commit98ccc7d063db5a65915d994c9a2683c9e76493be (patch)
tree2c4b5e852718c91fcb3a43d3974c5f5f109098c2 /dev-python/pycapnp/pycapnp-0.5.12.ebuild
parentdev-libs/capnproto: Bump to 0.6.0 (diff)
downloadgentoo-98ccc7d063db5a65915d994c9a2683c9e76493be.tar.gz
gentoo-98ccc7d063db5a65915d994c9a2683c9e76493be.tar.bz2
gentoo-98ccc7d063db5a65915d994c9a2683c9e76493be.zip
dev-python/pycapnp: Fix build with capnproto 0.6
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python/pycapnp/pycapnp-0.5.12.ebuild')
-rw-r--r--dev-python/pycapnp/pycapnp-0.5.12.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-python/pycapnp/pycapnp-0.5.12.ebuild b/dev-python/pycapnp/pycapnp-0.5.12.ebuild
index 95802eec8db6..4fb238062a91 100644
--- a/dev-python/pycapnp/pycapnp-0.5.12.ebuild
+++ b/dev-python/pycapnp/pycapnp-0.5.12.ebuild
@@ -20,3 +20,11 @@ RDEPEND="dev-libs/capnproto"
DEPEND="${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
"
+
+PATCHES=( "${FILESDIR}/capn06.patch" )
+
+src_prepare() {
+ distutils-r1_src_prepare
+ # regen cython files
+ rm -f capnp/lib/capnp.cpp || die
+}