diff --git a/.gitignore b/.gitignore index f0e606b..a042636 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ biopython-1.54.tar.gz /biopython-1.66.tar.gz /biopython-biopython-167.tar.gz /biopython-1.68.tar.gz +/biopython-1.69.tar.gz diff --git a/python-biopython.spec b/python-biopython.spec index c4b8c3c..4d016a5 100644 --- a/python-biopython.spec +++ b/python-biopython.spec @@ -19,13 +19,16 @@ %global module biopython Name: python-biopython -Version: 1.68 -Release: 3%{?dist} +Version: 1.69 +Release: 1%{?dist} Summary: Python tools for computational molecular biology Source0: http://biopython.org/DIST/biopython-%{version}.tar.gz -License: MIT + +# Starting from biopython-1.69, BioPython is released under the +# "Biopython License Agreement"; it looks like a MIT variant +# bz#1440337 +License: MIT and BSD URL: http://www.biopython.org/ -Group: Development/Libraries BuildRequires: python2-devel BuildRequires: flex-devel @@ -139,9 +142,10 @@ popd ##http://lists.open-bio.org/pipermail/biopython-dev/2014-May/020541.html %if 0%{?with_check} %check -pushd python2/Tests +pushd python2 +export PYTHONPATH=$RPM_BUILD_ROOT%{python2_sitearch} find . -name 'run_tests.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|' -for test in `ls test_*.py | grep -v Tutorial`; do +for test in `ls test_*.py | grep -v chapter | grep -v DSSP | grep -v Tutorial`; do %{__python2} run_tests.py --offline -v ${test} done popd @@ -150,8 +154,9 @@ popd %if 0%{?with_python3} pushd python3/Tests find . -name 'run_tests.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python3}|' -for test in `ls test_*.py | grep -v test_Tutorial | grep -v test_NCBIXML | grep -v test_Phylo | grep -v test_SeqIO`; do +for test in `ls test_*.py | grep -v chapter | grep -v NCBIXML | grep -v Nexus | grep -v Phylo | grep -v SeqIO | grep -v Tutorial`; do echo $LANG +export PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch} %{__python3} run_tests.py --offline -v ${test} done popd @@ -184,10 +189,13 @@ popd %license python2/LICENSE %changelog +* Wed Apr 12 2017 Antonio Trande - 1.69-1 +- Update to 1.69 + * Sat Feb 11 2017 Fedora Release Engineering - 1.68-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild -* Mon Dec 19 2016 Miro HronĨok - 1.68-2 +* Mon Dec 19 2016 Miro Hronok - 1.68-2 - Rebuild for Python 3.6 * Sat Aug 27 2016 Antonio Trande - 1.68-1 diff --git a/sources b/sources index c46a3ba..1769c3d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -078e915185485a5327937029b7577ddc biopython-1.68.tar.gz +SHA512 (biopython-1.69.tar.gz) = 5762f53523950bc5fa53415cda82092f55dd146f5f400005a487607dab9db9fc5194945977a2e5ae14bee0aee85e946847fd2f2477d74b71c30e583f96603c1f