Skip to content

Commit

Permalink
Merge pull request #7304 from cms-sw/test-download-usercommand
Browse files Browse the repository at this point in the history
added dummy test-download package to show how to use custom download command
  • Loading branch information
smuzaffar committed Sep 14, 2021
2 parents 02c3136 + d541cec commit be91448
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pip/cmstest.file

This file was deleted.

2 changes: 2 additions & 0 deletions pip/requirements.txt
Expand Up @@ -284,6 +284,8 @@ tensorboard-plugin-wit==1.8.0
termcolor==1.1.0
terminado==0.11.1
testpath==0.5.0
#NO_AUTO_UPDATE: Below is a dummy test package to show how to use custom download command to download a package source.
test-download==7.44.1
theanets==0.7.3
Theano==1.0.5
toml==0.10.2
Expand Down
2 changes: 2 additions & 0 deletions pip/test-download.file
@@ -0,0 +1,2 @@
%define pip_name pycurl
%define source0 usercommand://%{pip_name}?package_dependency=py3-pip,git&command=pip3%%20download%%20--no-deps%%20--no-binary%%3D:all:%%20--disable-pip-version-check%%20-d%%20.%%20%{pip_name}==%{realversion};/bin/ls%%20|grep%%20-v%%20files.list>%%20files.list&output=/source.tar.gz

0 comments on commit be91448

Please sign in to comment.