Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (5bf5f56aecb0d135e1353ccefb4c944dbccabc2b)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Treeve Jelbert <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (5bf5f56aecb0d135e1353ccefb4c944dbccabc2b)
  • Date: Sun, 9 Mar 2008 12:23:20 -0500

GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:

libs/liboil/DETAILS | 4
libs/liboil/HISTORY | 3
python-pypi/luca/DEPENDS | 1
python-pypi/luca/DETAILS | 5
python-pypi/luca/HISTORY | 5
python-pypi/luca/PRE_BUILD | 8 -
python-pypi/luca/luca.diff | 282
-----------------------------------------
python-pypi/turbogears/DETAILS | 6
python-pypi/turbogears/HISTORY | 4
9 files changed, 20 insertions(+), 298 deletions(-)

New commits:
commit b3a25eafef1bdb1c23a4cccbff4865b6ec66f0e0
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

liboil-0.3.13

commit da6f07ecc3957d8fcfc98f4725fbd6a2b1b1e0eb
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

luca-1.1

commit 1ba6c2bf045333f2e5cb16f62bddca0e62d82ae6
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

turbogears-1.0.4.4

diff --git a/libs/liboil/DETAILS b/libs/liboil/DETAILS
index e42dce2..c4f4750 100755
--- a/libs/liboil/DETAILS
+++ b/libs/liboil/DETAILS
@@ -1,6 +1,6 @@
SPELL=liboil
- VERSION=0.3.12
-
SOURCE_HASH=sha512:038abaf26e622b0662bd9362db5589074a28fd4fd48ecf618d90217f9e8d07a1eb8cd3317c4122b1f3eccdae268eff367cccf20e1ef46bdb23d97ce5fd3a5109
+ VERSION=0.3.13
+
SOURCE_HASH=sha512:923bd3e8331674647531711c589786fae104b7bdc70598382de85d2a130a5233c4b31b7fafd94bf86429f6135142b08e5bbf9023f0ec333a5d495ae45825cff4
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=http://liboil.freedesktop.org/download/$SOURCE
diff --git a/libs/liboil/HISTORY b/libs/liboil/HISTORY
index b56aa46..e682d38 100644
--- a/libs/liboil/HISTORY
+++ b/libs/liboil/HISTORY
@@ -1,3 +1,6 @@
+2008-03-09 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 0.3.13
+
2007-08-23 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 0.3.12

diff --git a/python-pypi/luca/DEPENDS b/python-pypi/luca/DEPENDS
index f751b17..3a698a7 100755
--- a/python-pypi/luca/DEPENDS
+++ b/python-pypi/luca/DEPENDS
@@ -1,3 +1,4 @@
depends setuptools &&
depends turbogears &&
+depends soappy &&
depends sqlobject
diff --git a/python-pypi/luca/DETAILS b/python-pypi/luca/DETAILS
index c43b484..e267a0d 100755
--- a/python-pypi/luca/DETAILS
+++ b/python-pypi/luca/DETAILS
@@ -1,12 +1,11 @@
SPELL=luca
- VERSION=1.02
-
SOURCE_HASH=sha512:72c04bf0c9778650519f66d4a690611e95d25e33cd721e59a5cea212665c603712174c0f49810d7a37bc2eed87c3b3db0d127cf7cc87b033be18b07e7ccf40b9
+ VERSION=1.1
+
SOURCE_HASH=sha512:34aad9f9016eec9e0a2124addfc1600a9d7fad818b067c4831077601a1670756e1ca9fbf354aef0eb3481e7ba442cc0b25b848fea4749f1797f3239973d2fd6a
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=http://www.epx.com.br/luca/$SOURCE
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
WEB_SITE=http://www.epx.com.br/luca/
LICENSE[0]=LGPL
- PATCHLEVEL=1
DOCS="*.cfg *.sql *.txt"
ENTERED=20060614
SHORT="free accounting software"
diff --git a/python-pypi/luca/HISTORY b/python-pypi/luca/HISTORY
index ff2dd29..1632fc3 100644
--- a/python-pypi/luca/HISTORY
+++ b/python-pypi/luca/HISTORY
@@ -1,3 +1,8 @@
+2008-03-09 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 1.1
+ * DEPENDS: + soappy
+ * PRE_BUILD, luca.diff: deleted, now applied upstream
+
2008-01-28 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* PRE_BUILD: removed is_depends_enabled.function reference

