summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-06-12 20:12:54 +0200
committerMichał Górny <mgorny@gentoo.org>2022-06-12 20:28:00 +0200
commit84494fbf4d460c8afbb9617cbaa4a612e0a43c52 (patch)
treebbde20460b15a260c3fbe78e701769abc4975107 /dev-python
parentdev-python/imageio-ffmpeg: Enable py3.11 (diff)
downloadgentoo-84494fbf4d460c8afbb9617cbaa4a612e0a43c52.tar.gz
gentoo-84494fbf4d460c8afbb9617cbaa4a612e0a43c52.tar.bz2
gentoo-84494fbf4d460c8afbb9617cbaa4a612e0a43c52.zip
dev-python/intelhex: Use PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/intelhex/intelhex-2.3.0-r1.ebuild22
-rw-r--r--dev-python/intelhex/metadata.xml2
2 files changed, 23 insertions, 1 deletions
diff --git a/dev-python/intelhex/intelhex-2.3.0-r1.ebuild b/dev-python/intelhex/intelhex-2.3.0-r1.ebuild
new file mode 100644
index 000000000000..d55c12c0053b
--- /dev/null
+++ b/dev-python/intelhex/intelhex-2.3.0-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library for Intel HEX files manipulations"
+HOMEPAGE="
+ https://github.com/python-intelhex/intelhex/
+ https://pypi.org/project/intelhex/
+"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~riscv ~x86"
+
+distutils_enable_tests unittest
diff --git a/dev-python/intelhex/metadata.xml b/dev-python/intelhex/metadata.xml
index 48b4cdc3cb08..c519bc041175 100644
--- a/dev-python/intelhex/metadata.xml
+++ b/dev-python/intelhex/metadata.xml
@@ -6,7 +6,7 @@
<name>Python</name>
</maintainer>
<upstream>
- <remote-id type="pypi">IntelHex</remote-id>
+ <remote-id type="pypi">intelhex</remote-id>
<remote-id type="github">python-intelhex/intelhex</remote-id>
</upstream>
</pkgmetadata>