From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1433961-garchives=archives.gentoo.org@lists.gentoo.org> 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 AA78F158095 for <garchives@archives.gentoo.org>; Tue, 6 Sep 2022 17:54:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EC27E07FE; Tue, 6 Sep 2022 17:54:43 +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 754BBE07FE for <gentoo-commits@lists.gentoo.org>; Tue, 6 Sep 2022 17:54:43 +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 8215C34102D for <gentoo-commits@lists.gentoo.org>; Tue, 6 Sep 2022 17:54:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 08C1E5C6 for <gentoo-commits@lists.gentoo.org>; Tue, 6 Sep 2022 17:54:41 +0000 (UTC) From: "Arthur Zamarin" <arthurzam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" <arthurzam@gentoo.org> Message-ID: <1662486867.927088615eb663010baa5c66d920363d93da1035.arthurzam@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-3.0.ebuild X-VCS-Directories: dev-python/python-cstruct/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 927088615eb663010baa5c66d920363d93da1035 X-VCS-Branch: master Date: Tue, 6 Sep 2022 17:54:41 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e8b974a3-d917-4a62-bb03-b1bb7921919d X-Archives-Hash: f8a6b97ea69277450e1f34086576df01 commit: 927088615eb663010baa5c66d920363d93da1035 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Tue Sep 6 17:14:38 2022 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Tue Sep 6 17:54:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92708861 dev-python/python-cstruct: add 3.0 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-python/python-cstruct/Manifest | 1 + .../python-cstruct/python-cstruct-3.0.ebuild | 30 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-python/python-cstruct/Manifest b/dev-python/python-cstruct/Manifest index 636836e5e0e4..0e27bc491e7a 100644 --- a/dev-python/python-cstruct/Manifest +++ b/dev-python/python-cstruct/Manifest @@ -1,2 +1,3 @@ DIST python-cstruct-2.2.gh.tar.gz 18764 BLAKE2B 75aaffae27fef59799e52866f8169cc5d7362ef1553a56986f361ef7cfb7ca3e7d8c67fe0f112ec8e03ddacf45885e19fc1ce0d9d27c7581deafbf7e7fe1789b SHA512 5a1d62b596fef08a48020557e82fc81360430d94f18ce0667919815d57b944102067c2fe5723372616f73c995afd3a1f674e4a37e406d0dc7eeaf9fe3ef8f484 DIST python-cstruct-2.3.gh.tar.gz 19043 BLAKE2B dd445da91d155dc576523d5c15dc963493dfb62e7e79fae6c436e69654432eadbc30b0001026f5613268800eb0a3a01392120b11e7b3995cff16477850818c9f SHA512 5700a3d8ef58130bc5b3b5d7c36102f6a878fd8d5b9104804f0c206e583e77d7a9c9ff8e8008d9bd1ee72d55167e48cd3f9ba776816eb25ceb8ceaf0c880b597 +DIST python-cstruct-3.0.gh.tar.gz 25950 BLAKE2B 7ea8c77ed87e4fb740c3f7a4ed53a7532ee5aca15ee46fbb40da7308ae62ceacd7ccc67a958e6355904604ae67c9594acc9cae5d18bfed0558b91f7e9c8ad0a9 SHA512 dd1c85363512edc4df0379dec40e7d7fe3ceff1cc4014eae8dab0e91c47ea9c3619211e1a637aeec134ce713d0681688630b7fde97f02c6bcd7103a32f258a73 diff --git a/dev-python/python-cstruct/python-cstruct-3.0.ebuild b/dev-python/python-cstruct/python-cstruct-3.0.ebuild new file mode 100644 index 000000000000..7b8d01c50942 --- /dev/null +++ b/dev-python/python-cstruct/python-cstruct-3.0.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 +}