From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 269C9158020 for ; Wed, 2 Nov 2022 07:37:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6DE7DE0AAC; Wed, 2 Nov 2022 07:37:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 526B5E0AAC for ; Wed, 2 Nov 2022 07:37:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 610BD340FB8 for ; Wed, 2 Nov 2022 07:37:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5E62731 for ; Wed, 2 Nov 2022 07:37:35 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1667374648.edf4715e1799822f1b2df3625c54c2d23f816930.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-cstruct/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-cstruct/Manifest dev-python/python-cstruct/python-cstruct-4.0.ebuild X-VCS-Directories: dev-python/python-cstruct/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: edf4715e1799822f1b2df3625c54c2d23f816930 X-VCS-Branch: master Date: Wed, 2 Nov 2022 07:37:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e22f1593-9c3f-4a16-a314-9db1bceb0287 X-Archives-Hash: 391f292269a255a882d5dc6b5f9f92cf commit: edf4715e1799822f1b2df3625c54c2d23f816930 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 2 07:20:07 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Nov 2 07:37:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf4715e dev-python/python-cstruct: Bump to 4.0 Signed-off-by: Michał Górny gentoo.org> dev-python/python-cstruct/Manifest | 1 + .../python-cstruct/python-cstruct-4.0.ebuild | 33 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-python/python-cstruct/Manifest b/dev-python/python-cstruct/Manifest index 0caaecb913bc..fe4e952644c2 100644 --- a/dev-python/python-cstruct/Manifest +++ b/dev-python/python-cstruct/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-python/python-cstruct/python-cstruct-4.0.ebuild b/dev-python/python-cstruct/python-cstruct-4.0.ebuild new file mode 100644 index 000000000000..ac6eadb21a2a --- /dev/null +++ b/dev-python/python-cstruct/python-cstruct-4.0.ebuild @@ -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 +}