summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-27 20:04:00 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-27 20:04:00 +0200
commit49a19d81e46515b33d1267c776b158dbddad3252 (patch)
tree6824093edd31dea680e3679f8558d0654f5e85c6 /dev-python/cstruct
parentdev-python/quantities: Enable py3.12 (diff)
downloadgentoo-49a19d81e46515b33d1267c776b158dbddad3252.tar.gz
gentoo-49a19d81e46515b33d1267c776b158dbddad3252.tar.bz2
gentoo-49a19d81e46515b33d1267c776b158dbddad3252.zip
Rename dev-python/{python-cstruct → cstruct}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cstruct')
-rw-r--r--dev-python/cstruct/Manifest1
-rw-r--r--dev-python/cstruct/cstruct-5.2.ebuild29
-rw-r--r--dev-python/cstruct/metadata.xml15
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/cstruct/Manifest b/dev-python/cstruct/Manifest
new file mode 100644
index 000000000000..7f1125c92a58
--- /dev/null
+++ b/dev-python/cstruct/Manifest
@@ -0,0 +1 @@
+DIST python-cstruct-5.2.gh.tar.gz 38551 BLAKE2B d366c7508c33f7dd492cb3a507a358129159634b9f32293c4a06a8c1a24e9d4ae5e6a1fd89144907497e17b2558277fe98d4a5d92313402304bb18bec5c395ea SHA512 d9a961270e4769d1133a459f952f22b42733421436c53ac9bfc8159330503af1a2231c99afb2e91863ee8ad4d822a0d84fc6db6aac11b5358bca5548f0006e3e
diff --git a/dev-python/cstruct/cstruct-5.2.ebuild b/dev-python/cstruct/cstruct-5.2.ebuild
new file mode 100644
index 000000000000..c5c488dca699
--- /dev/null
+++ b/dev-python/cstruct/cstruct-5.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+MY_P=python-cstruct-${PV}
+DESCRIPTION="C-style structs for Python"
+HOMEPAGE="
+ https://github.com/andreax79/python-cstruct/
+ https://pypi.org/project/cstruct/
+"
+SRC_URI="
+ https://github.com/andreax79/python-cstruct/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( README.md )
+
+distutils_enable_tests pytest
diff --git a/dev-python/cstruct/metadata.xml b/dev-python/cstruct/metadata.xml
new file mode 100644
index 000000000000..d1468dcb4ec3
--- /dev/null
+++ b/dev-python/cstruct/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">andreax79/python-cstruct</remote-id>
+ <remote-id type="pypi">cstruct</remote-id>
+ </upstream>
+</pkgmetadata>