summaryrefslogtreecommitdiff
path: root/dev-python/huawei-lte-api
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /dev-python/huawei-lte-api
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'dev-python/huawei-lte-api')
-rw-r--r--dev-python/huawei-lte-api/Manifest3
-rw-r--r--dev-python/huawei-lte-api/huawei-lte-api-1.4.17.ebuild30
-rw-r--r--dev-python/huawei-lte-api/metadata.xml12
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/huawei-lte-api/Manifest b/dev-python/huawei-lte-api/Manifest
new file mode 100644
index 000000000000..ba02443a5a55
--- /dev/null
+++ b/dev-python/huawei-lte-api/Manifest
@@ -0,0 +1,3 @@
+DIST huawei-lte-api-1.4.17.tar.gz 29441 BLAKE2B 75615092a1d8ee598a99e9ae7a0567e11a72fad21a8304005364bd21e4ecb9bf9efa9a2d5c8de86c6d7442ec12f06079819c20ca9e2e4646255ede961b1a1275 SHA512 bf4a6a43d02b56f0aa799e2936d7fd0afa88da4dc18c152c635b0ccb87a7ca9afcf1fcdee3a37d7ab232d5cd4688e24499ad35a1969d97db405b818cf17d33c4
+EBUILD huawei-lte-api-1.4.17.ebuild 721 BLAKE2B 71bf85aa97eb3af1953fdb211219004b09a397c3f043fc5633c4057d51cf14b3e4498221a13d6ecc2fe89b8c5086d51e082f998adc4f79ebcecc144a4f189f8d SHA512 b32e54eaa152875742ba85195fbd8c7686adc8103d8da0f94bbc967a0057620f7f4dfc24ba7e1a816f059123432323cdd24fe3efe7cd54d1e942fa0bc9548c62
+MISC metadata.xml 385 BLAKE2B 962737026dd3a7daaced4e561f39defb5abfb76570a6cde7e083699f79d95000f6818bf65466ccfde2407b00db401c27d507b954ee8f546c4f5ec92335ed1088 SHA512 d70d91e85572133e2093376e55daf6a501270339cac68f19b26d563f20650f890177c02fa3b264fe3b6c62e51471a5dc484827d0ae2cdf8a657b95dbbb47691d
diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.4.17.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.4.17.ebuild
new file mode 100644
index 000000000000..0fe85aaad74c
--- /dev/null
+++ b/dev-python/huawei-lte-api/huawei-lte-api-1.4.17.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="API For huawei LAN/WAN LTE Modems"
+HOMEPAGE="https://github.com/Salamek/huawei-lte-api"
+SRC_URI="https://github.com/Salamek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-python/dicttoxml[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/xmltodict[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+ # https://github.com/Salamek/huawei-lte-api/issues/86
+ sed "s:'pytest-runner'::" -i setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+distutils_enable_tests pytest
diff --git a/dev-python/huawei-lte-api/metadata.xml b/dev-python/huawei-lte-api/metadata.xml
new file mode 100644
index 000000000000..7c8d9faf0487
--- /dev/null
+++ b/dev-python/huawei-lte-api/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ago@gentoo.org</email>
+ <name>Agostino Sarubbo</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Salamek/huawei-lte-api</remote-id>
+ <remote-id type="pypi">huawei-lte-api</remote-id>
+ </upstream>
+</pkgmetadata>