summaryrefslogtreecommitdiff
path: root/dev-python/datastructclass/datastructclass-0.1.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/datastructclass/datastructclass-0.1.1.ebuild')
-rw-r--r--dev-python/datastructclass/datastructclass-0.1.1.ebuild26
1 files changed, 26 insertions, 0 deletions
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..d18eeca7eddc
--- /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=( python3_{9,10,11,12,13} pypy3 )
+
+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
+}