rename cargo-deps.py to cargodeps.py

To allow importing from outside. import cargo-deps doesn't really work.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-01-30 23:21:21 +01:00
parent 1ac75bb703
commit cd9f892d51
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
%__cargo_provides %{_rpmconfigdir}/cargo-deps.py --provides
%__cargo_requires %{_rpmconfigdir}/cargo-deps.py --requires
%__cargo_conflicts %{_rpmconfigdir}/cargo-deps.py --conflicts
%__cargo_provides %{_rpmconfigdir}/cargodeps.py --provides
%__cargo_requires %{_rpmconfigdir}/cargodeps.py --requires
%__cargo_conflicts %{_rpmconfigdir}/cargodeps.py --conflicts
%__cargo_path ^%{cargo_registry}/[^/]+/Cargo\\.toml$

View file

@ -12,7 +12,7 @@ pub fn say_hello() {
println!("Hello, World!");
}
"""
DEPGEN = os.path.join(os.path.dirname(__file__), "cargo-deps.py")
DEPGEN = os.path.join(os.path.dirname(__file__), "cargodeps.py")
@pytest.fixture