Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Try hard to get the .version file created
· 972a7be1
Andreas Tille
authored
Mar 10, 2019
972a7be1
Add pytest build-depends
· bc9b9fd4
Andreas Tille
authored
Mar 10, 2019
bc9b9fd4
Show whitespace changes
Inline
Side-by-side
debian/control
View file @
bc9b9fd4
...
...
@@ -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
...
...
debian/patches/do_not_use_git_in_configure.patch
0 → 100644
View file @
bc9b9fd4
--- 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
debian/patches/series
0 → 100644
View file @
bc9b9fd4
do_not_use_git_in_configure.patch
debian/rules
View file @
bc9b9fd4
...
...
@@ -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)))
...
...