Skip to content

Commit

Permalink
Update package.py (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpadioleau authored Sep 22, 2024
1 parent 835e0ed commit a318a62
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/pdi/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def url_for_version(self, version):
fixed = ''
if version <= Version('1.7.1'):
return (f"https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/"
+ "{version}/pdi-{version}.tar.bz2")
+ f"{version}/pdi-{version}.tar.bz2")
return f"https://github.com/pdidev/pdi/archive/refs/tags/{version}.tar.gz"

def cmake_args(self):
Expand Down
2 changes: 1 addition & 1 deletion packages/pdiplugin-decl-hdf5/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def url_for_version(self, version):
fixed = ''
if version <= Version('1.7.1'):
return (f"https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/"
+ "{version}/pdi-{version}.tar.bz2")
+ f"{version}/pdi-{version}.tar.bz2")
return f"https://github.com/pdidev/pdi/archive/refs/tags/{version}.tar.gz"

def cmake_args(self):
Expand Down
2 changes: 1 addition & 1 deletion packages/pdiplugin-decl-netcdf/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def url_for_version(self, version):
fixed = ''
if version <= Version('1.7.1'):
return (f"https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/"
+ "{version}/pdi-{version}.tar.bz2")
+ f"{version}/pdi-{version}.tar.bz2")
return f"https://github.com/pdidev/pdi/archive/refs/tags/{version}.tar.gz"

def cmake_args(self):
Expand Down
2 changes: 1 addition & 1 deletion packages/pdiplugin-mpi/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def url_for_version(self, version):
fixed = ''
if version <= Version('1.7.1'):
return (f"https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/"
+ "{version}/pdi-{version}.tar.bz2")
+ f"{version}/pdi-{version}.tar.bz2")
return f"https://github.com/pdidev/pdi/archive/refs/tags/{version}.tar.gz"

def cmake_args(self):
Expand Down
2 changes: 1 addition & 1 deletion packages/pdiplugin-pycall/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def url_for_version(self, version):
fixed = ''
if version <= Version('1.7.1'):
return (f"https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/"
+ "{version}/pdi-{version}.tar.bz2")
+ f"{version}/pdi-{version}.tar.bz2")
return f"https://github.com/pdidev/pdi/archive/refs/tags/{version}.tar.gz"

def cmake_args(self):
Expand Down
2 changes: 1 addition & 1 deletion packages/pdiplugin-serialize/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def url_for_version(self, version):
fixed = ''
if version <= Version('1.7.1'):
return (f"https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/"
+ "{version}/pdi-{version}.tar.bz2")
+ f"{version}/pdi-{version}.tar.bz2")
return f"https://github.com/pdidev/pdi/archive/refs/tags/{version}.tar.gz"

def cmake_args(self):
Expand Down
2 changes: 1 addition & 1 deletion packages/pdiplugin-set-value/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def url_for_version(self, version):
fixed = ''
if version <= Version('1.7.1'):
return (f"https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/"
+ "{version}/pdi-{version}.tar.bz2")
+ f"{version}/pdi-{version}.tar.bz2")
return f"https://github.com/pdidev/pdi/archive/refs/tags/{version}.tar.gz"

def cmake_args(self):
Expand Down
2 changes: 1 addition & 1 deletion packages/pdiplugin-trace/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def url_for_version(self, version):
fixed = ''
if version <= Version('1.7.1'):
return (f"https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/"
+ "{version}/pdi-{version}.tar.bz2")
+ f"{version}/pdi-{version}.tar.bz2")
return f"https://github.com/pdidev/pdi/archive/refs/tags/{version}.tar.gz"

def cmake_args(self):
Expand Down
2 changes: 1 addition & 1 deletion packages/pdiplugin-user-code/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def url_for_version(self, version):
fixed = ''
if version <= Version('1.7.1'):
return (f"https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/"
+ "{version}/pdi-{version}.tar.bz2")
+ f"{version}/pdi-{version}.tar.bz2")
return f"https://github.com/pdidev/pdi/archive/refs/tags/{version}.tar.gz"

def cmake_args(self):
Expand Down

0 comments on commit a318a62

Please sign in to comment.