[med-svn] [Git][med-team/macsyfinder][master] debian/patches/allow_setuptools: added to fix build. Closes: #933928

Michael R. Crusoe gitlab at salsa.debian.org
Sat Jan 30 08:45:35 GMT 2021



Michael R. Crusoe pushed to branch master at Debian Med / macsyfinder


Commits:
421623a1 by Michael R. Crusoe at 2021-01-30T09:39:19+01:00
debian/patches/allow_setuptools: added to fix build. Closes: #933928

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/allow_setuptools
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,5 +1,8 @@
 macsyfinder (2.0~rc1-1) UNRELEASED; urgency=medium
 
+  * Team upload
+
+  [ Andreas Tille ]
   * New upstream version
     Closes: #936977
   * Fixed watch file
@@ -11,6 +14,9 @@ macsyfinder (2.0~rc1-1) UNRELEASED; urgency=medium
     Repository-Browse.
   * Build-Depends: python3-setuptools
 
+  [ Michael R. Crusoe ]
+  * debian/patches/allow_setuptools: added to fix build. Closes: #933928
+
  -- Andreas Tille <tille at debian.org>  Fri, 06 Sep 2019 10:40:05 +0200
 
 macsyfinder (1.0.5-3) unstable; urgency=medium


=====================================
debian/patches/allow_setuptools
=====================================
@@ -0,0 +1,17 @@
+Author: Michael R. Crusoe <crusoe at debian.org>
+Description: Allow building with setuptools
+Forwarded: not-needed
+--- macsyfinder.orig/setup.py
++++ macsyfinder/setup.py
+@@ -50,10 +50,7 @@
+         _install_lib.finalize_options(self)
+ 
+     def run(self):
+-        if INSTALLER == 'pip':
+-            script_tmp_dir = self.build_dir
+-        else:  # setuptools
+-            raise DistutilsSetupError("'setuptools' is not supported. Please use 'pip' instead.")
++        script_tmp_dir = self.build_dir
+ 
+         def subst_file(_file, vars_2_subst):
+             input_file = os.path.join(script_tmp_dir, _file)


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 skip_failing_test.patch
+allow_setuptools



View it on GitLab: https://salsa.debian.org/med-team/macsyfinder/-/commit/421623a15e365930a72f4c874d378db053db05c3

-- 
View it on GitLab: https://salsa.debian.org/med-team/macsyfinder/-/commit/421623a15e365930a72f4c874d378db053db05c3
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/20210130/947aed39/attachment-0001.html>


More information about the debian-med-commit mailing list