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 577C81382C5 for ; Thu, 7 Jan 2021 09:16:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96985E0919; Thu, 7 Jan 2021 09:16:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 2DBDDE0919 for ; Thu, 7 Jan 2021 09:16:19 +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 4BB33340C15 for ; Thu, 7 Jan 2021 09:16:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DAEB493 for ; Thu, 7 Jan 2021 09:16:15 +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: <1610010966.f9fcf363c0ec0d6ef3ed74365365ae859d9be39b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/snappy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/snappy/Manifest dev-python/snappy/snappy-0.6.0.ebuild X-VCS-Directories: dev-python/snappy/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f9fcf363c0ec0d6ef3ed74365365ae859d9be39b X-VCS-Branch: master Date: Thu, 7 Jan 2021 09:16:15 +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: 189c5b32-b299-452b-ada2-7d87ae71c704 X-Archives-Hash: 32bdc10bea7b85f638dd9dd5bdeb1af2 commit: f9fcf363c0ec0d6ef3ed74365365ae859d9be39b Author: Michał Górny gentoo org> AuthorDate: Thu Jan 7 09:02:00 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jan 7 09:16:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9fcf363 dev-python/snappy: Bump to 0.6.0 Signed-off-by: Michał Górny gentoo.org> dev-python/snappy/Manifest | 1 + dev-python/snappy/snappy-0.6.0.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/dev-python/snappy/Manifest b/dev-python/snappy/Manifest index a354f60ae45..92766f356ce 100644 --- a/dev-python/snappy/Manifest +++ b/dev-python/snappy/Manifest @@ -1 +1,2 @@ DIST python-snappy-0.5.1.tar.gz 15252 BLAKE2B eede689d51123968bdea64b8c89dc1fcb7f700fcd4e5869339717657ea6db88cacfcdaf59f00899773c65953c16ae271c5a6e03d6a17be16ca1e3dddf2b37cd3 SHA512 95a6389c58790aaeff61419bb9f183a29ad801733cae8144a67eb6203a8ebf6c6790bea7c025b37588dc98ebd2fed20f37857d2f30199f507f52653d2475c16b +DIST python-snappy-0.6.0.tar.gz 21344 BLAKE2B ed5b3796a6af9b2196a1cd5353cefb808a878b324d2eae6f83fca12400365c069ed38ad50d790d6201ae9584128371a655ac2003708d324fe227e0153ddaca5d SHA512 185f43fa3adef2a5ec7468f993b83d356dbd76b3340badd308ff2350352b004c4c9528b73282407ebc4f6e1c23a03c1b9abd9f3915b04771ad9b011d7163a63c diff --git a/dev-python/snappy/snappy-0.6.0.ebuild b/dev-python/snappy/snappy-0.6.0.ebuild new file mode 100644 index 00000000000..62f6618db87 --- /dev/null +++ b/dev-python/snappy/snappy-0.6.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +MY_PN=python-${PN} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python library for the snappy compression library from Google" +HOMEPAGE="https://pypi.org/project/python-snappy/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +SLOT="0" + +DEPEND=">=app-arch/snappy-1.0.2:=" +RDEPEND=${DEPEND} + +python_test() { + cp test*.py "${BUILD_DIR}" || die + cd "${BUILD_DIR}" || die + "${EPYTHON}" -m unittest -v || die "Tests fail with ${EPYTHON}" +}