| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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>
|