2019-02-12 04:09:38 +00:00
|
|
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
require cargo [ channel=stable ]
|
|
|
|
require github [ user=Peltoche tag="${PV}" ]
|
|
|
|
|
|
|
|
SUMMARY="The next gen ls command"
|
|
|
|
HOMEPAGE="https://crates.io/crates/lsd ${HOMEPAGE}"
|
|
|
|
|
|
|
|
LICENCES="Apache-2.0"
|
|
|
|
SLOT="0"
|
|
|
|
PLATFORMS="~amd64 ~x86"
|
|
|
|
MYOPTIONS=""
|
|
|
|
|
|
|
|
DEPENDENCIES="
|
|
|
|
"
|
|
|
|
|
|
|
|
BUGS_TO="hasufell@posteo.de"
|
|
|
|
|
2019-02-21 18:39:32 +00:00
|
|
|
src_test() {
|
|
|
|
local test_socket="unix:${TEMP}/test_socket_type.*/socket.tmp"
|
|
|
|
esandbox allow_net --bind "${test_socket}"
|
|
|
|
cargo_src_test
|
|
|
|
esandbox disallow_net "${test_socket}"
|
|
|
|
}
|
|
|
|
|