Skip to content
Commits on Source (2)
......@@ -8,7 +8,9 @@ Build-Depends: debhelper (>= 12~),
python3,
python3-setuptools,
python3-pycosat,
python3-requests
python3-requests,
python3-ruamel.yaml,
python3-pytest
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/conda
Vcs-Git: https://salsa.debian.org/med-team/conda.git
......
--- a/conda/_vendor/auxlib/packaging.py
+++ b/conda/_vendor/auxlib/packaging.py
@@ -157,7 +157,7 @@ def get_version(dunder_file):
"""
path = abspath(expanduser(dirname(dunder_file)))
try:
- return _get_version_from_version_file(path) or _get_version_from_git_tag(path)
+ return _get_version_from_version_file(path) # or _get_version_from_git_tag(path)
except CalledProcessError as e:
log.warn(repr(e))
return None
do_not_use_git_in_configure.patch
......@@ -20,6 +20,14 @@ include /usr/share/dpkg/default.mk
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_clean:
dh_auto_clean
rm -f conda/.version
override_dh_auto_configure:
echo $(DEB_VERSION_UPSTREAM) > conda/.version
dh_auto_configure
### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
#override_dh_auto_test:
#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
......