# Copyright 2017-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Auto-Generated by cargo-ebuild 0.1.5 EAPI=6 CRATES=" adler32-1.0.3 advapi32-sys-0.2.0 aho-corasick-0.6.8 ansi_term-0.11.0 argon2rs-0.2.5 arrayvec-0.4.7 atty-0.2.11 backtrace-0.3.9 backtrace-sys-0.1.24 base64-0.9.3 bincode-1.0.1 bit-vec-0.4.4 bitflags-1.0.4 blake2-rfc-0.2.18 bs58-0.2.2 build_const-0.2.1 byteorder-1.2.6 bytes-0.4.10 cc-1.0.25 cfg-if-0.1.6 chrono-0.4.6 clap-2.32.0 cloudabi-0.0.3 constant_time_eq-0.1.3 core-foundation-0.5.1 core-foundation-sys-0.5.1 crc-1.8.1 crossbeam-channel-0.2.6 crossbeam-deque-0.6.1 crossbeam-epoch-0.5.2 crossbeam-epoch-0.6.0 crossbeam-utils-0.5.0 cryptovec-0.4.5 dirs-1.0.4 dtoa-0.4.3 encoding_rs-0.8.10 env_logger-0.5.13 errno-0.2.4 errno-dragonfly-0.1.1 error-chain-0.12.0 failure-0.1.3 failure_derive-0.1.3 filetime-0.2.1 flate2-1.0.4 fnv-1.0.6 foreign-types-0.3.2 foreign-types-shared-0.1.1 fs2-0.4.3 fuchsia-zircon-0.3.3 fuchsia-zircon-sys-0.3.3 futures-0.1.25 futures-cpupool-0.1.8 gcc-0.3.55 getch-0.2.0 globset-0.4.2 h2-0.1.13 hex-0.3.2 http-0.1.13 httparse-1.3.3 humantime-1.1.1 hyper-0.12.12 hyper-tls-0.3.1 idna-0.1.5 ignore-0.4.4 indexmap-1.0.2 iovec-0.1.2 isatty-0.1.9 itoa-0.4.3 kernel32-sys-0.2.2 lazy_static-1.1.0 lazycell-1.2.0 libc-0.2.43 libflate-0.1.18 lock_api-0.1.4 log-0.4.5 matches-0.1.8 memchr-2.1.0 memmap-0.6.2 memoffset-0.2.1 mime-0.3.12 mime_guess-2.0.0-alpha.6 miniz-sys-0.1.11 miniz_oxide-0.2.0 miniz_oxide_c_api-0.2.0 mio-0.6.16 mio-uds-0.6.7 miow-0.2.1 native-tls-0.2.2 net2-0.2.33 nodrop-0.1.12 num-0.1.42 num-bigint-0.1.44 num-complex-0.1.43 num-integer-0.1.39 num-iter-0.1.37 num-rational-0.1.42 num-traits-0.2.6 num_cpus-1.8.0 openssl-0.10.15 openssl-probe-0.1.2 openssl-sys-0.9.39 owning_ref-0.3.3 pager-0.14.0 parking_lot-0.6.4 parking_lot_core-0.3.1 percent-encoding-1.0.1 phf-0.7.23 phf_codegen-0.7.23 phf_generator-0.7.23 phf_shared-0.7.23 pkg-config-0.3.14 proc-macro2-0.4.20 progrs-0.1.1 quick-error-1.2.2 quote-0.6.8 rand-0.4.3 rand-0.5.5 rand_core-0.2.2 rand_core-0.3.0 redox_syscall-0.1.40 redox_termios-0.1.1 redox_users-0.2.0 regex-1.0.5 regex-syntax-0.6.2 remove_dir_all-0.5.1 reqwest-0.9.3 rpassword-2.0.0 rustc-demangle-0.1.9 rustc-serialize-0.3.24 rustc_version-0.2.3 ryu-0.2.6 safemem-0.3.0 same-file-1.0.3 sanakirja-0.8.19 schannel-0.1.14 scoped_threadpool-0.1.9 scopeguard-0.3.3 security-framework-0.2.1 security-framework-sys-0.2.1 semver-0.9.0 semver-parser-0.7.0 serde-1.0.80 serde_derive-1.0.80 serde_json-1.0.32 serde_urlencoded-0.5.3 shell-escape-0.1.4 siphasher-0.2.3 slab-0.4.1 smallvec-0.6.5 stable_deref_trait-1.1.1 string-0.1.1 strsim-0.7.0 syn-0.15.13 synstructure-0.10.0 tar-0.4.17 tempdir-0.3.7 tempfile-3.0.4 term-0.5.1 termcolor-1.0.4 termion-1.5.1 termios-0.2.2 textwrap-0.10.0 thread_local-0.3.6 thrussh-0.20.5 thrussh-config-0.1.0 thrussh-keys-0.11.3 thrussh-libsodium-0.1.3 time-0.1.40 tokio-0.1.11 tokio-codec-0.1.1 tokio-current-thread-0.1.3 tokio-executor-0.1.5 tokio-fs-0.1.3 tokio-io-0.1.9 tokio-reactor-0.1.6 tokio-tcp-0.1.2 tokio-threadpool-0.1.7 tokio-timer-0.2.7 tokio-udp-0.1.2 tokio-uds-0.2.2 toml-0.4.8 try-lock-0.2.2 ucd-util-0.1.1 unicase-1.4.2 unicase-2.2.0 unicode-bidi-0.3.4 unicode-normalization-0.1.7 unicode-width-0.1.5 unicode-xid-0.1.0 unreachable-1.0.0 url-1.7.1 username-0.2.0 utf8-ranges-1.0.1 utf8parse-0.1.1 uuid-0.7.1 vcpkg-0.2.6 vec_map-0.8.1 version_check-0.1.5 void-1.0.2 walkdir-2.2.5 want-0.0.6 winapi-0.2.8 winapi-0.3.6 winapi-build-0.1.1 winapi-i686-pc-windows-gnu-0.4.0 winapi-util-0.1.1 winapi-x86_64-pc-windows-gnu-0.4.0 wincolor-1.0.1 ws2_32-sys-0.2.1 xattr-0.2.2 yasna-0.1.3 " inherit cargo DESCRIPTION="Distributed VCS based on a sound theory of patches." HOMEPAGE="https://pijul.org/" SRC_URI="https://pijul.org/releases/${P}.tar.gz $(cargo_crate_uris $CRATES)" RESTRICT="mirror" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="dev-libs/libsodium" RDEPEND="${DEPEND}" S="${WORKDIR}/${P}/" PATCHES=( "${FILESDIR}/${P}-fix-libpijul.patch" ) src_install() { export S="${WORKDIR}/${P}" cd "${S}" cargo install -j $(makeopts_jobs) --root="${D}/usr" $(usex debug --debug "") --path pijul \ || die "cargo install failed" rm -f "${D}/usr/.crates.toml" [ -d "${S}/man" ] && doman "${S}/man" || return 0 }