Étienne Mollier pushed to branch master at Debian Med / python-freecontact
Commits: 96025590 by Laszlo Kajan at 2013-07-17T19:03:32+02:00 Import python-freecontact_1.1.orig.tar.gz [dgit import orig python-freecontact_1.1.orig.tar.gz] - - - - - ddd89b44 by Andreas Tille at 2022-01-21T15:57:08+01:00 Import python-freecontact_1.1-6.debian.tar.xz [dgit import tarball python-freecontact 1.1-6 python-freecontact_1.1-6.debian.tar.xz] - - - - - b1451b8e by Andreas Tille at 2022-01-21T15:57:08+01:00 python-freecontact (1.1-6) unstable; urgency=medium * Upstream download vanished * Standards-Version: 4.6.0 (routine-update) * debhelper-compat 13 (routine-update) * Add salsa-ci file (routine-update) * Rules-Requires-Root: no (routine-update) [dgit import unpatched python-freecontact 1.1-6] - - - - - fa4bb493 by Alex Mestiashvili at 2022-01-21T15:57:08+01:00 Partially fix test to work with python3 Gbp-Pq: Name py3_test_fixes.patch - - - - - b3510f73 by Alex Mestiashvili at 2022-01-21T15:57:08+01:00 properly link to libboost_python3X versions python3 module Gbp-Pq: Name py3_boost.patch - - - - - 0af81d70 by Étienne Mollier at 2024-09-11T21:00:08+02:00 Commit Debian 3.0 (quilt) metadata [dgit (11.11) quilt-fixup] - - - - - 64efa8be by Étienne Mollier at 2024-09-11T20:31:05+02:00 Declare fast forward from 1.1-6 [dgit --overwrite] - - - - - 4 changed files: - + debian/patches/debian-changes - − debian/patches/py3_boost.patch - − debian/patches/py3_test_fixes.patch - debian/patches/series Changes: ===================================== debian/patches/debian-changes ===================================== @@ -0,0 +1,17 @@ +Description: Autogenerated patch header for a single-debian-patch file. + The delta against upstream is either kept as a single patch, or maintained + in some VCS, and exported as a single patch instead of more manageable + atomic patches. +Forwarded: not-needed + +--- +--- /dev/null ++++ python-freecontact-1.1/.gitignore +@@ -0,0 +1,7 @@ ++build ++*.swp ++files ++*.debhelper.log ++*.substvars ++python-freecontact ++.pc ===================================== debian/patches/py3_boost.patch deleted ===================================== @@ -1,24 +0,0 @@ -From: Alex Mestiashvili <[email protected]> -Description: properly link to libboost_python3X versions python3 module ---- python-freecontact.orig/setup.py -+++ python-freecontact/setup.py -@@ -17,6 +17,10 @@ - # - from distutils.core import setup, Extension - from glob import glob -+import sys -+PY3K=(sys.version_info[0]==3) -+ -+boost_py_bindings='boost_python3%d'%(sys.version_info[1]) if PY3K else 'boost_python' - - setup( name = 'python-freecontact', - version = '1.1', -@@ -30,7 +34,7 @@ - ext_modules = [Extension( - name = 'freecontact', - sources = glob('src/*.cpp'), -- libraries = ['freecontact', 'boost_python'])] -+ libraries = ['freecontact', boost_py_bindings])] - ) - - # vim:et:ts=4:ai: ===================================== debian/patches/py3_test_fixes.patch deleted ===================================== @@ -1,46 +0,0 @@ -From: Alex Mestiashvili <[email protected]> -Description: Partially fix test to work with python3 ---- python-freecontact.orig/test/test01.py -+++ python-freecontact/test/test01.py -@@ -1,4 +1,3 @@ --#!/usr/bin/python - # FreeContact - program to predict protein residue contacts from a sufficiently large multiple alignment - # Copyright (C) 2013 by Laszlo Kajan, Technical University of Munich, Germany - # -@@ -18,6 +17,7 @@ - import freecontact - import unittest - from test import test_support -+import sys - - class MyTestCase1(unittest.TestCase): - -@@ -55,10 +55,14 @@ - fcp = freecontact.Predictor(dbg = True) - - # run with timing test -- res = fcp.run(ali = aln, num_threads = num_threads, timing = timing) -+ res = fcp.run(ali = list(aln), num_threads = num_threads, timing = timing) - assert abs(res['fro'][2741][2] - evfold_24_42) / evfold_24_42 < prec_threshold # 25 K 43 N 0.230969 0.0129471 - assert timing['num_threads'] == num_threads - -+ if (sys.version_info[0]==3): -+ print ('\033[1m'+'\n\t!!!Skipping the rest of the tests for python3.%d'%(sys.version_info[1])+', need to be fixed!' + '\033[0m') -+ return None -+ - # run psicov with icme_timeout exception test - try: - args = freecontact.get_ps_psicov(); args.update({'ali': aln, 'num_threads': num_threads, 'icme_timeout': 2, 'timing': None}) -@@ -80,10 +84,10 @@ - assert abs(res['fro'][2741][2] - evfold_24_42) / evfold_24_42 < prec_threshold - - def test_main(): -- test_support.run_unittest(MyTestCase1 -- ) -+ unittest.TextTestRunner().run(suite) - - if __name__ == '__main__': -+ suite = unittest.defaultTestLoader.loadTestsFromTestCase(MyTestCase1) - test_main() - - # vim:et:ts=4:ai: ===================================== debian/patches/series ===================================== @@ -1,2 +1 @@ -py3_test_fixes.patch -py3_boost.patch +debian-changes View it on GitLab: https://salsa.debian.org/med-team/python-freecontact/-/compare/f1d05764bf61015c2f4788fb298489c28ecf5399...64efa8beefbfa02255b3e3bff1bce124832dc63d -- View it on GitLab: https://salsa.debian.org/med-team/python-freecontact/-/compare/f1d05764bf61015c2f4788fb298489c28ecf5399...64efa8beefbfa02255b3e3bff1bce124832dc63d You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
