[Python-modules-commits] r24065 - in packages/grapefruit/trunk/debian (6 files)
laarmen-guest at users.alioth.debian.org
laarmen-guest at users.alioth.debian.org
Tue Apr 30 14:35:22 UTC 2013
Date: Tuesday, April 30, 2013 @ 14:35:20
Author: laarmen-guest
Revision: 24065
* Correct typos in the code and the description
Added:
packages/grapefruit/trunk/debian/patches/
packages/grapefruit/trunk/debian/patches/fix-typos
packages/grapefruit/trunk/debian/patches/series
Modified:
packages/grapefruit/trunk/debian/control
packages/grapefruit/trunk/debian/copyright
packages/grapefruit/trunk/debian/rules
Modified: packages/grapefruit/trunk/debian/control
===================================================================
--- packages/grapefruit/trunk/debian/control 2013-04-29 22:28:40 UTC (rev 24064)
+++ packages/grapefruit/trunk/debian/control 2013-04-30 14:35:20 UTC (rev 24065)
@@ -4,12 +4,13 @@
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Simon Chopin <chopin.simon at gmail.com>
Build-Depends:
- debhelper (>= 8),
+ debhelper (>= 8.1),
python-all (>= 2.6.6-3~),
+ python-setuptools,
python-pytest,
python-sphinx (>= 1.0.7+dfsg),
Standards-Version: 3.9.4
-Homepage: https://github.com/xav/Grapefruit
+Homepage: http://code.google.com/p/grapefruit/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/grapefruit/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/grapefruit/trunk/
@@ -18,8 +19,8 @@
Depends: ${misc:Depends}, ${python:Depends}
Suggests: python-grapefruit-doc
Description: Backend-agnostic audio decoding Python package
- GrapeFruit is a pure Python module that let you easily manipulate and convert
- color information. Its Primary goal is to be natural and flexible.
+ GrapeFruit is a pure Python module that lets you easily manipulate and convert
+ color information. Its primary goal is to be natural and flexible.
.
The following color systems are supported by GrapeFruit:
* RGB (sRGB)
@@ -41,6 +42,6 @@
Recommends: python-grapefruit
Description: Backend-agnostic audio decoding Python package - documentation
GrapeFruit is a pure Python module that let you easily manipulate and convert
- color information. Its Primary goal is to be natural and flexible.
+ color information. Its primary goal is to be natural and flexible.
.
This package provides the documentation for GrapeFruit.
Modified: packages/grapefruit/trunk/debian/copyright
===================================================================
--- packages/grapefruit/trunk/debian/copyright 2013-04-29 22:28:40 UTC (rev 24064)
+++ packages/grapefruit/trunk/debian/copyright 2013-04-30 14:35:20 UTC (rev 24065)
@@ -1,6 +1,6 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: grapefruit
-Source: https://github.com/xav/Grapefruit
+Source: http://code.google.com/p/grapefruit/
Files: *
Copyright: 2008-2012 Xavier Basty
Added: packages/grapefruit/trunk/debian/patches/fix-typos
===================================================================
--- packages/grapefruit/trunk/debian/patches/fix-typos (rev 0)
+++ packages/grapefruit/trunk/debian/patches/fix-typos 2013-04-30 14:35:20 UTC (rev 24065)
@@ -0,0 +1,170 @@
+Description: Fix typos in comments and doc.
+Author: Simon Chopin <chopin.simon at gmail.com>
+Bug: http://code.google.com/p/grapefruit/issues/detail?id=7
+Last-Update: 2013-04-30
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/doc/index.rst
++++ b/doc/index.rst
+@@ -18,7 +18,7 @@
+ .. class:: Color
+
+ The grapefruit module contains only the :class:`Color` class, which exposes all
+-the functionnalities. It can be used to store a color value and manipulate it,
++the functionalities. It can be used to store a color value and manipulate it,
+ or convert it to another color system.
+
+ If you are only interested in converting you colors from one system to another,
+@@ -42,7 +42,7 @@
+
+ Some operations may provide results a bit outside the specified ranges,
+ the results are not capped.
+- This is due to certain color systems having a widers gamut than others.
++ This is due to certain color systems having a wider gamut than others.
+
+
+ Class content
+@@ -423,7 +423,7 @@
+ The generation methods let you create a color scheme by using a color as the
+ start point.
+
+-All the method, appart from Gradient and MonochromeScheme, have a 'mode'
++All the method, apart from Gradient and MonochromeScheme, have a 'mode'
+ parameter that let you choose which color wheel should be used to generate
+ the scheme.
+
+--- a/grapefruit.py
++++ b/grapefruit.py
+@@ -1111,7 +1111,7 @@
+
+ @staticmethod
+ def NewFromRgb(r, g, b, alpha=1.0, wref=_DEFAULT_WREF):
+- '''Create a new instance based on the specifed RGB values.
++ '''Create a new instance based on the specified RGB values.
+
+ Parameters:
+ :r:
+@@ -1138,7 +1138,7 @@
+
+ @staticmethod
+ def NewFromHsl(h, s, l, alpha=1.0, wref=_DEFAULT_WREF):
+- '''Create a new instance based on the specifed HSL values.
++ '''Create a new instance based on the specified HSL values.
+
+ Parameters:
+ :h:
+@@ -1165,7 +1165,7 @@
+
+ @staticmethod
+ def NewFromHsv(h, s, v, alpha=1.0, wref=_DEFAULT_WREF):
+- '''Create a new instance based on the specifed HSV values.
++ '''Create a new instance based on the specified HSV values.
+
+ Parameters:
+ :h:
+@@ -1193,7 +1193,7 @@
+
+ @staticmethod
+ def NewFromYiq(y, i, q, alpha=1.0, wref=_DEFAULT_WREF):
+- '''Create a new instance based on the specifed YIQ values.
++ '''Create a new instance based on the specified YIQ values.
+
+ Parameters:
+ :y:
+@@ -1220,7 +1220,7 @@
+
+ @staticmethod
+ def NewFromYuv(y, u, v, alpha=1.0, wref=_DEFAULT_WREF):
+- '''Create a new instance based on the specifed YUV values.
++ '''Create a new instance based on the specified YUV values.
+
+ Parameters:
+ :y:
+@@ -1247,7 +1247,7 @@
+
+ @staticmethod
+ def NewFromXyz(x, y, z, alpha=1.0, wref=_DEFAULT_WREF):
+- '''Create a new instance based on the specifed CIE-XYZ values.
++ '''Create a new instance based on the specified CIE-XYZ values.
+
+ Parameters:
+ :x:
+@@ -1274,7 +1274,7 @@
+
+ @staticmethod
+ def NewFromLab(l, a, b, alpha=1.0, wref=_DEFAULT_WREF):
+- '''Create a new instance based on the specifed CIE-LAB values.
++ '''Create a new instance based on the specified CIE-LAB values.
+
+ Parameters:
+ :l:
+@@ -1305,7 +1305,7 @@
+
+ @staticmethod
+ def NewFromCmy(c, m, y, alpha=1.0, wref=_DEFAULT_WREF):
+- '''Create a new instance based on the specifed CMY values.
++ '''Create a new instance based on the specified CMY values.
+
+ Parameters:
+ :c:
+@@ -1332,7 +1332,7 @@
+
+ @staticmethod
+ def NewFromCmyk(c, m, y, k, alpha=1.0, wref=_DEFAULT_WREF):
+- '''Create a new instance based on the specifed CMYK values.
++ '''Create a new instance based on the specified CMYK values.
+
+ Parameters:
+ :c:
+@@ -1361,7 +1361,7 @@
+
+ @staticmethod
+ def NewFromHtml(html, alpha=1.0, wref=_DEFAULT_WREF):
+- '''Create a new instance based on the specifed HTML color definition.
++ '''Create a new instance based on the specified HTML color definition.
+
+ Parameters:
+ :html:
+@@ -1392,7 +1392,7 @@
+
+ @staticmethod
+ def NewFromPil(pil, alpha=1.0, wref=_DEFAULT_WREF):
+- '''Create a new instance based on the specifed PIL color.
++ '''Create a new instance based on the specified PIL color.
+
+ Parameters:
+ :pil:
+@@ -1834,11 +1834,11 @@
+ Color((h2, s, l), 'hsl', self.__a, self.__wref))
+
+ def TetradicScheme(self, angle=30, mode='ryb'):
+- '''Return three colors froming a tetrad with this one.
++ '''Return three colors forming a tetrad with this one.
+
+ Parameters:
+ :angle:
+- The angle to substract from the adjacent colors hues [-90...90].
++ The angle to subtract from the adjacent colors hues [-90...90].
+ You can use an angle of zero to generate a square tetrad.
+ :mode:
+ Select which color wheel to use for the generation (ryb/rgb).
+--- a/grapefruit_test.py
++++ b/grapefruit_test.py
+@@ -28,7 +28,7 @@
+ def failUnlessNear(self, first, second, diff=9e-5, msg=None):
+ '''
+ Fail if the difference between the two objects is greater
+- than a certain amout (default 9e-5).
++ than a certain amount (default 9e-5).
+ '''
+ if hasattr(first,'__iter__') and hasattr(second,'__iter__'):
+ if len(first) != len(second):
+@@ -112,7 +112,7 @@
+ self.assertEqual((0.6, 0.6, 0.6), grapefruit.Color.RgbToGreyscale(1, 0.8, 0))
+
+ class NewFromTest(GrapeFruitTestCase):
+- '''Test the static color instanciation methods.'''
++ '''Test the static color instantiation methods.'''
+ def testNewFromRgb(self):
+ c = grapefruit.Color.NewFromRgb(1.0, 0.5, 0.0)
+ self.assertEqual(c, (1.0, 0.5, 0.0, 1.0))
Added: packages/grapefruit/trunk/debian/patches/series
===================================================================
--- packages/grapefruit/trunk/debian/patches/series (rev 0)
+++ packages/grapefruit/trunk/debian/patches/series 2013-04-30 14:35:20 UTC (rev 24065)
@@ -0,0 +1 @@
+fix-typos
Modified: packages/grapefruit/trunk/debian/rules
===================================================================
--- packages/grapefruit/trunk/debian/rules 2013-04-29 22:28:40 UTC (rev 24064)
+++ packages/grapefruit/trunk/debian/rules 2013-04-30 14:35:20 UTC (rev 24065)
@@ -8,6 +8,9 @@
dh_auto_build
PYTHONPATH=$(shell pwd) make -C doc/ html
+override_dh_install:
+ dh_install -X SOURCES.txt
+
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -ex; \
More information about the Python-modules-commits
mailing list