From 0665ae97f2b512a022c870d2f706770108e4ff0f Mon Sep 17 00:00:00 2001 From: Antonio Trande Date: Dec 23 2021 17:22:00 +0000 Subject: Release 2.0.1 --- diff --git a/.gitignore b/.gitignore index 09ed77b..373f9e8 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /ProDy-1.10.10.tar.gz /ProDy-1.11.tar.gz /ProDy-2.0.tar.gz +/ProDy-2.0.1.tar.gz diff --git a/ProDy.spec b/ProDy.spec index 9cfe8a2..eeffaeb 100644 --- a/ProDy.spec +++ b/ProDy.spec @@ -1,20 +1,10 @@ ## https://github.com/prody/ProDy/issues/266 ExcludeArch: ppc64 s390x -%if 0%{?fedora} || 0%{?rhel} > 7 -%global with_python3 1 -%endif - # Tests need internet connection; # correctly executed in local. %global with_check 0 -%if 0%{?rhel} && 0%{?rhel} == 7 -%global with_python3 0 -%{!?python2_shortver: %global python2_shortver %(%{__python2} -c 'import sys; print(str(sys.version_info.major) + "." + str(sys.version_info.minor))')} -%{!?python3_shortver: %global python3_shortver %(%{__python3} -c 'import sys; print(str(sys.version_info.major) + "." + str(sys.version_info.minor))')} -%endif - ## Filtering of private libraries %global _privatelibs ^%{python3_sitearch}/prody/.*\\.so$ %global __provides_exclude_from ^(%{_privatelibs})$ @@ -22,8 +12,8 @@ ExcludeArch: ppc64 s390x Name: ProDy Summary: Application for protein structure, dynamics and sequence analysis -Version: 2.0 -Release: 3%{?dist} +Version: 2.0.1 +Release: 1%{?dist} # MIT is the main license for ProDy # prody/utilities/tnt/* code --> 'Public domain' license @@ -43,49 +33,6 @@ comes with several analysis applications and a graphical user interface for visual analysis. - Visit http://www.csb.pitt.edu/ProDy/ - -%if 0%{?rhel} -%package -n python2-%{name} -Summary: Application for protein structure, dynamics and sequence analysis -%{?python_provide:%python_provide python2-%{name}} -Provides: ProDy = 0:%{version}-%{release} - -### Pyparsing is used to define the atom selection grammar -### Biopython KDTree package and pairwise2 module are used for distance based -## atom selections and pairwise sequence alignment, respectively. -# -### argparse is used to implement applications and provided for -## compatibility with Python 2.6. -BuildRequires: python2-devel -BuildRequires: python-nose -BuildRequires: python-argparse -BuildRequires: scipy -BuildRequires: python2-biopython -BuildRequires: numpy >= 1:1.10.0 -BuildRequires: python-matplotlib -BuildRequires: python-unittest2 -BuildRequires: pyparsing - -Requires: python-argparse -Requires: pyparsing -Requires: python2-biopython -Requires: ipython, pyparsing -Requires: scipy -Requires: numpy >= 1:1.10.0 - -## Explicit library require for using plotting functions -Requires: python-matplotlib - -%description -n python2-%{name} -This is ProDy Python2 package for protein structure, dynamics, -and sequence analysis. It allows for comparative analysis and modeling of -protein structural dynamics and sequence co-evolution. Fast and flexible ProDy -API is for interactive usage as well as application development. ProDy also -comes with several analysis applications and a graphical user interface for -visual analysis. -- Visit http://www.csb.pitt.edu/ProDy/ - -%endif - -%if 0%{?with_python3} %package -n python3-%{name} Summary: Application for protein structure, dynamics and sequence analysis %{?python_provide:%python_provide python3-%{name}} @@ -117,8 +64,6 @@ API is for interactive usage as well as application development. ProDy also comes with several analysis applications and a graphical user interface for visual analysis. - Visit http://www.csb.pitt.edu/ProDy/ - -%endif -# with_python3 %prep %setup -qc @@ -127,35 +72,14 @@ visual analysis. find %{name}-%{version}/prody/proteins/ccealign -name '*.h' -exec chmod 0644 '{}' \; find %{name}-%{version}/prody/proteins/ccealign -name '*.cpp' -exec chmod 0644 '{}' \; -%if 0%{?rhel} -cp -a %{name}-%{version} python2 -%endif - -%if 0%{?with_python3} mv %{name}-%{version} python3 -%endif -# with_python3 %build - -# Unversioned commands point to Python3 on Fedora and EPEL8+ -# Unversioned commands point to Python2 on Fedora and EPEL7 - -%if 0%{?rhel} -pushd python2 -%py2_build -popd -%endif - -%if 0%{?with_python3} pushd python3 %py3_build popd -%endif -# with_python3 %install -%if 0%{?with_python3} pushd python3 %py3_install @@ -189,69 +113,15 @@ for i in evol-%{python3_version}; do ln -sf %{_bindir}/python%{python3_version}-evol $RPM_BUILD_ROOT%{_bindir}/$i done cd .. -%endif - -%if 0%{?rhel} -pushd python2 -%py2_install - -mkdir -p $RPM_BUILD_ROOT%{_bindir} - -cd scripts -cp -pr ./prody ./python%{python2_version}-prody -cp -pr ./evol ./python%{python2_version}-evol - -for i in prody prody-%{python2_version}; do - touch -r ./python%{python2_version}-prody $i - install -p $i $RPM_BUILD_ROOT%{_bindir} - install -p ./prody $RPM_BUILD_ROOT%{_bindir} - install -p ./python%{python2_version}-prody $RPM_BUILD_ROOT%{_bindir} - ln -sf %{_bindir}/python%{python2_version}-prody $RPM_BUILD_ROOT%{_bindir}/$i -done - -for i in evol evol-%{python2_version}; do - touch -r ./python%{python2_version}-evol $i - install -p $i $RPM_BUILD_ROOT%{_bindir} - install -p ./evol $RPM_BUILD_ROOT%{_bindir} - install -p ./python%{python2_version}-evol $RPM_BUILD_ROOT%{_bindir} - ln -sf %{_bindir}/python%{python2_version}-evol $RPM_BUILD_ROOT%{_bindir}/$i -done -popd -%endif %if 0%{?with_check} %check -%if 0%{?rhel} -## Some tests are skipped for missing internet connections on koji -pushd python2/scripts -PYTHONPATH=$RPM_BUILD_ROOT%{python2_sitearch} nosetests --verbosity=2 \ - -w $RPM_BUILD_ROOT%{python2_sitearch}/prody/tests --tests prody -a '!slow' -popd -%endif - -%if 0%{?with_python3} pushd python3/scripts PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch} nosetests-%{python3_version} --verbosity=2 \ -w $RPM_BUILD_ROOT%{python3_sitearch}/prody/tests --tests prody -a '!slow' popd %endif -%endif -%if 0%{?rhel} -%files -n python2-%{name} -%doc python2/README.rst -%license python2/LICENSE.rst -%{_bindir}/prody -%{_bindir}/prody-%{python2_version} -%{_bindir}/python%{python2_version}-prody -%{_bindir}/evol -%{_bindir}/evol-%{python2_version} -%{_bindir}/python%{python2_version}-evol -%{python2_sitearch}/prody/ -%{python2_sitearch}/%{name}-*.egg-info -%endif - -%if 0%{?with_python3} %files -n python3-%{name} %license python3/LICENSE.rst %doc python3/README.rst @@ -263,9 +133,12 @@ popd %{_bindir}/python%{python3_version}-evol %{python3_sitearch}/prody/ %{python3_sitearch}/%{name}-*.egg-info -%endif %changelog +* Thu Dec 23 2021 Antonio Trande - 2.0.1-1 +- Release 2.0.1 +- Remove Python instructions + * Wed Jul 21 2021 Fedora Release Engineering - 2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 5a70324..57d0a9b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ProDy-2.0.tar.gz) = cfa53b7a012b28f5b306690519b67cf2a1bdcc54055ef6f1b617a36859bcc6a19bc374e8a068db3e8f4d719fc3e41ab0839659f5ee86030788608dac006358ca +SHA512 (ProDy-2.0.1.tar.gz) = a8975286f7cf65fd4fc45efa9c11013c7c226ebdb127f3044514d35d7927afefef885c6ee682ec906f1abe7165052b7850f203755202f9518488b10e2d27162e