forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-portage/pycargoebuild: new Cargo .ebuild generator, v0.1.0
Signed-off-by: Michał Górny <[email protected]>
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST pycargoebuild-0.1.0.gh.tar.gz 12404 BLAKE2B 3fa08408dbbede79253464052e0d77f4e601e7a5a7205900baaad52947efcfe0cef4af5703da8a36ad4972fc1930169bda84856944a1a2576c94aff2041abe7c SHA512 93de195758f9e07e0d28189edd1ae8c81baf70984942181ccf19ac8712765d1c6147b1b4a15d2d5c92856be24fb502ca8235ac60741eb6117393c795f99147ca |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>[email protected]</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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |