From 79599515788b85b18aa655e7b7f8cc05c1bbddd8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Feb 2019 12:59:29 +0000 Subject: gentoo resync : 16.02.1018 --- dev-python/pycapnp/Manifest | 3 +++ dev-python/pycapnp/files/sdist.patch | 13 ++++++++++++ dev-python/pycapnp/pycapnp-0.6.4.ebuild | 36 +++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 dev-python/pycapnp/files/sdist.patch create mode 100644 dev-python/pycapnp/pycapnp-0.6.4.ebuild (limited to 'dev-python/pycapnp') diff --git a/dev-python/pycapnp/Manifest b/dev-python/pycapnp/Manifest index 195861bfa80a..b21dc231647d 100644 --- a/dev-python/pycapnp/Manifest +++ b/dev-python/pycapnp/Manifest @@ -1,5 +1,8 @@ +AUX sdist.patch 437 BLAKE2B 772ad2962f35c470496d2d13ccababa442183e12df2274c207bc9944e889c14aa72c27c90512dcdda7941ebe68324f706ffd033a39fff2e89ae0f757becdcb28 SHA512 1036fa52cc7df49740d9c4cb06f4fbdce52c2de9181d44559ef4182e6f469d0236bc8d0103576516826b78a0e1d6a841a89d15e1b2283a8fd2099b205fc0b222 DIST pycapnp-0.6.2.tar.gz 455092 BLAKE2B 5cdffde0a88398328f6e6908caf4ea2c3626a4a4d47100973a2bb3ae0e10406734354e40afe60f7d4861c79534e05bee6aeecfee4ffeca50ef7e24101ca4a08d SHA512 6656ce4a67e38fc301fb4dd7e80daea3a7551e01589b11c8fd7aea0d4af7638387fecd712c968f549ff596bf64caca6bdf7add20fbd14396a92e49ac3ce47188 DIST pycapnp-0.6.3.tar.gz 455075 BLAKE2B ad4ccb7e4c83ed686a419ac97652b50853e4377a4d59579fd276b89c60c7f2a0235c73da711288ca4843c5277925dedab8bd4ddaa4d84e8615d9aeed325521fe SHA512 e125af41d46ca32f94cf548b778f554587074ee59993f4a5bf243b66650976c2c219ca572094daa51f3718272dd9e3529e27bda85dc52d2a644ead8e16b6e02c +DIST pycapnp-0.6.4.tar.gz 531404 BLAKE2B 035e0f37292275af8d5e292cb98f85f3d40ffe6284c0defecdb6d0c79afac97e4570e0042c0be6716a992ab904b844c9f046c5795b97cd8b7dd7625af1b2b219 SHA512 3f2c9d93bcf226fb39ef233b8b5fbc86af73d796986e82b897a571db5d8223fb4f65cc28a8bf4ed57b787b6e5defdca70388ac865f036daff48d6d6f93cbbfc3 EBUILD pycapnp-0.6.2.ebuild 632 BLAKE2B 59a2b92092b4a432a2fb4318705c00cd4cd75cfffac548ed7789be527553ea532288038d46152ee95514fcabe4346b8c7cea5a66033d513d2aeb9e557855de1a SHA512 db976db02a0a39e2e303cfa7c358ff9f26492eecff886b9592255f46bdf816382a42afef06c144d34544185f33bed59e48a49da5037c11617dd67be35819c885 EBUILD pycapnp-0.6.3.ebuild 632 BLAKE2B 04acbdc34e242a55d652c1cae625a98dc1d2ac2767a86fee29d580e96c26c0aebca3189121b1db41d1b8b949f58f9c6499fb3be22393b4120b1bbccc0e4b8f34 SHA512 61ae68d9bd273e235d1fa46744470d0c3042189ac59bf02608579dd6f4dcc7b77028633678d0b537bb1bb265704f3bdfb279b19debf3d43b675608d5d9dd4334 +EBUILD pycapnp-0.6.4.ebuild 806 BLAKE2B aba2ce0378cc738f117911c2442c4232404bb58da747a46f041285fabe590d0097642b142a17e1e22170961f316109373573f7b03a1a0e92d1a059475f62fbbe SHA512 3c129e6df55d758918b572d0876aa227de9e0b724b377f3d440b7b72c227a6876e6eb1c5f8c7b292fdc090dac79b5b776f0dde1e4fd5d49b80e22cf6df0aafd5 MISC metadata.xml 514 BLAKE2B 0294a7ef4293cdef64d7a287cc824e81b4c22b75ea1e7c2f770c756a56c5c251610e006bf63a28b549527b99b9cc958a5535d43a1c822d9ad724c45f1113e5bd SHA512 10bc088e1650bfa18b74023ba1cd5fd78618051febe89be2756ba0aa706cd695ca98548096392a60a38c94ab168660f347c6e73e2789c32acf7eb927de7d2923 diff --git a/dev-python/pycapnp/files/sdist.patch b/dev-python/pycapnp/files/sdist.patch new file mode 100644 index 000000000000..e4ef16ec5699 --- /dev/null +++ b/dev-python/pycapnp/files/sdist.patch @@ -0,0 +1,13 @@ +Index: pycapnp-0.6.4/setup.py +=================================================================== +--- pycapnp-0.6.4.orig/setup.py ++++ pycapnp-0.6.4/setup.py +@@ -49,7 +49,7 @@ try: + changelog = '\nChangelog\n=============\n' + changelog + long_description += changelog + except (IOError, ImportError): +- if sys.argv[2] == 'sdist': ++ if len(sys.argv) > 2 and sys.argv[2] == 'sdist': + raise + long_description = '' + diff --git a/dev-python/pycapnp/pycapnp-0.6.4.ebuild b/dev-python/pycapnp/pycapnp-0.6.4.ebuild new file mode 100644 index 000000000000..2eb401e85b86 --- /dev/null +++ b/dev-python/pycapnp/pycapnp-0.6.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) + +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}] +" +PATCHES=( "${FILESDIR}/sdist.patch" ) + +src_prepare() { + distutils-r1_src_prepare + # regen cython files + rm -f capnp/lib/capnp.cpp || die + + # Need c++14 for capnp 0.7 + sed -e 's/std=c++11/std=c++14/g' \ + -i setup.py \ + -i buildutils/detect.py \ + -i capnp/*/* \ + || die +} -- cgit v1.2.3