diff --git a/python-pypi/luca/PRE_BUILD b/python-pypi/luca/PRE_BUILD
deleted file mode 100755
index 6e872c4..0000000
--- a/python-pypi/luca/PRE_BUILD
+++ /dev/null
@@ -1,8 +0,0 @@
-default_pre_build &&
-cd $SOURCE_DIRECTORY &&
-if is_depends_enabled sqlobject kinterbasdb; then
- patch -p1 < $SPELL_DIRECTORY/luca.diff &&
- message fix use of reserved words for firebird &&
- sed -i -e "s/inactive/notactive/;s/journal.day/journal.tday/" \
- -e "s/journal.value/journal.tvalue/" luca/*.py
-fi
diff --git a/python-pypi/luca/luca.diff b/python-pypi/luca/luca.diff
deleted file mode 100644
index e17af77..0000000
--- a/python-pypi/luca/luca.diff
+++ /dev/null
@@ -1,282 +0,0 @@
-diff -uNr luca-1.01/luca/model.py luca-1.01.cp/luca/model.py
---- luca-1.01/luca/model.py 2007-06-03 00:12:47.000000000 +0200
-+++ luca-1.01.cp/luca/model.py 2007-06-27 15:56:17.000000000 +0200
-@@ -80,6 +80,7 @@
- @classmethod
- def createTable(cls, *args, **kw):
- super(stdjournals, cls).createTable(*args, **kw)
-+ hub.commit()
- # it MUST have a id=1 empty row for journals with no standard
journal
- try:
- stdjournals.get(1)
-@@ -95,6 +96,7 @@
- @classmethod
- def createTable(cls, *args, **kw):
- super(costcenters, cls).createTable(*args, **kw)
-+ hub.commit()
- # it MUST have a id=1 empty row for journals with no cost
center
- try:
- costcenters.get(1)
-@@ -110,6 +112,7 @@
- @classmethod
- def createTable(cls, *args, **kw):
- super(classes, cls).createTable(*args, **kw)
-+ hub.commit()
- # it MUST have one and only one row
- if classes.select().count() == 0:
- # empty table, let's populate it
-@@ -178,9 +181,9 @@
- stdjournal = ForeignKey('stdjournals', notNone=True, notNull=True)
- costcenter = ForeignKey('costcenters', notNone=True, notNull=True)
-
-- day = DateCol(notNone=True)
-+ tday = DateCol(notNone=True)
- description = UnicodeCol(notNone=True)
-- value = DecimalCol(size=16, precision=0, notNone=True) # x100 scaled
-+ tvalue = DecimalCol(size=16, precision=0, notNone=True) # x100 scaled
-
- transa = IntCol(notNone=False) # Transaction ID: relates entry to
other systems
- cancelled = IntCol(notNone=True, default=0)
-@@ -188,13 +191,13 @@
- hash = UnicodeCol(length=240, notNone=True) # 40 x 6
-
- h = DatabaseIndex('hash', unique=True)
-- a = DatabaseIndex('org', 'day')
-+ a = DatabaseIndex('org', 'tday')
- b = DatabaseIndex('transa')
-
- def journal_hash(row):
- s = u"luca001 %d %d %d %d %d %s %s %.2f %f" % \
- (row["org"], row["batch"], row["account"], row["stdjournal"],
row["costcenter"],
-- row["description"], row["day"], row["value"], time.time())
-+ row["description"], row["tday"], row["tvalue"], time.time())
- return md5.md5(s.encode("utf-8")).hexdigest()
-
- class cmos(SQLObject):
-@@ -216,6 +219,7 @@
- @classmethod
- def createTable(cls, *args, **kw):
- super(cmos, cls).createTable(*args, **kw)
-+ hub.commit()
- # it MUST have one and only one row
- try:
- cmos.get(1)
-@@ -267,9 +271,10 @@
- """
-
- user_name = UnicodeCol( length=96, alternateID=True,
alternateMethodName="by_user_name" ) # 16 x 6
-- email_address = UnicodeCol( length=255, alternateID=True,
alternateMethodName="by_email_address" )
-+ email_address = UnicodeCol( length=250, alternateID=True,
-+alternateMethodName="by_email_address" )
- display_name = UnicodeCol( )
-- password = UnicodeCol( length=240 )
-+ passwrd = UnicodeCol( length=240 )
- created = DateTimeCol( default=datetime.now )
- lite = IntCol(notNone=True, default=0)
- locale = UnicodeCol(notNone=True, default=".,Y/m/d")
-@@ -295,21 +300,23 @@
- hash = identity.encrypt_password(cleartext_password)
- self._SO_set_password(hash)
-
-- def set_password_raw( self, password ):
-+ def set_password_raw( self, passwrd ):
- "Saves the password as-is to the database."
-- self._SO_set_password(password) #pragma: no cover
-+ self._SO_set_password(passwrd) #pragma: no cover
-
- @classmethod
- def createTable(cls, *args, **kw):
- super(xuser, cls).createTable(*args, **kw)
-+ hub.commit()
- try:
- adm = xuser.by_user_name("admin")
- except SQLObjectNotFound:
- adm = xuser(user_name="admin",
email_address="root@localhost",
-- display_name="Administrator",
password="admin")
-+ display_name="Administrator", passwrd="admin")
-
- xgroup.createTable(ifNotExists=True)
- user_group.createTable(ifNotExists=True)
-+ hub.commit()
- try:
- gadm = xgroup.by_group_name("admin")
- except SQLObjectNotFound:
-@@ -317,16 +324,21 @@
-
- xpermission.createTable(ifNotExists=True)
- group_permission.createTable(ifNotExists=True)
-+ hub.commit()
- try:
- perm = xpermission.by_permission_name("*")
- except SQLObjectNotFound:
- perm = xpermission(permission_name="*", description="g0d")
-
-+ hub.commit()
- if gadm not in adm.groups:
- adm.addXgroup(gadm)
-+
-+ hub.commit()
- if perm not in gadm.permissions:
- perm.addXgroup(gadm)
-
-+ hub.commit()
- for module in modules:
- for function_point in function_points:
- name = module+"."+function_point
-@@ -357,6 +369,7 @@
- permission_name = UnicodeCol(length=50, alternateID=True,
alternateMethodName="by_permission_name")
- description = UnicodeCol()
-
-+ hub.commit()
- groups = RelatedJoin( "xgroup",
- intermediateTable="group_permission",
- joinColumn="permission_id",
-@@ -388,6 +401,7 @@
- visit_key= StringCol( length=40, alternateID=True,
alternateMethodName="by_visit_key" )
- created= DateTimeCol( default=datetime.now )
- expiry= DateTimeCol()
-+ hub.commit()
-
- def lookup_visit( cls, visit_key ): #pragma: no cover
- try:
-diff -uNr luca-1.01/luca/simple_table.py luca-1.01.cp/luca/simple_table.py
---- luca-1.01/luca/simple_table.py 2007-06-03 20:07:52.000000000 +0200
-+++ luca-1.01.cp/luca/simple_table.py 2007-06-27 12:38:27.000000000 +0200
-@@ -18,11 +18,11 @@
- # validators = {"id": validators.Int(if_invalid=0),
- # "user_name": validators.UnicodeString(if_invalid=u""),
- # "email_address": validators.UnicodeString(if_invalid=u""),
--# "password": validators.UnicodeString(if_invalid=u""),
-+# "passwrd": validators.UnicodeString(if_invalid=u""),
- # "display_name": validators.UnicodeString(if_invalid=u"")}
- #
- def setup(self):
--# self.emptyrow_read = {"id": 0, "user_name": "", "email_address":
"", "password": "", "display_name": ""}
-+# self.emptyrow_read = {"id": 0, "user_name": "", "email_address":
"", "passwrd": "", "display_name": ""}
- # self.empty_intermediate = self.emptyrow_read
- # self.emptyrow_write = self.emptyrow_read
- #
-@@ -836,7 +836,7 @@
- ''' Creates a human-readable message about which data was changed '''
- s = ""
- for k in old.keys():
-- if old[k] != new[k] and k != "password":
-+ if old[k] != new[k] and k != "passwrd":
- s += u'| %s: "%s" -> "%s" ' % (k.upper(),
unicode(old[k]), unicode(new[k]))
- return s
-
-diff -uNr luca-1.01/luca/sys_users.py luca-1.01.cp/luca/sys_users.py
---- luca-1.01/luca/sys_users.py 2007-06-03 00:12:47.000000000 +0200
-+++ luca-1.01.cp/luca/sys_users.py 2007-06-27 12:41:33.000000000 +0200
-@@ -19,7 +19,7 @@
- validators = {"id": validators.Int(if_invalid=0),
- "user_name": validators.UnicodeString(if_invalid=u""),
- "email_address": validators.UnicodeString(if_invalid=u""),
-- "password": validators.UnicodeString(if_invalid=u""),
-+ "passwrd": validators.UnicodeString(if_invalid=u""),
- "display_name": validators.UnicodeString(if_invalid=u""),
- "thousand_separator": validators.Int(if_invalid=0),
- "decimal_separator": validators.Int(if_invalid=0),
-@@ -31,7 +31,7 @@
- # special ACL that is accepted as valid permission
- self.vips = ["ADMIN"]
-
-- self.emptyrow_read = {"id": 0, "user_name": "", "email_address": "",
"password": "", \
-+ self.emptyrow_read = {"id": 0, "user_name": "", "email_address": "",
"passwrd": "", \
- "display_name": "", "locale": u".,Y/m/d",
"lite": 0}
- self.emptyrow_write = self.emptyrow_read
- self.empty_intermediate = self.emptyrow_read
-@@ -39,7 +39,7 @@
- # data for automated tests
- self.sample_data = [{},{},{},{}]
- self.invalid_data = [("user_name", ""), ("display_name", ""),
("email_address", "")]
-- self.invalid_compound_new = [ dict(password="") ]
-+ self.invalid_compound_new = [ dict(passwrd="") ]
- self.unique_cols = ["user_name", "email_address"]
- self.foreign_keys = []
- self.test_order = 9
-@@ -98,7 +98,7 @@
-
-
- def test__verify_excuse(self, col, orig, fetched, orig_row,
fetched_row): #pragma: no cover
-- return col == "locale" or (col == "password" and fetched == u"")
-+ return col == "locale" or (col == "passwrd" and fetched == u"")
-
- def row_name(self, d_row):
- name = ""
-@@ -116,7 +116,7 @@
- err = "E-mail address must not be empty"
- elif not d["display_name"]:
- err = "User name must not be empty"
-- elif d["id"] <= 0 and not d["password"]:
-+ elif d["id"] <= 0 and not d["passwrd"]:
- err = "New user must have a password"
- elif len(d["email_address"].encode("utf-8")) > 240: #pragma: no
cover
- # paranoid - MySQL's varchar(240) will swallow up to 720 bytes
-@@ -134,14 +134,14 @@
- return err
-
- # def intermediate_to_row_ext(self, intermediate, row):
-- # if not row["password"] and row["id"] > 0:
-- # del row["password"]
-+ # if not row["passwrd"] and row["id"] > 0:
-+ # del row["passwrd"]
-
- def data_legend(self, d):
- return d["user_name"]
-
- def intermediate_to_form_ext(self, intermediate, form_data):
-- form_data["password"] = ""
-+ form_data["passwrd"] = ""
- if form_data["id"] <= 0:
- # copies default locale settings from administrator, so
configure the admin
- # as the defaults you like!
-@@ -162,7 +162,7 @@
- def form_to_intermediate_ext(self, form_data, intermediate):
- intermediate["user_name"] = intermediate["user_name"][:16].strip()
- intermediate["email_address"] =
intermediate["email_address"][:100].strip()
-- intermediate["password"] = intermediate["password"][:40].strip()
-+ intermediate["passwrd"] = intermediate["passwrd"][:40].strip()
- intermediate["display_name"] =
intermediate["display_name"][:40].strip()
- try:
- intermediate["locale"] =
self.thousand_separators_rev[form_data["thousand_separator"]] +
self.decimal_separators_rev[form_data["decimal_separator"]] +
self.date_formats_rev[form_data["date_format"]]
-diff -uNr luca-1.01/luca/templates/login.kid
luca-1.01.cp/luca/templates/login.kid
---- luca-1.01/luca/templates/login.kid 2007-01-07 03:25:10.000000000 +0100
-+++ luca-1.01.cp/luca/templates/login.kid 2007-06-27 12:51:57.000000000
+0200
-@@ -88,10 +88,10 @@
- </tr>
- <tr>
- <td class="label">
-- <label for="password">Password:</label>
-+ <label for="passwrd">Password:</label>
- </td>
- <td class="field">
-- <input type="password" id="password"
name="password"/>
-+ <input type="passwrd" id="passwrd" name="passwrd"/>
- </td>
- </tr>
- <tr>
-diff -uNr luca-1.01/luca/templates/sys_users.kid
luca-1.01.cp/luca/templates/sys_users.kid
---- luca-1.01/luca/templates/sys_users.kid 2007-03-01 03:25:36.000000000
+0100
-+++ luca-1.01.cp/luca/templates/sys_users.kid 2007-06-27 12:54:37.000000000
+0200
-@@ -29,7 +29,7 @@
- <tr><td>Nickname</td><td><input name="user_name" type="text"
value="" size="16" maxlength="16"/></td></tr>
- <tr><td>User name</td><td><input name="display_name"
type="text" value="" size="30" maxlength="40"/></td></tr>
- <tr><td>E-mail</td><td><input name="email_address"
type="text" value="" size="40" maxlength="100"/></td></tr>
-- <tr><td>Password</td><td><input name="password" type="text"
value="" size="16" maxlength="16"/> (fill only if you want to
change)</td></tr>
-+ <tr><td>Password</td><td><input name="passwrd" type="text"
value="" size="16" maxlength="16"/> (fill only if you want to
change)</td></tr>
-
- <tr><td>Thousand separator</td>
- <td>
-diff -uNr luca-1.01/luca/templates/sys_users_lite_form.kid
luca-1.01.cp/luca/templates/sys_users_lite_form.kid
---- luca-1.01/luca/templates/sys_users_lite_form.kid 2007-01-27
21:31:00.000000000 +0100
-+++ luca-1.01.cp/luca/templates/sys_users_lite_form.kid 2007-06-27
12:55:19.000000000 +0200
-@@ -16,7 +16,7 @@
- <tr><td>Nickname</td><td><input name="user_name"
type="text" value="${user_name}" size="16" maxlength="16"/></td></tr>
- <tr><td>User name</td><td><input name="display_name"
type="text" value="${display_name}" size="30" maxlength="40"/></td></tr>
- <tr><td>E-mail</td><td><input name="email_address"
type="text" value="${email_address}" size="40" maxlength="250"/></td></tr>
-- <tr><td>Password</td><td><input name="password"
type="text" value="${password}" size="16" maxlength="16"/> (fill only if you
want to change)</td></tr>
-+ <tr><td>Password</td><td><input name="passwrd"
type="text" value="${passwrd}" size="16" maxlength="16"/> (fill only if you
want to change)</td></tr>
- <tr><td>Thousand separator</td>
- <td>
- <select name="thousand_separator">
diff --git a/python-pypi/turbogears/DETAILS b/python-pypi/turbogears/DETAILS
index 736df52..b446356 100755
--- a/python-pypi/turbogears/DETAILS
+++ b/python-pypi/turbogears/DETAILS
@@ -1,8 +1,8 @@
SPELL=turbogears
- VERSION=1.0.4.3
-
SOURCE_HASH=sha512:c00e3780eb6f5ec42e7d46e7b5ebb141df21ac8731e92276e516d2688defab4ce06fab1880f09478a80f4dbe0cb7dae9d9f01a5b5e4f2802e075267f08b917e9
+ VERSION=1.0.4.4
+
SOURCE_HASH=sha512:4c76e8a1d6c201c6148160fe92de4f7d001fae9bcf84c3bd9300fa5a2e26181bed144b77f68734a2557e5fe464936d1a897e06177a825c3d2c1ae4bec737539e
SOURCE=TurboGears-$VERSION.tar.gz
- SOURCE_URL[0]="http://files.turbogears.org/eggs/$SOURCE";
+ SOURCE_URL[0]=http://pypi.python.org/packages/source/T/TurboGears/$SOURCE
SOURCE_DIRECTORY="$BUILD_DIRECTORY/TurboGears-$VERSION"
WEB_SITE="http://www.$SPELL.org/";
LICENSE[0]='MIT'
diff --git a/python-pypi/turbogears/HISTORY b/python-pypi/turbogears/HISTORY
index 44a0076..917d3be 100644
--- a/python-pypi/turbogears/HISTORY
+++ b/python-pypi/turbogears/HISTORY
@@ -1,3 +1,7 @@
+2008-03-09 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 1.0.4.4
+ new url
+
2008-02-06 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 1.0.4.3




  • [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (5bf5f56aecb0d135e1353ccefb4c944dbccabc2b), Treeve Jelbert, 03/09/2008

Archive powered by MHonArc 2.6.24.

Top of Page