[med-svn] [Git][med-team/python-parasail][master] 6 commits: New upstream version 1.2.2

Nilesh Patra gitlab at salsa.debian.org
Tue Dec 8 19:41:21 GMT 2020



Nilesh Patra pushed to branch master at Debian Med / python-parasail


Commits:
b46c4adc by Nilesh Patra at 2020-12-09T01:05:12+05:30
New upstream version 1.2.2
- - - - -
2c466c3e by Nilesh Patra at 2020-12-09T01:05:12+05:30
routine-update: New upstream version

- - - - -
ae6756a3 by Nilesh Patra at 2020-12-09T01:05:12+05:30
Update upstream source from tag 'upstream/1.2.2'

Update to upstream version '1.2.2'
with Debian dir f46ab0dcdbae078d877fbca7dc8231413978e8f8
- - - - -
d2abd945 by Nilesh Patra at 2020-12-09T01:05:13+05:30
routine-update: Standards-Version: 4.5.1

- - - - -
18e9f754 by Nilesh Patra at 2020-12-09T01:08:09+05:30
Refresh patches

- - - - -
5c01174f by Nilesh Patra at 2020-12-09T01:08:31+05:30
routine-update: Ready to upload to unstable

- - - - -


7 changed files:

- CHANGELOG.rst
- debian/changelog
- debian/control
- debian/patches/find-parasail-so-file-from-system.patch
- parasail/__init__.py
- + requirements.txt
- setup.py


Changes:

=====================================
CHANGELOG.rst
=====================================
@@ -10,6 +10,11 @@ Unreleased_
 -----------
 The Unreleased section will be empty for tagged releases. Unreleased functionality appears in the develop branch.
 
+-------------------
+1.2.2_ - 2020-12-01
+-------------------
+- Fix #55 Error installing parasail on macos
+
 -------------------
 1.2.1_ - 2020-11-03
 -------------------
@@ -148,7 +153,8 @@ The Unreleased section will be empty for tagged releases. Unreleased functionali
 -------------------
 First tagged release. The 'master' branch always represents the latest stable code. Tagged releases correspond to pypi releases.
 
