| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
See:
https://doc.rust-lang.org/cargo/reference/manifest.html#the-name-field
Unbreaks crates using `curl-sys` version `0.4.30+curl-7.69.1` and such.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
|
| |
Update the copyright notice on all files that were touched since
January 1st but did not have the notice updated.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/705044
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/14287
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
|
| |
Signed-off-by: Valentin Finini <farenjihn@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14231
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/695698
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
| |
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
| |
Users can set CARGO_TERM_VERBOSE=false in make.conf if less build output is desired.
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
| |
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/697762
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
| |
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cargo install has long required --path . for 2018 edition crates but not
required it for 2015 edition crates. It is supported however for 2015
edition crates and works for all versions in the tree so it makes sense
to make it the default. Added CARGO_INSTALL_PATH as an eclass variable
allowing to override the default.
Closes: https://bugs.gentoo.org/703590
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/14097
Tested-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
|
|
| |
Default output just prints crate name.
With -vv we can see all cargo options and rustc args.
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/702168
Closes: https://bugs.gentoo.org/702042
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function will allow using 'cargo fetch' during src_unpack
Since only new cargo supports vendoring, all live packages will
have to depend on >=rust-1.37.0
This enables us to ship live rust packages,
cargo fetch will download all crates and vendor them for offline
phases.
here's an example of src_unpack()
src_unpack() {
if [[ "${PV}" == *9999* ]]; then
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
| |
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
|
| |
But not set IUSE=test by default
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
for example:
src_compile() {
cargo_src_compile --features pcre2
}
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/668680
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
|
|
|
|
|
|
| |
This is needed for openssl-src, which has a version like 110.0.7+1.1.0i.
Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
bug 630428)
|
| |
|
|
|
|
|
|
|
|
|
| |
Previously the cargo_src_install step fails when using
`cargo_src_install || die` and no man-directory is
included with the crate. This commit corrects this
behavior and ensures it does not die in those cases.
Package-Manager: Portage-2.3.3
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
| |
If man pages are shipped with a crate, let's install them.
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
|
|
|
|
|
|
| |
We need at least Cargo 0.13.0 to use the new bits in this eclass.
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
|
|
|
|
|
|
|
|
| |
Add support for newer dependency vendoring which allows us to download
the dependencies with the package manager and just have cargo use that
to compile the package.
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Originally this eclass only had the bits to build cargo and not other
packages built with cargo. Cargo is a special case and needs to override
some parts. This adds the generic case for normal cargo packages,
allowing for debug and release builds of packages as well.
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
|
|
|
|
|
| |
Improve the names of some variables to match what upstream docs call
things.
|
|
Base eclass for cargo that handles setting up the cargo registry and
provides a way to fetch crates.
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
|