Debian Codegraph @

debian/patches/fix_version.patch

raw symbols SCIP
1 Authorscip-debian debian python-pbcommand 2.1.1+git20231020.28d1635-2 python-pbcommand/patches/`fix_version.patch`#Author.: Andreas Tille <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Last-Updatescip-debian debian python-pbcommand 2.1.1+git20231020.28d1635-2 python-pbcommand/patches/`fix_version.patch`#Last-Update.: Sat, 07 Dec 2019 21:44:15 +0100
3 Descriptionscip-debian debian python-pbcommand 2.1.1+git20231020.28d1635-2 python-pbcommand/patches/`fix_version.patch`#Description.: For some reason pkg_resources.get_distribution('pbcommand') fails
4 This patch makes sure a valid version will be set initially
5 .
6 FIXME: Needs to be adapted fro new upstream versions
7
8 --- a/pbcommand/__init__.pyscip-debian debian python-pbcommand 2.1.1+git20231020.28d1635-2 python-pbcommand/upstream/`pbcommand/__init__.py`:
9 +++ b/pbcommand/__init__.pyscip-debian debian python-pbcommand 2.1.1+git20231020.28d1635-2 python-pbcommand/upstream/`pbcommand/__init__.py`:
10 @@ -4,7 +4,7 @@ import sys
11 try:
12 __VERSION__ = pkg_resources.get_distribution('pbcommand').version
13 except Exception:
14 - __VERSION__ = 'unknown'
15 + __VERSION__ = '2.4.0'
16
17 VERSION = (int(x) for x in __VERSION__.split('.'))
18