diff --git a/package.yml b/package.yml
--- a/package.yml
+++ b/package.yml
@@ -1,8 +1,8 @@
name : cargo
-version : 0.18.0
-release : 7
+version : 0.22.0
+release : 8
source :
- - git|https://github.com/rust-lang/cargo.git : 0.18.0
+ - https://github.com/rust-lang/cargo/archive/0.22.0.tar.gz : 6740e2f8d035a5a5246a12e84a141d37ad4c2b826355aff497e6f1fcfb637aef
license :
- Apache-2.0
- MIT
@@ -13,25 +13,27 @@
component : programming
summary : The Rust package manager
description: |
- The Rust package manager
+ Cargo is a tool that allows Rust projects to declare their various
+ dependencies and ensure that you'll always get a repeatable build.
networking : yes
builddeps :
- - rust
- - cargo
- pkgconfig(libssl)
+ - cargo
+ - git # check
+ - rust
rundeps :
- rust
-setup : |
- ./configure --prefix=/usr \
- --libdir=%libdir% \
- --sysconfdir=/etc \
- --datadir=/usr/share \
- --enable-optimize \
- --release-channel=stable
build : |
- %make
+ cargo build --release
+ sh src/ci/dox.sh
install : |
- %make_install
- install -d -D -m 00755 $installdir/usr/share/bash-completion
- mv $installdir/usr/etc/bash_completion.d $installdir/usr/share/bash-completion/completions.d
- rm -rfv $installdir/usr/etc
+ cargo install --root=$installdir/usr
+ rm $installdir/usr/.crates.toml
+
+ install -Dm 00644 src/etc/cargo.bashcomp.sh $installdir/usr/share/bash-completion/completions.d/cargo.bashcomp.sh
+ install -Dm 00644 src/etc/_cargo $installdir/usr/share/zsh/site-functions/_cargo
+ install -Dm 00644 src/etc/man/cargo*.1 -t $installdir/usr/share/man/man1
+ install -dm 00755 $installdir/usr/share/doc/cargo/html
+ cp -a target/doc $installdir/usr/share/doc/cargo/html
+check : |
+ CFG_DISABLE_CROSS_TESTS=1 cargo test --no-fail-fast
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
--- a/pspec_x86_64.xml
+++ b/pspec_x86_64.xml
@@ -2,8 +2,8 @@
cargo
- Ikey Doherty
- ikey@solus-project.com
+ Pierre-Yves
+ pyu@riseup.net
Apache-2.0
MIT
@@ -13,36 +13,33 @@
BSD-3-Clause
programming
The Rust package manager
- The Rust package manager
+ Cargo is a tool that allows Rust projects to declare their various
+dependencies and ensure that you'll always get a repeatable build.
https://solus-project.com/sources/README.Solus
cargo
The Rust package manager
- The Rust package manager
+ Cargo is a tool that allows Rust projects to declare their various
+dependencies and ensure that you'll always get a repeatable build.
programming
/usr/bin
- /usr/lib/rustlib/components
- /usr/lib/rustlib/install.log
- /usr/lib/rustlib/manifest-cargo
- /usr/lib/rustlib/rust-installer-version
- /usr/lib/rustlib/uninstall.sh
- /usr/share/bash-completion/completions.d/cargo
+ /usr/share/bash-completion/completions.d/cargo.bashcomp.sh
/usr/share/doc
/usr/share/man
/usr/share/zsh/site-functions/_cargo
-
- 2017-10-04
- 0.18.0
+
+ 2017-11-13
+ 0.22.0
Packaging update
- Ikey Doherty
- ikey@solus-project.com
+ Pierre-Yves
+ pyu@riseup.net
\ No newline at end of file