-.. _Unreleased: https://github.com/jeffdaily/parasail-python/compare/v1.2.1...master
+.. _Unreleased: https://github.com/jeffdaily/parasail-python/compare/v1.2.2...master
+.. _1.2.2:   https://github.com/jeffdaily/parasail-python/compare/v1.2.1...v1.2.2
 .. _1.2.1:   https://github.com/jeffdaily/parasail-python/compare/v1.2...v1.2.1
 .. _1.2:     https://github.com/jeffdaily/parasail-python/compare/v1.1.20...v1.2
 .. _1.1.20:  https://github.com/jeffdaily/parasail-python/compare/v1.1.19...v1.1.20


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+python-parasail (1.2.2-1) unstable; urgency=medium
+
+  * New upstream version
+  * Standards-Version: 4.5.1 (routine-update)
+  * Refresh patch
+
+ -- Nilesh Patra <npatra974 at gmail.com>  Wed, 09 Dec 2020 01:08:31 +0530
+
 python-parasail (1.2.1-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
@@ -11,7 +11,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-wheel,
                libparasail-dev,
                python3-pytest <!nocheck>
-Standards-Version: 4.5.0
+Standards-Version: 4.5.1
 Vcs-Browser: https://salsa.debian.org/med-team/python-parasail
 Vcs-Git: https://salsa.debian.org/med-team/python-parasail.git
 Homepage: https://github.com/jeffdaily/parasail-python


=====================================
debian/patches/find-parasail-so-file-from-system.patch
=====================================
@@ -4,15 +4,7 @@ Last-Update: Thu, 23 Apr 2020 01:41:10 +0530
 
 --- a/setup.py
 +++ b/setup.py
-@@ -422,7 +422,6 @@
- 
- class bdist_wheel(bdist_wheel_):
-     def run(self):
--        prepare_shared_lib()
-         bdist_wheel_.run(self)
- 
-     def finalize_options(self):
-@@ -433,7 +432,6 @@
+@@ -421,7 +421,6 @@
  
  class install(install_):
      def run(self):
@@ -20,3 +12,11 @@ Last-Update: Thu, 23 Apr 2020 01:41:10 +0530
          install_.run(self)
  
  
+@@ -431,7 +430,6 @@
+         from wheel.bdist_wheel import bdist_wheel as bdist_wheel_
+         class bdist_wheel(bdist_wheel_):
+             def run(self):
+-                prepare_shared_lib()
+                 bdist_wheel_.run(self)
+ 
+             def finalize_options(self):


=====================================
parasail/__init__.py
=====================================
@@ -6,7 +6,7 @@ import sys
 
 import numpy
 
-__version__ = "1.2.1"
+__version__ = "1.2.2"
 __title__ = "parasail"
 __description__ = "pairwise sequence alignment library"
 __uri__ = "https://github.com/jeffdaily/parasail-python"


=====================================
requirements.txt
=====================================
@@ -0,0 +1 @@
+numpy


=====================================
setup.py
=====================================
@@ -15,7 +15,6 @@ import zipfile
 
 from distutils.util import get_platform
 from setuptools import setup
-from wheel.bdist_wheel import bdist_wheel as bdist_wheel_
 from setuptools.command.install import install as install_
 
 ###############################################################################
@@ -47,7 +46,7 @@ CLASSIFIERS = [
     "Topic :: Scientific/Engineering :: Bio-Informatics",
     "Topic :: Software Development :: Libraries :: Python Modules",
 ]
-INSTALL_REQUIRES = ["numpy", "wheel"]
+INSTALL_REQUIRES = ["numpy"]
 
 ###############################################################################
 
@@ -420,17 +419,6 @@ def prepare_shared_lib():
     if not os.path.exists(libpath):
         raise RuntimeError("Unable to find shared library {}.".format(libname))
 
-class bdist_wheel(bdist_wheel_):
-    def run(self):
-        prepare_shared_lib()
-        bdist_wheel_.run(self)
-
-    def finalize_options(self):
-        bdist_wheel_.finalize_options(self)
-        self.universal = True
-        self.plat_name_supplied = True
-        self.plat_name = get_platform()
-
 class install(install_):
     def run(self):
         prepare_shared_lib()
@@ -438,6 +426,23 @@ class install(install_):
 
 
 if __name__ == "__main__":
+    cmdclass = {}
+    try:
+        from wheel.bdist_wheel import bdist_wheel as bdist_wheel_
+        class bdist_wheel(bdist_wheel_):
+            def run(self):
+                prepare_shared_lib()
+                bdist_wheel_.run(self)
+
+            def finalize_options(self):
+                bdist_wheel_.finalize_options(self)
+                self.universal = True
+                self.plat_name_supplied = True
+                self.plat_name = get_platform()
+        cmdclass = {'bdist_wheel': bdist_wheel, 'install': install}
+    except ImportError:
+        cmdclass = {'install': install}
+
     long_description = ""
     try:
         long_description = open("README.rst", encoding="utf8").read()
@@ -457,7 +462,7 @@ if __name__ == "__main__":
         keywords=KEYWORDS,
         packages=PACKAGES,
         package_data={"parasail": [get_libname()]},
-        cmdclass={'bdist_wheel': bdist_wheel, 'install': install},
+        cmdclass=cmdclass,
         zip_safe=False,
         classifiers=CLASSIFIERS,
         install_requires=INSTALL_REQUIRES,



View it on GitLab: https://salsa.debian.org/med-team/python-parasail/-/compare/781a7f2b8c725af25091bb7bde5eddacd55bf39a...5c01174fbf5090e3b75d351008b75f57f2a0aac4

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-parasail/-/compare/781a7f2b8c725af25091bb7bde5eddacd55bf39a...5c01174fbf5090e3b75d351008b75f57f2a0aac4
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20201208/b442dd52/attachment-0001.html>


More information about the debian-med-commit mailing list