summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cargo.eclass: add standard src_testGeorgy Yakovlev2019-01-081-1/+11
| | | | | | But not set IUSE=test by default Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cargo.eclass: allow passing additional arguments to cargoGeorgy Yakovlev2019-01-081-3/+3
| | | | | | | | | | for example: src_compile() { cargo_src_compile --features pcre2 } Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cargo.eclass: Really set dependencies.Arfrever Frehtes Taifersar Arahesis2018-10-151-3/+3
| | | | | | | Closes: https://bugs.gentoo.org/668680 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
* cargo.eclass: restrict pretag pattern to allow extended versionsDirkjan Ochtman2018-09-291-1/+1
| | | | | | 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>
* cargo.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* cargo.eclass: reduce verbosity by defaultDirkjan Ochtman2018-08-081-1/+1
|
* cargo.eclass: depend on virtual/cargo instead of dev-util/cargoDirkjan Ochtman2018-08-081-1/+1
|
* cargo.eclass: support EAPI 7Dirkjan Ochtman2018-08-081-3/+5
|
* cargo.eclass: respect parallel jobs setting from MAKEOPTSTim Harder2018-03-031-2/+4
|
* cargo.eclass: localize variables so they don't leak into the saved envTim Harder2017-09-141-1/+1
|
* eclass: improve cargo.eclass to better handle pre-release versions (fixes ↵Dirkjan Ochtman2017-09-091-1/+6
| | | | bug 630428)
* cargo.eclass: fix quoting/arg handlingMike Frysinger2017-05-161-3/+4
|
* eclass/cargo: Don't fail on missing directoryEspen Henriksen2017-03-291-1/+1
| | | | | | | | | 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
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* cargo.eclass: ensure man pages are installedDoug Goldstein2017-02-121-0/+2
| | | | | | If man pages are shipped with a crate, let's install them. Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
* eclass/cargo: ensure people have a good cargo dependDoug Goldstein2016-11-301-0/+2
| | | | | | We need at least Cargo 0.13.0 to use the new bits in this eclass. Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
* eclass/cargo: support cargo dependency vendoringDoug Goldstein2016-11-301-19/+38
| | | | | | | | 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>
* eclass/cargo: extend to support building packagesDoug Goldstein2016-11-301-2/+26
| | | | | | | | | 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>
* eclass/cargo: improve variable namesDoug Goldstein2016-07-101-4/+4
| | | | | Improve the names of some variables to match what upstream docs call things.
* eclass: initial cargo support eclassDoug Goldstein2016-06-291-0/+85
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>