diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-11-12 19:55:27 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-12 19:56:26 +0100 |
commit | cfd2bad824a1e1d27afc3f4cffdfaec7ce8ea638 (patch) | |
tree | b459bdf2c985190baa5470dcf62e9a2429b6eeed /app-portage | |
parent | www-client/links: Stabilize 2.28 sparc, #881115 (diff) | |
download | gentoo-cfd2bad824a1e1d27afc3f4cffdfaec7ce8ea638.tar.gz gentoo-cfd2bad824a1e1d27afc3f4cffdfaec7ce8ea638.tar.bz2 gentoo-cfd2bad824a1e1d27afc3f4cffdfaec7ce8ea638.zip |
app-portage/pycargoebuild: new Cargo .ebuild generator, v0.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/pycargoebuild/Manifest | 1 | ||||
-rw-r--r-- | app-portage/pycargoebuild/metadata.xml | 12 | ||||
-rw-r--r-- | app-portage/pycargoebuild/pycargoebuild-0.1.0.ebuild | 32 |
3 files changed, 45 insertions, 0 deletions
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>mgorny@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 |