File: reorder-import.patch

package info (click to toggle)
python-pyscss 1.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,340 kB
  • sloc: python: 12,642; ansic: 1,550; makefile: 146; sh: 6
file content (29 lines) | stat: -rw-r--r-- 831 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Nilesh Patra <nilesh@debian.org>
Date: Fri, 18 Nov 2022 18:34:11 +0200
Subject: setuptools monkey-patch distutils,
 hence re-order to avoid build failures

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022454
Last-Update: 2022-10-27
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index f159453..6cbccb5 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,5 @@
 #!/usr/bin/env python
+from setuptools import setup, Extension
 from distutils.command.build_ext import build_ext
 from distutils.errors import CCompilerError, DistutilsExecError, \
     DistutilsPlatformError
@@ -6,7 +7,6 @@ import os
 import platform
 import sys
 
-from setuptools import setup, Extension
 
 # this imports PROJECT, URL, VERSION, AUTHOR, AUTHOR_EMAIL, LICENSE,
 # DOWNLOAD_URL