mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / development / python-modules / gattlib / setup.patch
blob32c3b1be496d1bbb7915a4dfcd70aeb5bf5c42a6
1 diff --git a/setup.py b/setup.py
2 index 0825241..389a59e 100755
3 --- a/setup.py
4 +++ b/setup.py
5 @@ -11,12 +11,7 @@ extension_modules = []
8 def get_boost_version(out=None):
9 - if out is None:
10 - out = subprocess.check_output(
11 - r"ldconfig -p | grep -E 'libboost_python.*\.so '", shell=True)
13 - ver = os.path.splitext(out.split()[0][3:])[0].decode()
14 - return ver
15 + return "@boost_version@"
17 def tests():
18 # case: python3-py3x.so