dev-python/pycapnp: Remove old

Package-Manager: Portage-2.3.16, Repoman-2.3.6
This commit is contained in:
Alexis Ballier
2017-12-04 22:58:52 +01:00
parent a39cf55434
commit 95cf31f2c5
3 changed files with 1 additions and 61 deletions

View File

@@ -1,2 +1 @@
DIST pycapnp-0.5.12.tar.gz 454294 SHA256 b71a0e71512796e993a5724457d77f36ea21528cf1ca59fc6c7036c8cf61dea3 SHA512 c4344aa30a8b3b0ad7c28c2fe151e7d3c2866910c10a4b96881e5ecf352bc8331dfeff4e0ea8d50cb680eb3013b53ebd4a6dcfb07491cc5292329d9a26c80e29 WHIRLPOOL ef36bcb90f5c7b2175706a11a2f59df3b31a578f7bb61c4480af7c14d2b39721520a1a61484e4365a8dcc9880d02f237d2427ac0282b4371c7da7b656310d594
DIST pycapnp-0.6.1.tar.gz 454873 SHA256 ea60837533307849e98bb3494555cea28a52ea0c301cfdf32bce661931940696 SHA512 a1bf209626effa9970da3b6492bf4b2b73585ef0f3ac0c8e8634071fe74631dae09a94671dd835d3c7934d697c25631b0d8227b3b23150609476e7c699efbfc9 WHIRLPOOL 0aafef6db12d39d16816d19c730015736e6e9440a1f4ae383ba0d7cfbe608f034fb65c84103feaff0231160e448dbd224bae0c7c3682e99293314cf6dcb880c1
DIST pycapnp-0.6.1.tar.gz 454873 BLAKE2B 5b8eeb90a371ccafed7dbeee9a44b1f4ee1173daeeac139a67c4e97484df689a581ebb2c5783dd4657964bc83fdcb02c67231a350b149cafc77d348ee4218247 SHA512 a1bf209626effa9970da3b6492bf4b2b73585ef0f3ac0c8e8634071fe74631dae09a94671dd835d3c7934d697c25631b0d8227b3b23150609476e7c699efbfc9

View File

@@ -1,29 +0,0 @@
Index: pycapnp-0.5.12/capnp/includes/capnp_cpp.pxd
===================================================================
--- pycapnp-0.5.12.orig/capnp/includes/capnp_cpp.pxd
+++ pycapnp-0.5.12/capnp/includes/capnp_cpp.pxd
@@ -100,8 +100,10 @@ cdef extern from "kj/array.h" namespace
ctypedef Promise[PyArray] PyPromiseArray
cdef extern from "kj/time.h" namespace " ::kj":
+ cdef cppclass Unsafe_:
+ Unsafe_()
cdef cppclass Duration:
- Duration(int64_t)
+ Duration(int64_t, Unsafe_)
# cdef cppclass TimePoint:
# TimePoint(Duration)
cdef cppclass Timer:
Index: pycapnp-0.5.12/capnp/lib/capnp.pyx
===================================================================
--- pycapnp-0.5.12.orig/capnp/lib/capnp.pyx
+++ pycapnp-0.5.12/capnp/lib/capnp.pyx
@@ -1688,7 +1688,7 @@ cdef class _Timer:
return self
cpdef after_delay(self, time) except +reraise_kj_exception:
- return _VoidPromise()._init(self.thisptr.afterDelay(capnp.Duration(time)))
+ return _VoidPromise()._init(self.thisptr.afterDelay(capnp.Duration(time, capnp.Unsafe_())))
def getTimer():
return _Timer()._init(helpers.getTimer(C_DEFAULT_EVENT_LOOP_GETTER().thisptr))

View File

@@ -1,30 +0,0 @@
# 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/"
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}]
"
PATCHES=( "${FILESDIR}/capn06.patch" )
src_prepare() {
distutils-r1_src_prepare
# regen cython files
rm -f capnp/lib/capnp.cpp || die
}