commit: cfd2bad824a1e1d27afc3f4cffdfaec7ce8ea638 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Nov 12 18:55:27 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgo...@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <upstream> + <remote-id type="github">projg2/pycargoebuild</remote-id> + <remote-id type="pypi">pycargoebuild</remote-id> + </upstream> +</pkgmetadata> 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