License change for psycopg2da

LGPL3+ZPL is fine for me, thanks.

Fabio
This commit is contained in:
Federico Di Gregorio 2010-02-14 01:23:57 +01:00
parent 4b58fc640e
commit 1a3e231e51
3 changed files with 43 additions and 35 deletions

View File

@ -139,6 +139,15 @@
<None Include="sandbox\test_isready_connection_closed.py" /> <None Include="sandbox\test_isready_connection_closed.py" />
<None Include="psycopg\adapter_pfloat.h" /> <None Include="psycopg\adapter_pfloat.h" />
<None Include="README.async" /> <None Include="README.async" />
<None Include="psycopg2da\adapter.py" />
<None Include="psycopg2da\configure.zcml" />
<None Include="psycopg2da\DEPENDENCIES.cfg" />
<None Include="psycopg2da\__init__.py" />
<None Include="psycopg2da\PACKAGE.cfg" />
<None Include="psycopg2da\psycopg2da-configure.zcml" />
<None Include="psycopg2da\PUBLICATION.cfg" />
<None Include="psycopg2da\README.txt" />
<None Include="psycopg2da\tests.py" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="psycopg\adapter_asis.c" /> <Compile Include="psycopg\adapter_asis.c" />

View File

@ -1,35 +1,28 @@
# psycopg2da
# Copyright (C) 2006 Fabio Tranchitella <fabio@tranchitella.it> # Copyright (C) 2006 Fabio Tranchitella <fabio@tranchitella.it>
# #
# Based on psycopgda: # psycopg2da is free software: you can redistribute it and/or modify it
# # under the terms of the GNU Lesser General Public License as published
# Copyright (c) 2002-2006 Zope Corporation and Contributors. # by the Free Software Foundation, either version 3 of the License, or
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# This program is distributed in the hope that it will be useful, # In addition, as a special exception, the copyright holders give
# but WITHOUT ANY WARRANTY; without even the implied warranty of # permission to link this program with the OpenSSL library (or with
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # modified versions of OpenSSL that use the same license as OpenSSL),
# GNU General Public License for more details. # and distribute linked combinations including the two.
# #
# You should have received a copy of the GNU General Public License # You must obey the GNU Lesser General Public License in all respects for
# along with this program; if not, write to the Free Software # all of the code used other than OpenSSL.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
# psycopg2da is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
# License for more details.
#
# Based on ZPsycopgDA.
# #
# If you prefer you can use this package using the ZPL license as # If you prefer you can use this package using the ZPL license as
# published on the Zope web site, http://www.zope.org/Resources/ZPL. # published on the Zope web site, http://www.zope.org/Resources/ZPL.
#
"""PostgreSQL Database Adapter for Zope 3""" """PostgreSQL Database Adapter for Zope 3"""
from zope.interface import implements from zope.interface import implements

View File

@ -1,20 +1,26 @@
# psycopg2da
# Copyright (C) 2006 Fabio Tranchitella <fabio@tranchitella.it> # Copyright (C) 2006 Fabio Tranchitella <fabio@tranchitella.it>
# #
# This program is free software; you can redistribute it and/or modify # psycopg2da is free software: you can redistribute it and/or modify it
# it under the terms of the GNU General Public License as published by # under the terms of the GNU Lesser General Public License as published
# the Free Software Foundation; either version 2 of the License, or # by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# This program is distributed in the hope that it will be useful, # In addition, as a special exception, the copyright holders give
# but WITHOUT ANY WARRANTY; without even the implied warranty of # permission to link this program with the OpenSSL library (or with
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # modified versions of OpenSSL that use the same license as OpenSSL),
# GNU General Public License for more details. # and distribute linked combinations including the two.
# #
# You should have received a copy of the GNU General Public License # You must obey the GNU Lesser General Public License in all respects for
# along with this program; if not, write to the Free Software # all of the code used other than OpenSSL.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# #
# psycopg2da is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
# License for more details.
#
# If you prefer you can use this package using the ZPL license as
# published on the Zope web site, http://www.zope.org/Resources/ZPL.
"""Unit tests for Psycopg2DA.""" """Unit tests for Psycopg2DA."""
from unittest import TestCase, TestSuite, main, makeSuite from unittest import TestCase, TestSuite, main, makeSuite