File: debian-changes-0.1.30-2

package info (click to toggle)
python-slimmer 0.1.30-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 208 kB
  • sloc: python: 1,282; makefile: 4
file content (110 lines) | stat: -rw-r--r-- 3,623 bytes parent folder | download | duplicates (3)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
From 15d4f56531627846caa1e90afeaf74f6c63bac86 Mon Sep 17 00:00:00 2001
From: Janos Guljas <janos@janos.in.rs>
Date: Thu, 8 Oct 2015 13:07:47 -0700
Subject: Upstream changes introduced in version 0.1.30-2

 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 python-slimmer (0.1.30-2) unstable; urgency=low
 .
   * Add python3-slimmer binary package (closes: #593137)
   * Bump standards version to 3.9.1
 .
 The person named in the Author field signed this changelog entry.
Bug-Debian: http://bugs.debian.org/593137

Patch-Name: debian-changes-0.1.30-2
---
 setup.py                  | 10 ++++++++--
 slimmer.egg-info/PKG-INFO | 40 ++++++++++++++++++++--------------------
 2 files changed, 28 insertions(+), 22 deletions(-)

diff --git a/setup.py b/setup.py
index 36b11b7..aee6b4c 100644
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,17 @@
 from setuptools import setup, find_packages
 import sys, os
 
-import slimmer
-version = slimmer.__version__ # hate repeating myself
+version = '0.1.30'
 
 README = os.path.join(os.path.dirname(__file__), 'README.txt')
 long_description = open(README).read().strip() + "\n\n"
 
+extra = {}
+if sys.version_info >= (3, 0):
+    extra.update(
+        use_2to3=True,
+    )
+
 
 setup(name='slimmer',
       version=version,
@@ -41,4 +46,5 @@ setup(name='slimmer',
       entry_points="""
       # -*- Entry points: -*-
       """,
+      **extra
       )
diff --git a/slimmer.egg-info/PKG-INFO b/slimmer.egg-info/PKG-INFO
index b9c75b1..c7c4d9c 100644
--- a/slimmer.egg-info/PKG-INFO
+++ b/slimmer.egg-info/PKG-INFO
@@ -13,32 +13,32 @@ Description: slimmer.py is a whitespace optimizer for CSS, HTML and XHTML output
         
         INSTALLATION::
         
-        $ sudo easy_install slimmer
-        
+         $ sudo easy_install slimmer
+         
         Alternative::
         
-        $ tar -zxvf slimmer-x.x.x.tgz
-        $ cd slimmer/
-        $ sudo python setup.py install
-        
+         $ tar -zxvf slimmer-x.x.x.tgz
+         $ cd slimmer/
+         $ sudo python setup.py install
+         
         USAGE::
         
-        >>> import slimmer
-        >>> from slimmer import css_slimmer
-        >>> css_slimmer("h1, h2 { font-family: 'Courier New', Courier; }")
-        "h1,h2{font-family:'Courier New',Courier;border:1px solid black;}"
-        >>> html_slimmer('<a  href="x" title="   foo  bar  "> one </a>  <br />')
-        >>> from slimmer import html_slimmer, xhtml_slimmer
-        >>> html_slimmer('''<a  href="x" title="   foo  bar  "
-        > one </a>  <br/>''')
-        '<a href="x" title="   foo bar  "> one </a><br />'
-        
-        
+         >>> import slimmer
+         >>> from slimmer import css_slimmer
+         >>> css_slimmer("h1, h2 { font-family: 'Courier New', Courier; }")
+         "h1,h2{font-family:'Courier New',Courier;border:1px solid black;}"
+         >>> html_slimmer('<a  href="x" title="   foo  bar  "> one </a>  <br />')
+         >>> from slimmer import html_slimmer, xhtml_slimmer
+         >>> html_slimmer('''<a  href="x" title="   foo  bar  "
+                           > one </a>  <br/>''')
+         '<a href="x" title="   foo bar  "> one </a><br />'
+        
+         
         UNITTESTS::
         
-        $ cd slimmer/tests
-        $ python testSlimmer.py
-        $ python testSlimmer.py --verbose
+         $ cd slimmer/tests
+         $ python testSlimmer.py
+         $ python testSlimmer.py --verbose
         
         
 Keywords: slimmer optimizer optimiser whitespace