diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-23 21:50:52 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-23 21:50:52 +0100 |
commit | ba3d6ddada23eaa04f85228bee3438ab479b4442 (patch) | |
tree | 87c61faa67018943d552f24d91f0aeaece2b771e /dev-python/python-cstruct/python-cstruct-3.2.ebuild | |
parent | 2e6d363c5e87569efc23848513e71f2233b7e9d9 (diff) |
gentoo auto-resync : 23:10:2022 - 21:50:51
Diffstat (limited to 'dev-python/python-cstruct/python-cstruct-3.2.ebuild')
-rw-r--r-- | dev-python/python-cstruct/python-cstruct-3.2.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/python-cstruct/python-cstruct-3.2.ebuild b/dev-python/python-cstruct/python-cstruct-3.2.ebuild new file mode 100644 index 000000000000..7b8d01c50942 --- /dev/null +++ b/dev-python/python-cstruct/python-cstruct-3.2.ebuild @@ -0,0 +1,30 @@ +# 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 +} |