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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 74346158021 for ; Tue, 18 Oct 2022 06:36:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B9F0E0940; Tue, 18 Oct 2022 06:36:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 584BDE0940 for ; Tue, 18 Oct 2022 06:36:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1FF0C340C6C for ; Tue, 18 Oct 2022 06:36:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3870E622 for ; Tue, 18 Oct 2022 06:36:35 +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: <1666074984.7daef5cb50710d85c75e3e83bce01a2ed54dd808.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/huawei-lte-api/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/huawei-lte-api/Manifest dev-python/huawei-lte-api/huawei-lte-api-1.6.4.ebuild X-VCS-Directories: dev-python/huawei-lte-api/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7daef5cb50710d85c75e3e83bce01a2ed54dd808 X-VCS-Branch: master Date: Tue, 18 Oct 2022 06:36:35 +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: a4678482-5e00-4783-afbf-a59833705aa3 X-Archives-Hash: eb5459764120d6043a28e1815783dbd1 commit: 7daef5cb50710d85c75e3e83bce01a2ed54dd808 Author: Michał Górny gentoo org> AuthorDate: Tue Oct 18 05:09:25 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Oct 18 06:36:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7daef5cb dev-python/huawei-lte-api: Bump to 1.6.4 Signed-off-by: Michał Górny gentoo.org> dev-python/huawei-lte-api/Manifest | 1 + .../huawei-lte-api/huawei-lte-api-1.6.4.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-python/huawei-lte-api/Manifest b/dev-python/huawei-lte-api/Manifest index bc7255c97eac..3bafb2c2edfa 100644 --- a/dev-python/huawei-lte-api/Manifest +++ b/dev-python/huawei-lte-api/Manifest @@ -1,2 +1,3 @@ DIST huawei-lte-api-1.6.1.gh.tar.gz 32963 BLAKE2B f159e1dc4cb759c09a88bb763c6ba5f43043eacf025e7ada871c816e0e72a238f9e7536dbc043f8596bef390ecfc2ee137c1a4c079ca33db6c3a3198147c9f98 SHA512 2a6a330c419af0d2b8eeff9d8b93a11cdf8050db04e609cb1d86a33ab770d7102c8e40652482c2500ce4bf4152b66b98ee1fc77be104db8ab9a9bbeec871ce20 DIST huawei-lte-api-1.6.3.gh.tar.gz 33065 BLAKE2B 2c16080b929d410d0e05b028e8a73003e5dd0b8a5e14602173571b473ffdcfc8ffb742b3db23dc7d4892386447d9c8fa9b30eee4016aa8f94ec7ac878184ca88 SHA512 a48c56d88859ef8a12eebaed48787fe7b62e3abac9b1d393e70dff9553b51284a5b860e113f4ed709dcab590c607a356c3b3fb81ac7bce5260fdf21d28d98510 +DIST huawei-lte-api-1.6.4.gh.tar.gz 33855 BLAKE2B 345845f953597064220a73a9347ed929a34c21aeb1d79e0a42aa4ada7e91e27e92c7648b48aa7832d7d4ec2b03844c9189b34d81699d0bd6b38c61dac6cbe7bc SHA512 f1d30a70b1d347d9ddbf3fe7aa099a2a28c22de6c1f21c38ca6a83de470c644230d83d2332b48fb08766469635acc07fbac61e15c564713129e8b40305972d5e diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.6.4.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.6.4.ebuild new file mode 100644 index 000000000000..5b62e249fda3 --- /dev/null +++ b/dev-python/huawei-lte-api/huawei-lte-api-1.6.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="API For huawei LAN/WAN LTE Modems" +HOMEPAGE=" + https://github.com/Salamek/huawei-lte-api/ + https://pypi.org/project/huawei-lte-api/ +" +SRC_URI=" + https://github.com/Salamek/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] +" + +python_prepare_all() { + # make cryptodome-friendly + sed -i -e 's:pycryptodomex:pycryptodome:' setup.py || die + find -name '*.py' -exec \ + sed -i -e 's:Cryptodome:Crypto:g' {} + || die + + distutils-r1_python_prepare_all +} + +distutils_enable_tests pytest