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 828FC1382C5 for ; Tue, 1 Dec 2020 23:08:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CECBEE0814; Tue, 1 Dec 2020 23:08:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 B55CDE0814 for ; Tue, 1 Dec 2020 23:08:32 +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 D1B19340CEE for ; Tue, 1 Dec 2020 23:08:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F50F38A for ; Tue, 1 Dec 2020 23:08:30 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1606864101.75eec14cda77354d357710efacf66a8d4839e00c.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyusb/Manifest dev-python/pyusb/pyusb-1.1.0.ebuild X-VCS-Directories: dev-python/pyusb/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 75eec14cda77354d357710efacf66a8d4839e00c X-VCS-Branch: master Date: Tue, 1 Dec 2020 23:08:30 +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: 6917789c-7292-49dc-bb19-14a650357fc9 X-Archives-Hash: 12de50ed420734ce4adcf0846efa29ff commit: 75eec14cda77354d357710efacf66a8d4839e00c Author: Marek Szuba gentoo org> AuthorDate: Tue Dec 1 23:08:02 2020 +0000 Commit: Marek Szuba gentoo org> CommitDate: Tue Dec 1 23:08:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75eec14c dev-python/pyusb: bump to 1.1.0 Tests no longer segfault python, supports python3_9, some cosmetics. Pushed with permission from mgorny on behalf of the Python project. Closes: https://bugs.gentoo.org/645254 Signed-off-by: Marek Szuba gentoo.org> dev-python/pyusb/Manifest | 1 + dev-python/pyusb/pyusb-1.1.0.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest index 6faeb415d20..eb720b30f3c 100644 --- a/dev-python/pyusb/Manifest +++ b/dev-python/pyusb/Manifest @@ -1 +1,2 @@ DIST pyusb-1.0.2.tar.gz 68694 BLAKE2B 8910d9d6d7abd8b0dddf725ad9cc745ce5b06f69a4824a86ed9783918d0fc88d438674852288654964c4555d8278f22d3daab679149c64ea8a6fd3dd2f1cf284 SHA512 6a264b796e17612004196a7a526a7c6df99feac9062f8354540221016411a78a65d413731aea2fc1206ed5ea2b84787078898b9ca3754164f1dfe2a9878b75a5 +DIST pyusb-1.1.0.tar.gz 78752 BLAKE2B ee541afedca7d5dca345c6addee2702ccb7408bb9a2d8b23fe1eb47f067a93309599894e364c0bdcef3e5348bd13cc39f240257efd4664679017f61b87853217 SHA512 0769670e6ebd8b31f2494258eca5d6e470ad3cb17663cc14b8b3a8136ea24caa23f86d81c60c501b88a9bc94b0de6a45aac43c6c5f140e65fd03a589b4d18179 diff --git a/dev-python/pyusb/pyusb-1.1.0.ebuild b/dev-python/pyusb/pyusb-1.1.0.ebuild new file mode 100644 index 00000000000..f329f17c241 --- /dev/null +++ b/dev-python/pyusb/pyusb-1.1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +DESCRIPTION="USB support for Python" +HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +### This version is compatible with both 0.X and 1.X versions of libusb +DEPEND="virtual/libusb:=" +RDEPEND="${DEPEND}" + +DOCS=( README.rst docs/tutorial.rst ) + +python_test() { + cd tests || die + "${PYTHON}" testall.py || die "Tests failed with ${EPYTHON}" +}