diff options
author | 2020-08-16 05:16:14 -0300 | |
---|---|---|
committer | 2020-08-16 18:21:59 -0300 | |
commit | 8f502aa7183263796ba1d8c59f370b74dcb981d9 (patch) | |
tree | 9bccc21432b68d17d68750f1e8d3325114cf4a8f /README.md | |
parent | Fixed dependency resolution using Cargo.lock (diff) | |
download | cargo-ebuild-8f502aa7183263796ba1d8c59f370b74dcb981d9.tar.gz cargo-ebuild-8f502aa7183263796ba1d8c59f370b74dcb981d9.tar.bz2 cargo-ebuild-8f502aa7183263796ba1d8c59f370b74dcb981d9.zip |
Updated cargo-ebuild example to v0.3.0
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 139 |
1 files changed, 43 insertions, 96 deletions
@@ -34,120 +34,67 @@ ebuild for that crate. ```bash $ git clone https://github.com/cardoe/cargo-ebuild.git $ cd cargo-ebuild -$ git checkout 0.1.5 +$ git checkout v0.3.0 $ cargo ebuild -$ cat cargo-ebuild-0.1.5.ebuild +$ cat cargo-ebuild-0.3.0.ebuild ``` ```ebuild -# Copyright 2017-2017 Gentoo Foundation +# Copyright 2017-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# Auto-Generated by cargo-ebuild 0.1.5 +# Auto-Generated by cargo-ebuild 0.3.0 -EAPI=6 +EAPI=7 CRATES=" -advapi32-sys-0.2.0 -aho-corasick-0.6.3 -atty-0.2.3 -backtrace-0.3.3 -backtrace-sys-0.1.16 -bitflags-0.7.0 -bitflags-0.8.2 -cargo-0.21.1 -cargo-ebuild-0.1.5 -cc-1.0.3 -cfg-if-0.1.0 -cmake-0.1.22 -crates-io-0.10.0 -crossbeam-0.2.10 -curl-0.4.6 -curl-sys-0.3.10 -dbghelp-sys-0.2.0 -docopt-0.8.1 -dtoa-0.4.2 -env_logger-0.4.3 -error-chain-0.11.0 -filetime-0.1.10 -flate2-0.2.19 -foreign-types-0.2.0 -fs2-0.4.2 -gcc-0.3.45 -gdi32-sys-0.2.0 -git2-0.6.4 -git2-curl-0.7.0 -glob-0.2.11 -hex-0.2.0 -idna-0.1.1 -itoa-0.3.4 -jobserver-0.1.8 -kernel32-sys-0.2.2 -lazy_static-0.2.8 -libc-0.2.21 -libgit2-sys-0.6.7 -libssh2-sys-0.2.5 -libz-sys-1.0.13 -log-0.3.7 -matches-0.1.4 -memchr-1.0.2 -miniz-sys-0.1.9 -miow-0.2.1 -net2-0.2.27 -num-traits-0.1.40 -num_cpus-1.3.0 -openssl-0.9.11 -openssl-probe-0.1.1 -openssl-sys-0.9.11 -pkg-config-0.3.9 -psapi-sys-0.1.0 -quote-0.3.15 -rand-0.3.15 -redox_syscall-0.1.17 -redox_termios-0.1.1 -regex-0.2.2 -regex-syntax-0.4.1 -rustc-demangle-0.1.5 -scoped-tls-0.1.0 -semver-0.7.0 +ansi_term-0.11.0 +anyhow-1.0.26 +atty-0.2.13 +bitflags-1.2.0 +cargo_metadata-0.9.1 +clap-2.33.0 +either-1.5.3 +heck-0.3.1 +itertools-0.8.2 +itoa-0.4.4 +libc-0.2.62 +proc-macro-error-0.2.6 +proc-macro2-1.0.5 +quote-1.0.2 +redox_syscall-0.1.56 +ryu-1.0.0 +semver-0.9.0 semver-parser-0.7.0 -serde-1.0.16 -serde_derive-1.0.16 -serde_derive_internals-0.16.0 -serde_ignored-0.0.3 -serde_json-1.0.5 -shell-escape-0.1.3 -strsim-0.6.0 -syn-0.11.11 -synom-0.11.3 -tar-0.4.11 -tempdir-0.3.5 -termcolor-0.3.3 -termion-1.5.1 -thread_local-0.3.4 -time-0.1.36 -toml-0.4.5 -unicode-bidi-0.2.5 -unicode-normalization-0.1.4 -unicode-xid-0.0.4 -unreachable-1.0.0 -url-1.4.0 -user32-sys-0.2.0 -utf8-ranges-1.0.0 -void-1.0.2 -winapi-0.2.8 -winapi-build-0.1.1 -wincolor-0.1.4 -ws2_32-sys-0.2.1 +serde-1.0.101 +serde_derive-1.0.101 +serde_json-1.0.41 +strsim-0.8.0 +structopt-0.3.3 +structopt-derive-0.3.3 +syn-1.0.5 +textwrap-0.11.0 +time-0.1.42 +unicode-segmentation-1.3.0 +unicode-width-0.1.6 +unicode-xid-0.2.0 +vec_map-0.8.1 +winapi-0.3.8 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-x86_64-pc-windows-gnu-0.4.0 " inherit cargo DESCRIPTION="Generates an ebuild for a package using the in-tree eclasses." +# Double check the homepage as the cargo_metadata crate +# does not provide this value so instead repository is used HOMEPAGE="https://github.com/cardoe/cargo-ebuild" SRC_URI="$(cargo_crate_uris ${CRATES})" RESTRICT="mirror" -LICENSE="MIT/Apache-2.0" # Update to proper Gentoo format +# License set may be more restrictive as OR is not respected +# use cargo-license for a more accurate license picture +LICENSE="Apache-2.0 BSL-1.0 MIT" SLOT="0" KEYWORDS="~amd64" IUSE="" |