forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.16, Repoman-2.3.6
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |