dev-python/python-cstruct: add 5.0

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2022-11-12 21:55:38 +02:00
parent 3c2c5d3df2
commit 2aebc74dec
2 changed files with 34 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST python-cstruct-3.3.gh.tar.gz 27470 BLAKE2B 0403af7085622e26d5faf973bbfd0c7e35f5c51f0597abf079080800055058809a07a795bde37b796809ef13b6e1d030f36a42e45a7f4643202e37fe79df4730 SHA512 fd5d7d42f5458d37a44d5e792b56e5c4f3338ed656b248ec5f4f48e4ecb5b6be7e3561c697d67ce0c6a18fbef62ba4945e287754cb2d6a97fefd65c563d65774
DIST python-cstruct-4.0.gh.tar.gz 28370 BLAKE2B 48f750849d332d03f1d6424a6c6f5146efacb6af05c82040dd7c39c701fbebb60dbc324db395dbd918ac5b677c63d541f00de871eb47c73b3f56e8aab08d8ff1 SHA512 e8c1345f06ca23bc19bbfad569b9822369eec8957eac504191dbd34f9c4e8197a4150e73d2ae3881b7e9fbf288c81cf320872aaefec8e8e80385e4ea473242c7
DIST python-cstruct-5.0.gh.tar.gz 36194 BLAKE2B 436998e52f2cfa714eb49c606a76b2ae72af959c58addbd2cff036a3ecd6bfea22e43da2c6c17a2d4c1328578385ecd8605afbc3dcdcb4e083125588a6020751 SHA512 f28977ae0b4db9bed0b5757f257b772089dd37844cb47455be3c406f5e5245194f98eae98520ad9888306e31a581617229b8634d0e5881c38c0e8deb84bc5ef8

View File

@@ -0,0 +1,33 @@
# 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..11} )
inherit distutils-r1
DESCRIPTION="C-style structs for Python"
HOMEPAGE="
https://github.com/andreax79/python-cstruct/
https://pypi.org/project/cstruct/
"
SRC_URI="
https://github.com/andreax79/${PN}/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DOCS=( README.md )
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
sed -e "/find_packages(/s@exclude=\[@&'tests', @" -i setup.py || die
}