From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3EF1F138239 for ; Sat, 19 Dec 2020 08:59:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8FED3E0884; Sat, 19 Dec 2020 08:59:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 76335E0884 for ; Sat, 19 Dec 2020 08:59:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 223153410C1 for ; Sat, 19 Dec 2020 08:59:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 948871F9 for ; Sat, 19 Dec 2020 08:59:50 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1608368383.09036045189d0b99c53e786531e7cbd8c3f49f03.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/msgpack/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/msgpack/Manifest dev-python/msgpack/msgpack-1.0.2.ebuild X-VCS-Directories: dev-python/msgpack/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 09036045189d0b99c53e786531e7cbd8c3f49f03 X-VCS-Branch: master Date: Sat, 19 Dec 2020 08:59:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 655a5372-97cf-4c8b-a022-ef3cbc5c6566 X-Archives-Hash: 4c28a0502a72ab1944e9ca4e7b1de60f commit: 09036045189d0b99c53e786531e7cbd8c3f49f03 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 19 07:57:38 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Dec 19 08:59:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09036045 dev-python/msgpack: Bump to 1.0.2 Signed-off-by: Michał Górny gentoo.org> dev-python/msgpack/Manifest | 1 + dev-python/msgpack/msgpack-1.0.2.ebuild | 39 +++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/msgpack/Manifest b/dev-python/msgpack/Manifest index 6a0fd07fa5a..945cb82badc 100644 --- a/dev-python/msgpack/Manifest +++ b/dev-python/msgpack/Manifest @@ -1,3 +1,4 @@ DIST msgpack-0.6.2.tar.gz 119062 BLAKE2B 6b20a0d31b811ae66e66dbfaacec6f0cf2152b2937423b78f3e6244bfa49c87767788c5ee1db41b9020801b8777a4c15b1fe1853182718adf622bc7e1bff858e SHA512 95b92e3d35e0500dd4256d18bf76e586e57cc66319b4459ac5daef599277a5049177a89ad86e291dbdc4c7a918901a89d9218353ddc4a7d0b399e8a98afef363 DIST msgpack-1.0.0.tar.gz 232331 BLAKE2B ab7b3aede06c31e0cf70a7f7fbdf2b1dddd89aa2d5d9847b11117c66a2f4572ac468674cdbcaf79bc571278f02429d223aeeb0ea8cb50c31ad251142642cc05f SHA512 6dc168b111cd37807e8e8a09840d1b116d7f38d56f4622b9d36ab7dbd983ebe2f34e763f48c6348148c6945c9f1c9a0f83f5f03e12d12bc18f7b8e0cbd669f87 DIST msgpack-1.0.1.tar.gz 123151 BLAKE2B 4f040d6e292c588f20043e0091702e9a848d94357784ec7ef7a2ed2d1b5a08cae0bfea4a16cbb67e32b071260f25a43b0507d154ba7f6e180e65a60e3a2b4e9c SHA512 87412cc4022ce7ec82cfe376fbb3c663e5b7a430c2178cacbfe95b35489d95f314bdaf83a6170a7956f42939535ada3c5cbe45c6d7c105410494fe7e9a5cb870 +DIST msgpack-1.0.2.tar.gz 123033 BLAKE2B 8ecf743f5cae536bde9328974827e48376fdfbcaf4d3493fe295a114fd0de4c7dc2629d67a0abf6ece036131715587d2eeaefde0ea9614779a64015ea7fc2be8 SHA512 afe658c2cd5b443aae8fc3305eb3fd56811130062f95e283e3538cba27949d534de60171a927426fedb23b48a938de3f15d77057beda6c73e5204ef1130cd046 diff --git a/dev-python/msgpack/msgpack-1.0.2.ebuild b/dev-python/msgpack/msgpack-1.0.2.ebuild new file mode 100644 index 00000000000..a01a194cd8e --- /dev/null +++ b/dev-python/msgpack/msgpack-1.0.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="MessagePack (de)serializer for Python" +HOMEPAGE="https://msgpack.org + https://github.com/msgpack/msgpack-python/ + https://pypi.org/project/msgpack/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~x64-macos" +IUSE="+native-extensions" + +# extension code is relying on CPython implementation details +BDEPEND=" + native-extensions? ( + $(python_gen_cond_dep '>=dev-python/cython-0.16[${PYTHON_USEDEP}]' 'python*') + ) + test? ( dev-python/six[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # Remove pre-generated cython files + rm msgpack/_cmsgpack.cpp || die + + if ! use native-extensions ; then + sed -i -e "/have_cython/s:True:False:" setup.py || die + fi + distutils-r1_python_prepare_all +}