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 A2485158020 for ; Sat, 12 Nov 2022 18:56:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8028FE0824; Sat, 12 Nov 2022 18:56:37 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DADAE0824 for ; Sat, 12 Nov 2022 18:56:37 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5D10D340E0F for ; Sat, 12 Nov 2022 18:56:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B570D617 for ; Sat, 12 Nov 2022 18:56:34 +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: <1668279386.cfd2bad824a1e1d27afc3f4cffdfaec7ce8ea638.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/pycargoebuild/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/pycargoebuild/Manifest app-portage/pycargoebuild/metadata.xml app-portage/pycargoebuild/pycargoebuild-0.1.0.ebuild X-VCS-Directories: app-portage/pycargoebuild/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cfd2bad824a1e1d27afc3f4cffdfaec7ce8ea638 X-VCS-Branch: master Date: Sat, 12 Nov 2022 18:56:34 +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: d2891a20-4bc9-4730-b25f-7f720582f292 X-Archives-Hash: 92ff2b0d4e040b1cca6726b9fa6deb08 commit: cfd2bad824a1e1d27afc3f4cffdfaec7ce8ea638 Author: Michał Górny gentoo org> AuthorDate: Sat Nov 12 18:55:27 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Nov 12 18:56:26 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfd2bad8 app-portage/pycargoebuild: new Cargo .ebuild generator, v0.1.0 Signed-off-by: Michał Górny gentoo.org> app-portage/pycargoebuild/Manifest | 1 + app-portage/pycargoebuild/metadata.xml | 12 ++++++++ .../pycargoebuild/pycargoebuild-0.1.0.ebuild | 32 ++++++++++++++++++++++ 3 files changed, 45 insertions(+) diff --git a/app-portage/pycargoebuild/Manifest b/app-portage/pycargoebuild/Manifest new file mode 100644 index 000000000000..3d6504b2b546 --- /dev/null +++ b/app-portage/pycargoebuild/Manifest @@ -0,0 +1 @@ +DIST pycargoebuild-0.1.0.gh.tar.gz 12404 BLAKE2B 3fa08408dbbede79253464052e0d77f4e601e7a5a7205900baaad52947efcfe0cef4af5703da8a36ad4972fc1930169bda84856944a1a2576c94aff2041abe7c SHA512 93de195758f9e07e0d28189edd1ae8c81baf70984942181ccf19ac8712765d1c6147b1b4a15d2d5c92856be24fb502ca8235ac60741eb6117393c795f99147ca diff --git a/app-portage/pycargoebuild/metadata.xml b/app-portage/pycargoebuild/metadata.xml new file mode 100644 index 000000000000..a6aede800339 --- /dev/null +++ b/app-portage/pycargoebuild/metadata.xml @@ -0,0 +1,12 @@ + + + + + mgorny@gentoo.org + Michał Górny + + + projg2/pycargoebuild + pycargoebuild + + diff --git a/app-portage/pycargoebuild/pycargoebuild-0.1.0.ebuild b/app-portage/pycargoebuild/pycargoebuild-0.1.0.ebuild new file mode 100644 index 000000000000..ddee9ac385b4 --- /dev/null +++ b/app-portage/pycargoebuild/pycargoebuild-0.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A generator for Rust/Cargo ebuilds written in Python" +HOMEPAGE=" + https://github.com/projg2/pycargoebuild/ + https://pypi.org/project/pycargoebuild/ +" +SRC_URI=" + https://github.com/projg2/pycargoebuild/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/license-expression[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) +" + +distutils_enable_tests pytest