dev-python/pycapnp: bump to 0.6.2
authorAlexis Ballier <aballier@gentoo.org>
Mon, 4 Dec 2017 22:01:24 +0000 (23:01 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 4 Dec 2017 22:01:42 +0000 (23:01 +0100)
Package-Manager: Portage-2.3.16, Repoman-2.3.6

dev-python/pycapnp/Manifest
dev-python/pycapnp/pycapnp-0.6.2.ebuild [new file with mode: 0644]

index c5e0150669e56c8681288109c8ffb96767de66bc..c3df1cbe6010868955e4b7f2e4d232e451f6a27a 100644 (file)
@@ -1 +1,2 @@
 DIST pycapnp-0.6.1.tar.gz 454873 BLAKE2B 5b8eeb90a371ccafed7dbeee9a44b1f4ee1173daeeac139a67c4e97484df689a581ebb2c5783dd4657964bc83fdcb02c67231a350b149cafc77d348ee4218247 SHA512 a1bf209626effa9970da3b6492bf4b2b73585ef0f3ac0c8e8634071fe74631dae09a94671dd835d3c7934d697c25631b0d8227b3b23150609476e7c699efbfc9
+DIST pycapnp-0.6.2.tar.gz 455092 BLAKE2B 5cdffde0a88398328f6e6908caf4ea2c3626a4a4d47100973a2bb3ae0e10406734354e40afe60f7d4861c79534e05bee6aeecfee4ffeca50ef7e24101ca4a08d SHA512 6656ce4a67e38fc301fb4dd7e80daea3a7551e01589b11c8fd7aea0d4af7638387fecd712c968f549ff596bf64caca6bdf7add20fbd14396a92e49ac3ce47188
diff --git a/dev-python/pycapnp/pycapnp-0.6.2.ebuild b/dev-python/pycapnp/pycapnp-0.6.2.ebuild
new file mode 100644 (file)
index 0000000..8147a63
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python wrapping of the Cap'n Proto library"
+HOMEPAGE="http://jparyani.github.io/pycapnp/ https://github.com/capnproto/pycapnp"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+IUSE=""
+
+RDEPEND=">=dev-libs/capnproto-0.6:="
+DEPEND="${RDEPEND}
+       dev-python/cython[${PYTHON_USEDEP}]
+"
+
+src_prepare() {
+       distutils-r1_src_prepare
+       # regen cython files
+       rm -f capnp/lib/capnp.cpp || die
+}