summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-12-23 07:09:01 +0100
committerMichał Górny <mgorny@gentoo.org>2024-12-23 07:17:34 +0100
commitf5c8904e89b9ba524cf26abf99fff9fad44a0440 (patch)
tree45d69691e2e8a8f2ffd64a9271460673297d511d
parentdev-python/jaraco-path: Bump to 3.7.2 (diff)
downloadgentoo-f5c8904e89b9ba524cf26abf99fff9fad44a0440.tar.gz
gentoo-f5c8904e89b9ba524cf26abf99fff9fad44a0440.tar.bz2
gentoo-f5c8904e89b9ba524cf26abf99fff9fad44a0440.zip
dev-python/datastructclass: New package, v0.1.1
Needed by >=dev-python/mcbootflash-10.0.0. Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/datastructclass/Manifest1
-rw-r--r--dev-python/datastructclass/datastructclass-0.1.1.ebuild26
-rw-r--r--dev-python/datastructclass/metadata.xml12
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/datastructclass/Manifest b/dev-python/datastructclass/Manifest
new file mode 100644
index 000000000000..806e185b240e
--- /dev/null
+++ b/dev-python/datastructclass/Manifest
@@ -0,0 +1 @@
+DIST datastructclass-0.1.1.tar.gz 6459 BLAKE2B c0bb77e5999f759647a2c885852cfe8e9dbc2c2f95d945a327feb91b32f072ba8aa87a29c61d7753287ad9c6a1d59288027ec5cd85cb00fcb7634ebf405d7299 SHA512 6d80dcfe17e792a421b538adbd356a5d5ce5e8d5bc854f9892494e9c13b3a7cd860536c701479a08471c7d49bb0926de4b75268e7d276eb49681713b4b6f79ac
diff --git a/dev-python/datastructclass/datastructclass-0.1.1.ebuild b/dev-python/datastructclass/datastructclass-0.1.1.ebuild
new file mode 100644
index 000000000000..7ff88f3b8e3b
--- /dev/null
+++ b/dev-python/datastructclass/datastructclass-0.1.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A dataclass with struct-like semantics"
+HOMEPAGE="
+ https://github.com/bessman/datastructclass/
+ https://pypi.org/project/datastructclass/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}
diff --git a/dev-python/datastructclass/metadata.xml b/dev-python/datastructclass/metadata.xml
new file mode 100644
index 000000000000..6d8c67a57421
--- /dev/null
+++ b/dev-python/datastructclass/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">bessman/datastructclass</remote-id>
+ <remote-id type="pypi">datastructclass</remote-id>
+ </upstream>
+</pkgmetadata>