Hello community,
here is the log from the commit of package python-cassowary for
openSUSE:Leap:15.2 checked in at 2020-04-08 12:48:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-cassowary (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-cassowary.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cassowary"
Wed Apr 8 12:48:32 2020 rev:12 rq:790220 version:0.5.2
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-cassowary/python-cassowary.changes
2020-03-09 18:03:27.256760587 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-cassowary.new.3248/python-cassowary.changes
2020-04-08 12:49:10.082366772 +0200
@@ -1,0 +2,7 @@
+Mon Mar 30 12:42:22 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to 0.5.2
+ * Updated authorship and copyright.
+ * It is alive!
+
+-------------------------------------------------------------------
Old:
----
cassowary-0.5.1.tar.gz
New:
----
cassowary-0.5.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cassowary.spec ++++++
--- /var/tmp/diff_new_pack.8qOysH/_old 2020-04-08 12:49:10.706367097 +0200
+++ /var/tmp/diff_new_pack.8qOysH/_new 2020-04-08 12:49:10.710367100 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-cassowary
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,12 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-cassowary
-Version: 0.5.1
+Version: 0.5.2
Release: 0
Summary: A pure Python implementation of the Cassowary constraint
solving algorithm
License: BSD-3-Clause
Group: Development/Languages/Python
-URL: https://github.com/pybee/cassowary
+URL: https://github.com/brodderickrodriguez/cassowary
Source:
https://files.pythonhosted.org/packages/source/c/cassowary/cassowary-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
++++++ cassowary-0.5.1.tar.gz -> cassowary-0.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/AUTHORS new/cassowary-0.5.2/AUTHORS
--- old/cassowary-0.5.1/AUTHORS 2014-08-17 11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/AUTHORS 2020-02-03 04:11:40.000000000 +0100
@@ -1,7 +1,7 @@
Cassowary was originally created in April 2014.
The PRIMARY AUTHORS are (and/or have been):
- Russell Keith-Magee
+ Russell Keith-Magee (2013 - 2019)
This implementation was drawn from the JavaScript implementations of the
Cassowary algorithm, written by Greg J. Badros <[email protected]>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/LICENSE new/cassowary-0.5.2/LICENSE
--- old/cassowary-0.5.1/LICENSE 2014-08-17 11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/LICENSE 2020-02-03 04:15:58.000000000 +0100
@@ -1,4 +1,5 @@
-Copyright (c) 2014 Russell Keith-Magee.
+Copyright (c) 2014-2019 Russell Keith-Magee.
+Copyright (c) 2020 Brodderick Rodriguez.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/PKG-INFO new/cassowary-0.5.2/PKG-INFO
--- old/cassowary-0.5.1/PKG-INFO 2014-08-17 11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/PKG-INFO 2020-02-03 05:17:40.000000000 +0100
@@ -1,12 +1,19 @@
Metadata-Version: 1.1
Name: cassowary
-Version: 0.5.1
+Version: 0.5.2
Summary: A pure Python implementation of the Cassowary constraint solving
algorithm.
-Home-page: http://pybee.org/cassowary
-Author: Russell Keith-Magee
-Author-email: [email protected]
-License: New BSD
-Description: Cassowary
+Home-page: http://brodderick.com/projects/cassowary
+Author: Brodderick Rodriguez
+Author-email: [email protected]
+License: Apache-2.0
+Description: This project is being dusted off
+ ================================
+
+ | This project was transferred to Brodderick Rodriguez in February
2020 who will oversee its development from here on out.
+ | A big thanks to Russell for his original authorship of this project.
+
+
+ Cassowary
=========
A pure Python implementation of the `Cassowary constraint-solving
algorithm`_.
@@ -27,7 +34,7 @@
`the documentation`_ for examples of what this looks like in
practice.
- .. _the documentation:
http://cassowary.readthedocs.org/en/latest/topics/examples.html
+ .. _the documentation:
https://cassowary.readthedocs.io/en/latest/topics/examples.html
Documentation
-------------
@@ -36,14 +43,11 @@
Community
---------
+ | Notice: Cassowary is no longer part of the BeeWare suite.
+ | You can talk to the community through:
- Cassowary is part of the `BeeWare suite`_. You can talk to the
community through:
-
- * `@pybeeware on Twitter`_
+ * Tweet Brodderick on Twitter: `@teamskynet_`_
- * The `BeeWare Users Mailing list`_, for questions about how to use
the BeeWare suite.
-
- * The `BeeWare Developers Mailing list`_, for discussing the
development of new features in the BeeWare suite, and ideas for new tools for
the suite.
Contributing
------------
@@ -51,14 +55,21 @@
If you experience problems with Cassowary, `log them on GitHub`_. If
you
want to contribute code, please `fork the code`_ and `submit a pull
request`_.
- .. _BeeWare suite: http://pybee.org
- .. _Read The Docs: http://cassowary.readthedocs.org
- .. _@pybeeware on Twitter: https://twitter.com/pybeeware
- .. _BeeWare Users Mailing list:
https://groups.google.com/forum/#!forum/beeware-users
- .. _BeeWare Developers Mailing list:
https://groups.google.com/forum/#!forum/beeware-developers
- .. _log them on Github: https://github.com/pybee/cassowary/issues
- .. _fork the code: https://github.com/pybee/cassowary
- .. _submit a pull request: https://github.com/pybee/cassowary/pulls
+
+ Project Administration
+ ----------------------
+ | This project was transferred to Brodderick Rodriguez in February
2020 who will continue to oversee its development from here on out.
+ | Russell Keith-Magee is the original author of this work. A big
thanks to him for his work! Check out `Russell's GitHub`_.
+
+
+ .. _Russell's GitHub: https://github.com/freakboy3742
+ .. _@teamskynet_: https://twitter.com/teamskynet_
+ .. _homepage: http://brodderick.com/projects/cassowary
+ .. _Read The Docs: https://cassowary.readthedocs.io
+
+ .. _log them on Github:
https://github.com/brodderickrodriguez/cassowary/issues
+ .. _fork the code: https://github.com/brodderickrodriguez/cassowary
+ .. _submit a pull request:
https://github.com/brodderickrodriguez/cassowary/pulls
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/README.rst
new/cassowary-0.5.2/README.rst
--- old/cassowary-0.5.1/README.rst 2014-08-17 11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/README.rst 2020-02-03 05:04:51.000000000 +0100
@@ -1,3 +1,10 @@
+This project is being dusted off
+================================
+
+| This project was transferred to Brodderick Rodriguez in February 2020 who
will oversee its development from here on out.
+| A big thanks to Russell for his original authorship of this project.
+
+
Cassowary
=========
@@ -19,7 +26,7 @@
`the documentation`_ for examples of what this looks like in
practice.
-.. _the documentation:
http://cassowary.readthedocs.org/en/latest/topics/examples.html
+.. _the documentation:
https://cassowary.readthedocs.io/en/latest/topics/examples.html
Documentation
-------------
@@ -28,14 +35,11 @@
Community
---------
+| Notice: Cassowary is no longer part of the BeeWare suite.
+| You can talk to the community through:
-Cassowary is part of the `BeeWare suite`_. You can talk to the community
through:
-
- * `@pybeeware on Twitter`_
+ * Tweet Brodderick on Twitter: `@teamskynet_`_
- * The `BeeWare Users Mailing list`_, for questions about how to use the
BeeWare suite.
-
- * The `BeeWare Developers Mailing list`_, for discussing the development of
new features in the BeeWare suite, and ideas for new tools for the suite.
Contributing
------------
@@ -43,11 +47,18 @@
If you experience problems with Cassowary, `log them on GitHub`_. If you
want to contribute code, please `fork the code`_ and `submit a pull request`_.
-.. _BeeWare suite: http://pybee.org
-.. _Read The Docs: http://cassowary.readthedocs.org
-.. _@pybeeware on Twitter: https://twitter.com/pybeeware
-.. _BeeWare Users Mailing list:
https://groups.google.com/forum/#!forum/beeware-users
-.. _BeeWare Developers Mailing list:
https://groups.google.com/forum/#!forum/beeware-developers
-.. _log them on Github: https://github.com/pybee/cassowary/issues
-.. _fork the code: https://github.com/pybee/cassowary
-.. _submit a pull request: https://github.com/pybee/cassowary/pulls
+
+Project Administration
+----------------------
+| This project was transferred to Brodderick Rodriguez in February 2020 who
will continue to oversee its development from here on out.
+| Russell Keith-Magee is the original author of this work. A big thanks to him
for his work! Check out `Russell's GitHub`_.
+
+
+.. _Russell's GitHub: https://github.com/freakboy3742
+.. _@teamskynet_: https://twitter.com/teamskynet_
+.. _homepage: http://brodderick.com/projects/cassowary
+.. _Read The Docs: https://cassowary.readthedocs.io
+
+.. _log them on Github: https://github.com/brodderickrodriguez/cassowary/issues
+.. _fork the code: https://github.com/brodderickrodriguez/cassowary
+.. _submit a pull request:
https://github.com/brodderickrodriguez/cassowary/pulls
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/cassowary/__init__.py
new/cassowary-0.5.2/cassowary/__init__.py
--- old/cassowary-0.5.1/cassowary/__init__.py 2014-08-17 11:40:50.000000000
+0200
+++ new/cassowary-0.5.2/cassowary/__init__.py 2020-02-03 04:43:34.000000000
+0100
@@ -13,4 +13,4 @@
# __version__ = '1.2.3' # Final Release
# __version__ = '1.2.3.post1' # Post Release 1
-__version__ = '0.5.1'
+__version__ = '0.5.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/cassowary/error.py
new/cassowary-0.5.2/cassowary/error.py
--- old/cassowary-0.5.1/cassowary/error.py 2014-08-17 11:40:50.000000000
+0200
+++ new/cassowary-0.5.2/cassowary/error.py 2020-02-03 01:17:40.000000000
+0100
@@ -1,13 +1,17 @@
from __future__ import print_function, unicode_literals, absolute_import,
division
-class InternalError(Exception):
+class CassowaryException(Exception):
pass
-class ConstraintNotFound(Exception):
+class InternalError(CassowaryException):
pass
-class RequiredFailure(Exception):
+class ConstraintNotFound(CassowaryException):
+ pass
+
+
+class RequiredFailure(CassowaryException):
pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/cassowary/expression.py
new/cassowary-0.5.2/cassowary/expression.py
--- old/cassowary-0.5.1/cassowary/expression.py 2014-08-17 11:40:50.000000000
+0200
+++ new/cassowary-0.5.2/cassowary/expression.py 2020-02-03 01:17:40.000000000
+0100
@@ -28,9 +28,9 @@
if x.is_constant:
return Expression(self, value=x.constant)
else:
- raise TypeError('Cannot multiply variable by non-constant
expression')
+ return NotImplemented
else:
- raise TypeError('Cannot multiply variable by object of type %s' %
type(x))
+ return NotImplemented
def __truediv__(self, x):
return self.__div__(x)
@@ -44,9 +44,9 @@
if x.is_constant:
return Expression(self, value=1.0/x.constant)
else:
- raise TypeError('Cannot add non-constant expression to
variable')
+ return NotImplemented
else:
- raise TypeError('Cannot divide variable by object of type %s' %
type(x))
+ return NotImplemented
def __radd__(self, x):
return self.__add__(x)
@@ -59,7 +59,7 @@
elif isinstance(x, AbstractVariable):
return Expression(self) + Expression(x)
else:
- raise TypeError('Cannot add object of type %s to expression' %
type(x))
+ return NotImplemented
def __rsub__(self, x):
if isinstance(x, (int, float)):
@@ -69,7 +69,7 @@
elif isinstance(x, AbstractVariable):
return Expression(x) - Expression(self)
else:
- raise TypeError('Cannot subtract variable from object of type %s'
% type(x))
+ return NotImplemented
def __sub__(self, x):
if isinstance(x, (int, float)):
@@ -79,7 +79,7 @@
elif isinstance(x, AbstractVariable):
return Expression(self) - Expression(x)
else:
- raise TypeError('Cannot subtract object of type %s from variable'
% type(x))
+ return NotImplemented
class Variable(AbstractVariable):
@@ -97,7 +97,7 @@
if isinstance(other, (Expression, Variable, float, int)):
return Constraint(self, Constraint.EQ, other)
else:
- raise TypeError('Cannot compare variable with object of type %s' %
type(other))
+ return NotImplemented
def __lt__(self, other):
# < and <= are equivalent in the API; it's effectively true
@@ -109,7 +109,7 @@
if isinstance(other, (Expression, Variable, float, int)):
return Constraint(self, Constraint.LEQ, other)
else:
- raise TypeError('Cannot compare variable with object of type %s' %
type(other))
+ return NotImplemented
def __gt__(self, other):
# > and >= are equivalent in the API; it's effectively true
@@ -121,7 +121,7 @@
if isinstance(other, (Expression, Variable, float, int)):
return Constraint(self, Constraint.GEQ, other)
else:
- raise TypeError('Cannot compare variable with object of type %s' %
type(other))
+ return NotImplemented
class DummyVariable(AbstractVariable):
@@ -204,18 +204,18 @@
elif x.is_constant:
result = self * x.constant
else:
- raise TypeError('Cannot multiply expression by non-constant')
+ return NotImplemented
elif isinstance(x, Variable):
if self.is_constant:
result = Expression(x, self.constant)
else:
- raise TypeError('Cannot multiply a variable by a non-constant
expression')
+ return NotImplemented
elif isinstance(x, (float, int)):
result = Expression(constant=self.constant * x)
for clv, value in self.terms.items():
result.set_variable(clv, value * x)
else:
- raise TypeError('Cannot multiply expression by object of type %s'
% type(x))
+ return NotImplemented
return result
def __truediv__(self, x):
@@ -232,7 +232,7 @@
if x.is_constant:
result = self / x.constant
else:
- raise TypeError('Cannot divide expression by non-constant')
+ return NotImplemented
return result
def __radd__(self, x):
@@ -252,7 +252,7 @@
result.add_expression(Expression(constant=x), 1.0)
return result
else:
- raise TypeError('Cannot add object of type %s to expression' %
type(x))
+ return NotImplemented
def __rsub__(self, x):
if isinstance(x, Expression):
@@ -271,7 +271,7 @@
result.add_expression(Expression(constant=x), 1.0)
return result
else:
- raise TypeError('Cannot subtract object of type %s from
expression' % type(x))
+ return NotImplemented
def __sub__(self, x):
if isinstance(x, Expression):
@@ -287,7 +287,7 @@
result.add_expression(Expression(constant=x), -1.0)
return result
else:
- raise TypeError('Cannot subtract object of type %s from
expression' % type(x))
+ return NotImplemented
######################################################################
# Mathematical operators
@@ -299,7 +299,7 @@
if isinstance(other, (Expression, Variable, float, int)):
return Constraint(self, Constraint.EQ, other)
else:
- raise TypeError('Cannot compare expression with object of type %s'
% type(other))
+ return NotImplemented
def __lt__(self, other):
# < and <= are equivalent in the API; it's effectively true
@@ -311,7 +311,7 @@
if isinstance(other, (Expression, Variable, float, int)):
return Constraint(self, Constraint.LEQ, other)
else:
- raise TypeError('Cannot compare expression with object of type %s'
% type(other))
+ return NotImplemented
def __gt__(self, other):
# > and >= are equivalent in the API; it's effectively true
@@ -323,7 +323,7 @@
if isinstance(other, (Expression, Variable, float, int)):
return Constraint(self, Constraint.GEQ, other)
else:
- raise TypeError('Cannot compare expression with object of type %s'
% type(other))
+ return NotImplemented
######################################################################
# Internal mechanisms
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/cassowary/simplex_solver.py
new/cassowary-0.5.2/cassowary/simplex_solver.py
--- old/cassowary-0.5.1/cassowary/simplex_solver.py 2014-08-17
11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/cassowary/simplex_solver.py 2020-02-03
01:17:40.000000000 +0100
@@ -381,7 +381,7 @@
raise RequiredFailure()
e = self.rows.get(av)
- if e != None:
+ if e is not None:
# print("av exists")
if e.is_constant:
# print("av is constant")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/cassowary.egg-info/PKG-INFO
new/cassowary-0.5.2/cassowary.egg-info/PKG-INFO
--- old/cassowary-0.5.1/cassowary.egg-info/PKG-INFO 2014-08-17
11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/cassowary.egg-info/PKG-INFO 2020-02-03
05:17:40.000000000 +0100
@@ -1,12 +1,19 @@
Metadata-Version: 1.1
Name: cassowary
-Version: 0.5.1
+Version: 0.5.2
Summary: A pure Python implementation of the Cassowary constraint solving
algorithm.
-Home-page: http://pybee.org/cassowary
-Author: Russell Keith-Magee
-Author-email: [email protected]
-License: New BSD
-Description: Cassowary
+Home-page: http://brodderick.com/projects/cassowary
+Author: Brodderick Rodriguez
+Author-email: [email protected]
+License: Apache-2.0
+Description: This project is being dusted off
+ ================================
+
+ | This project was transferred to Brodderick Rodriguez in February
2020 who will oversee its development from here on out.
+ | A big thanks to Russell for his original authorship of this project.
+
+
+ Cassowary
=========
A pure Python implementation of the `Cassowary constraint-solving
algorithm`_.
@@ -27,7 +34,7 @@
`the documentation`_ for examples of what this looks like in
practice.
- .. _the documentation:
http://cassowary.readthedocs.org/en/latest/topics/examples.html
+ .. _the documentation:
https://cassowary.readthedocs.io/en/latest/topics/examples.html
Documentation
-------------
@@ -36,14 +43,11 @@
Community
---------
+ | Notice: Cassowary is no longer part of the BeeWare suite.
+ | You can talk to the community through:
- Cassowary is part of the `BeeWare suite`_. You can talk to the
community through:
-
- * `@pybeeware on Twitter`_
+ * Tweet Brodderick on Twitter: `@teamskynet_`_
- * The `BeeWare Users Mailing list`_, for questions about how to use
the BeeWare suite.
-
- * The `BeeWare Developers Mailing list`_, for discussing the
development of new features in the BeeWare suite, and ideas for new tools for
the suite.
Contributing
------------
@@ -51,14 +55,21 @@
If you experience problems with Cassowary, `log them on GitHub`_. If
you
want to contribute code, please `fork the code`_ and `submit a pull
request`_.
- .. _BeeWare suite: http://pybee.org
- .. _Read The Docs: http://cassowary.readthedocs.org
- .. _@pybeeware on Twitter: https://twitter.com/pybeeware
- .. _BeeWare Users Mailing list:
https://groups.google.com/forum/#!forum/beeware-users
- .. _BeeWare Developers Mailing list:
https://groups.google.com/forum/#!forum/beeware-developers
- .. _log them on Github: https://github.com/pybee/cassowary/issues
- .. _fork the code: https://github.com/pybee/cassowary
- .. _submit a pull request: https://github.com/pybee/cassowary/pulls
+
+ Project Administration
+ ----------------------
+ | This project was transferred to Brodderick Rodriguez in February
2020 who will continue to oversee its development from here on out.
+ | Russell Keith-Magee is the original author of this work. A big
thanks to him for his work! Check out `Russell's GitHub`_.
+
+
+ .. _Russell's GitHub: https://github.com/freakboy3742
+ .. _@teamskynet_: https://twitter.com/teamskynet_
+ .. _homepage: http://brodderick.com/projects/cassowary
+ .. _Read The Docs: https://cassowary.readthedocs.io
+
+ .. _log them on Github:
https://github.com/brodderickrodriguez/cassowary/issues
+ .. _fork the code: https://github.com/brodderickrodriguez/cassowary
+ .. _submit a pull request:
https://github.com/brodderickrodriguez/cassowary/pulls
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/docs/conf.py
new/cassowary-0.5.2/docs/conf.py
--- old/cassowary-0.5.1/docs/conf.py 2014-08-17 11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/docs/conf.py 2020-02-03 04:13:25.000000000 +0100
@@ -39,7 +39,7 @@
# General information about the project.
project = u'Cassowary'
-copyright = u'2013, Russell Keith-Magee'
+copyright = u'2013-2019, Russell Keith-Magee. 2020 Brodderick Rodriguez'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -96,7 +96,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = 'sphinx_rtd_theme'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
@@ -189,7 +189,7 @@
# (source start file, target name, title, author, documentclass
[howto/manual]).
latex_documents = [
('index', 'cassowary.tex', u'Cassowary Documentation',
- u'Russell Keith-Magee', 'manual'),
+ [u'Russell Keith-Magee', u'Brodderick Rodriguez'], 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@@ -219,7 +219,7 @@
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'cassowary', u'Cassowary Documentation',
- [u'Russell Keith-Magee'], 1)
+ [u'Russell Keith-Magee', u'Brodderick Rodriguez'], 1)
]
# If true, show URL addresses after external links.
@@ -233,7 +233,7 @@
# dir menu entry, description, category)
texinfo_documents = [
('index', 'cassowary', u'Cassowary Documentation',
- u'Russell Keith-Magee', 'Cassowary', 'A pure Python implementation of the
Cassowary constraint solving algorithm.',
+ [u'Russell Keith-Magee', u'Brodderick Rodriguez'], 'Cassowary', 'A pure
Python implementation of the Cassowary constraint solving algorithm.',
'Miscellaneous'),
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/docs/index.rst
new/cassowary-0.5.2/docs/index.rst
--- old/cassowary-0.5.1/docs/index.rst 2014-08-17 11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/docs/index.rst 2020-02-03 04:14:11.000000000 +0100
@@ -34,14 +34,11 @@
Community
---------
+| Notice: Cassowary is no longer part of the BeeWare suite.
+| You can talk to the community through:
-Cassowary is part of the `BeeWare suite`_. You can talk to the community
through:
+ * Tweet Brodderick on Twitter: `@teamskynet_`_
- * `@pybeeware on Twitter`_
-
- * The `BeeWare Users Mailing list`_, for questions about how to use the
BeeWare suite.
-
- * The `BeeWare Developers Mailing list`_, for discussing the development of
new features in the BeeWare suite, and ideas for new tools for the suite.
Contributing
------------
@@ -49,14 +46,24 @@
If you experience problems with Cassowary, `log them on GitHub`_. If you
want to contribute code, please `fork the code`_ and `submit a pull request`_.
-.. _BeeWare suite: http://pybee.org
-.. _Read The Docs: http://cassowary.readthedocs.org
-.. _@pybeeware on Twitter: https://twitter.com/pybeeware
-.. _BeeWare Users Mailing list:
https://groups.google.com/forum/#!forum/beeware-users
-.. _BeeWare Developers Mailing list:
https://groups.google.com/forum/#!forum/beeware-developers
-.. _log them on Github: https://github.com/pybee/cassowary/issues
-.. _fork the code: https://github.com/pybee/cassowary
-.. _submit a pull request: https://github.com/pybee/cassowary/pulls
+
+Project Administration
+----------------------
+| This project was transferred to Brodderick Rodriguez in February 2020. He
will continue to oversee its development from here on out.
+| Russell Keith-Magee is the original author of this work (2013 - 2019). A big
thanks to him for his work! Check out `Russell's GitHub`_.
+
+
+
+
+.. _Russell's GitHub: https://github.com/freakboy3742
+.. _@teamskynet_: https://twitter.com/teamskynet_
+.. _homepage: http://brodderick.com/projects/cassowary
+.. _Read The Docs: https://cassowary.readthedocs.io
+
+.. _log them on Github: https://github.com/brodderickrodriguez/cassowary/issues
+.. _fork the code: https://github.com/brodderickrodriguez/cassowary
+.. _submit a pull request:
https://github.com/brodderickrodriguez/cassowary/pulls
+
Indices and tables
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/docs/internals/contributing.rst
new/cassowary-0.5.2/docs/internals/contributing.rst
--- old/cassowary-0.5.1/docs/internals/contributing.rst 2014-08-17
11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/docs/internals/contributing.rst 2020-02-03
03:41:05.000000000 +0100
@@ -4,20 +4,21 @@
If you experience problems with Cassowary, `log them on GitHub`_. If you want
to contribute code, please `fork the code`_ and `submit a pull request`_.
-.. _log them on Github: https://github.com/pybee/cassowary/issues
-.. _fork the code: https://github.com/pybee/cassowary
-.. _submit a pull request: https://github.com/pybee/cassowary/pulls
+
+.. _log them on Github: https://github.com/brodderickrodriguez/cassowary/issues
+.. _fork the code: https://github.com/brodderickrodriguez/cassowary
+.. _submit a pull request:
https://github.com/brodderickrodriguez/cassowary/pulls
Setting up your development environment
---------------------------------------
-The recommended way of setting up your development envrionment for Cassowary
+The recommended way of setting up your development environment for Cassowary
is to install a virtual environment, install the required dependencies and
start coding. Assuming that you are using ``virtualenvwrapper``, you only have
to run::
- $ git clone [email protected]:pybee/cassowary.git
+ $ git clone https://github.com/brodderickrodriguez/cassowary.git
$ cd cassowary
$ mkvirtualenv cassowary
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/docs/internals/releases.rst
new/cassowary-0.5.2/docs/internals/releases.rst
--- old/cassowary-0.5.1/docs/internals/releases.rst 2014-08-17
11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/docs/internals/releases.rst 2020-02-03
04:42:02.000000000 +0100
@@ -1,7 +1,18 @@
Release History
===============
-0.5.0
------
+0.5.2 - New management (February 2020)
+--------------------------------------
-Initial public release.
\ No newline at end of file
+Updated authorship and copyright.
+
+
+0.5.1 - Version bump (August 17 2014)
+-------------------------------------
+
+
+
+0.5.0 - Initial release (May 3 2014)
+------------------------------------
+
+Initial port of the Cassowary codebase.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/docs/releases.rst
new/cassowary-0.5.2/docs/releases.rst
--- old/cassowary-0.5.1/docs/releases.rst 2014-08-17 11:40:50.000000000
+0200
+++ new/cassowary-0.5.2/docs/releases.rst 2020-02-03 04:42:14.000000000
+0100
@@ -1,7 +1,18 @@
Release History
===============
-0.5.0 - Initial release
------------------------
+0.5.2 - New management (February 2020)
+--------------------------------------
+
+Updated authorship and copyright.
+
+
+0.5.1 - Version bump (August 17 2014)
+-------------------------------------
+
+
+
+0.5.0 - Initial release (May 3 2014)
+------------------------------------
Initial port of the Cassowary codebase.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/docs/topics/examples.rst
new/cassowary-0.5.2/docs/topics/examples.rst
--- old/cassowary-0.5.1/docs/topics/examples.rst 2014-08-17
11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/docs/topics/examples.rst 2020-02-03
01:17:40.000000000 +0100
@@ -9,17 +9,17 @@
The "Bounded Quadrilateral" demo is the `online example`_ provided for
Cassowary. The online example is implemented in JavaScript, but the
-implementation doesn't alter the way the Cassowary algoritm is used.
+implementation doesn't alter the way the Cassowary algorithm is used.
.. _online example: http://www.badros.com/greg/cassowary/js/quaddemo.html
The Bounded quadrilateral problem starts with a bounded, two dimensional
-canvas. We want to draw a quadilateral on this plane, subject to a number of
+canvas. We want to draw a quadrilateral on this plane, subject to a number of
constraints.
Firstly, we set up the solver system itself::
- from cassowary import SimplexSolver, Variable, Constraint
+ from cassowary import SimplexSolver, Variable
solver = SimplexSolver()
Then, we set up a convenience class for holding information about points
@@ -88,7 +88,7 @@
cleq = midpoints[start].y == cle
solver.add_constraint(cleq)
-When we added these constraints, we didn't provided any arguments - that means
+When we added these constraints, we didn't provide any arguments - that means
that they will be added as ``REQUIRED`` constraints.
Next, lets add some constraints to ensure that the left side of the
quadrilateral
@@ -106,7 +106,7 @@
solver.add_constraint(points[3].y + 20 <= points[1].y)
solver.add_constraint(points[3].y + 20 <= points[2].y)
-Each of these constraints is posed as an :class:`~cassowary.Constraint`. For
+Each of these constraints is posed as a :class:`~cassowary.Constraint`. For
example, the first expression describes a point 20 pixels to the right of the
x coordinate of the top left point. This :class:`~cassowary.Constraint` is
then added as a constraint on the x coordinate of the bottom right (point 2)
@@ -172,7 +172,7 @@
GUI layout
----------
-The most common usage (by deployment count) of the Cassowary algoritm is as
+The most common usage (by deployment count) of the Cassowary algorithm is as
the Autolayout mechanism that underpins GUIs in OS X Lion and iOS6. Although
there's lots of code required to make a full GUI toolkit work, the layout
problem is a relatively simple case of solving constraints regarding the size
@@ -184,10 +184,10 @@
coordinate is a relatively simple exercise left for the reader.
When laying out a GUI, widgets have a width; however, widgets can also change
-size. To accomodate this, a widget has two size constraints in each dimension:
-a minimum size, and a preferred size. The miniumum size is an ``REQUIRED``
+size. To accommodate this, a widget has two size constraints in each dimension:
+a minimum size, and a preferred size. The minimum size is a ``REQUIRED``
constraint that must be met; the preferred size is a ``STRONG`` constraint
-that the solver should try to accomodate, but may break if necessary.
+that the solver should try to accommodate, but may break if necessary.
The GUI also needs to be concerned about the size of the window that is being
laid out. The size of the window can be handled in two ways:
@@ -196,13 +196,13 @@
show me how to lay out the widgets; or
* a ``WEAK`` constraint -- i.e., come up with a value for the window size that
- accomodates all the other widget constraints. This is the interpretation used
+ accommodates all the other widget constraints. This is the interpretation
used
to determine an initial window size.
As with the Quadrilateral demo, we start by creating the solver, and creating
a storage mechanism to hold details about buttons::
- from cassowary import SimplexSolver, Variable, Constraint
+ from cassowary import SimplexSolver, Variable
solver = SimplexSolver()
@@ -228,7 +228,7 @@
The left limit is set as a ``REQUIRED`` constraint -- the left border can't
move from coordinate 0. However, the window can expand if necessary to
-accomodate the widgets it contains, so the right limit is a ``WEAK``
+accommodate the widgets it contains, so the right limit is a ``WEAK``
constraint.
Now we can define the constraints on the button layouts::
@@ -271,7 +271,7 @@
>>> right_limit.value
426.0
-That is, the smallest window that can accomodate these constraints is 426
+That is, the smallest window that can accommodate these constraints is 426
pixels wide. However, if the user makes the window larger, we can still lay
out widgets. We impose a new ``REQUIRED`` constraint with the size of the
window::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/docs/topics/theory.rst
new/cassowary-0.5.2/docs/topics/theory.rst
--- old/cassowary-0.5.1/docs/topics/theory.rst 2014-08-17 11:40:50.000000000
+0200
+++ new/cassowary-0.5.2/docs/topics/theory.rst 2020-02-03 01:17:40.000000000
+0100
@@ -14,13 +14,13 @@
``a[1]x[1] + ... + a[n]x[n] >= b``,
-Given these contraints, the problem is to find the values of ``x[i]`` that
-minimizes or maximizes the value of an **objective function**:
+Given these constraints, the problem is to find the values of ``x[i]`` that
+minimize or maximize the value of an **objective function**:
``c + d[1]x[1] + ... + d[n]x[n]``
Cassowary is an algorithm designed to solve linear programming problems of
-this type. Published in 1997, it now forms the basis fo the UI layout tools
+this type. Published in 1997, it now forms the basis for the UI layout tools
in OS X Lion, and iOS 6+ (the approach known as `Auto Layout`_). The Cassowary
algorithm (and this implementation of it) provides the tools to describe a set
of constraints, and then find an optimal solution for that set of constraints.
@@ -72,7 +72,7 @@
# Define the constraint
constraint = x1 + 3 * x2 <= 4 * x3 + 2
-In this example, `constraint` holds the defintion for the constraint system.
+In this example, `constraint` holds the definition for the constraint system.
Although the statement uses the Python comparison operator `<=`, the result is
*not* a boolean. The comparison operators `<=`, `<`, `>=`, `>`, and `==` have
been overridden for instances of :class:`~cassowary.Variable` to enable you to
@@ -158,7 +158,7 @@
requirement that all values remain in a specific range. However, other
constraints may be suggestions, rather than hard requirements.
-To accomodate this, Cassowary allows all constraints to have a **strength**.
+To accommodate this, Cassowary allows all constraints to have a **strength**.
Strength can be one of:
* ``REQUIRED``
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/setup.cfg
new/cassowary-0.5.2/setup.cfg
--- old/cassowary-0.5.1/setup.cfg 2014-08-17 11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/setup.cfg 2020-02-03 05:17:40.000000000 +0100
@@ -4,5 +4,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cassowary-0.5.1/setup.py new/cassowary-0.5.2/setup.py
--- old/cassowary-0.5.1/setup.py 2014-08-17 11:40:50.000000000 +0200
+++ new/cassowary-0.5.2/setup.py 2020-02-03 01:49:06.000000000 +0100
@@ -21,12 +21,12 @@
version=version,
description='A pure Python implementation of the Cassowary constraint
solving algorithm.',
long_description=long_description,
- author='Russell Keith-Magee',
- author_email='[email protected]',
- url='http://pybee.org/cassowary',
+ author='Brodderick Rodriguez',
+ author_email='[email protected]',
+ url='http://brodderick.com/projects/cassowary',
packages=find_packages(exclude=['docs', 'tests']),
install_requires=[],
- license='New BSD',
+ license='Apache-2.0',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',