From 379bfe17d1e1edd4aed921c790ddb4af4927bf75c9def467b736a118650d1a90 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Mon, 4 Sep 2017 13:55:36 +0000 Subject: [PATCH] Accepting request 519962 from devel:languages:python:singlespec-staging - Update to 6.2.4: * More complete fix for pkgsrc. - Update to 6.2.3: * Update copyright notices. * Solve a conflict between different installations of Berkeley DB on some pkgsrc configurations. - Update to 6.2.2: * Correctly detect Berkeley DB installations in SmartOS native zones. * "Probably" (not tested) correctly detect Berkeley DB in pkgsrc systems. - Update to 6.2.1: * Correctly detect Berkeley DB installations in modern 64 bits Debians. - Update to 6.2.0: * Support Berkeley DB 6.2.x. * Declare Python 3.5 support for PyPI. * Drop support for Python 3.2. If you need compatibility with that version, you can keep using old releases of these bindings. * Drop support for Berkeley DB 5.0, 5.2 and 6.0. If you need compatibility with those versions, you can keep using old releases of these bindings. - Update to 6.1.1: * Compatibility with Python 3.5. * Code cleanup after dropping Python 2.4/2.5 support. * PGP key changed. * Support for DB_FORCESYNCENV flag in "DB_ENV.close()". * Support for DB_LOG_NOSYNC flag in "DB_ENV.log_set_config()". * Fix tests under Windows. See https://bugs.python.org/issue22943 . * Solve an incorrect parameter verification with the "DB.compact()" method call. * Solve a compilation warning when compiling the bindings for Python 3.5 and Berkeley DB 4.8, 5.0 or 5.1. - singlespec auto-conversion - Packaged licenses.txt LICENSE.txt README.txt - Update to 6.1.0. Changes from 6.0.0 * Support Berkeley DB 6.1.x. * Solve a ResourceWarning when compiling. * Drop support for Python 2.4, 2.5 and 3.1. If you need compatibility with those versions, you can keep using old releases of these bindings. * Drop support for Berkeley DB 4.3, 4.4, 4.5, 4.6. If you need compatibility with those versions, you can keep using old releases of these bindings. * From now, on our support reference is Red Had Enterprise Linux 6. * Drop modules attributes "cvsid". * Drop (hidden) $Id$ keyword in the documentation. * Clarification of license. This work is now explicitly licensed under 3-clause BSD license. * Fixed a long standing bug (August 2008, rev 9fd52748fa59) on "dbtables.py". * If you want to link with Oracle Berkeley DB 6.0, you will need to create the environment variable 'YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION' to signal to the pybsddb that you are legal. To be legal, your code MUST be AGPL3 *OR* you have to buy a commercial license from Oracle. - Change license to BSD-3-Clause according to upstream changes - Removed python-bsddb3.keyring and .asc file - Update to new upstream release 6.0.0 * Support for BDB 6.0.19 * HEADS UP: If you are using "bsddb3._bsddb" in your code, for example for exceptions, change it to "bsddb3._db". - Removed bsddb3-db6.diff (rendered obsolete) - Add bsddb3-db6.diff to make setup[23].py look for BDB 6.0 - Signature verification - Removed BuildArch: noarch macro - Simplify macro usage - Initial python3 support - Update to version 5.3.0 * Support Berkeley DB 5.3.x. * Drop support for Berkeley DB 4.2 and Python 2.3. Our reference is Red Had Enterprise Linux 5, until march 2014. After that, RHEL6 has Python 2.6 and BDB 4.7. * According to http://superuser.com/questions/189931/python-and-berkeley-db-versions-in-redhat-enterprise-linux-3-4-5-and-upcoming-6: * RHEL3: Python 2.2.3, BDB 4.1.25 * RHEL4: Python 2.3.4, BDB 4.2.52 * RHEL5: Python 2.4.3, BDB 4.3.29 * RHEL6: Python 2.6.2, BDB 4.7.25 * Support for "DBEnv->set_intermediate_dir()", available in Berkeley DB 4.3-4.6. Patch by Garret Cooper. * Support for "DB->set_dup_compare()". Original patches by Nikita M. Kozlovsky and Ben Schmeckpeper. * Fixed a testsuite compatibility problem with BDB 5.2. * If we are running Solaris or derivatives, and 64bit python, try to find the library under "/usr/local/Berkeley.*.*/64/". * Solaris 10 Update 10 exposes a very old race condition in the replication master election tests. Some details in https://forums.oracle.com/forums/thread.jspa?messageID=9902860 . Workaround proposed in a private email from Paula Bingham (Oracle), in 20110929. * When doing the full matrix test for a release, stop the verification if any test failed. - Update to version 5.2.0: * Support for Berkeley DB 5.2. * Support for the newly available replication manager events: DB_EVENT_REP_SITE_ADDED, DB_EVENT_REP_SITE_REMOVED, DB_EVENT_REP_LOCAL_SITE_REMOVED, DB_EVENT_REP_CONNECT_BROKEN, DB_EVENT_REP_CONNECT_ESTD, DB_EVENT_REP_CONNECT_TRY_FAILED, DB_EVENT_REP_INIT_DONE. * New Object: "DB_SITE". Support for all its methods. * Parameters for "DB_SITE->set_config()": DB_BOOTSTRAP_HELPER, DB_GROUP_CREATOR, DB_LEGACY, DB_LOCAL_SITE, DB_REPMGR_PEER. * Support for some stuff in the new "Dynamic Environment Configuration": DB_MEM_LOCK, DB_MEM_LOCKOBJECT, DB_MEM_LOCKER, DB_MEM_LOGID, DB_MEM_TRANSACTION, DB_MEM_THREAD. * Add "bytes" to "DBEnv_memp_stat()". Original patch from Garrett Cooper. - Spec file cleanup: * Split of devel package for headers * Don't package tests * Fix non-executable bits * Testsuite for "DB->get_transactional()" should not create databases outside the TMP directory, neither leave the files behind. * If something happens while creating the CObject/Capsule object, keep going, even without exporting the C API, instead of crashing. * Support for: * "DB_FORCESYNC", "DB_FAILCHK", "DB_SET_REG_TIMEOUT", * "DB_TXN_BULK", "DB_HOTBACKUP_IN_PROGRESS". * "DB_EVENT_REG_ALIVE", "DB_EVENT_REG_PANIC", * "DB_EVENT_REP_DUPMASTER", "DB_REPMGR_CONF_ELECTIONS", * "DB_EVENT_REP_ELECTION_FAILED", "DB_EVENT_REP_MASTER_FAILURE". * "DB_VERB_REP_ELECT", "DB_VERB_REP_LEASE", "DB_VERB_REP_MISC", * "DB_VERB_REP_MSGS", "DB_VERB_REP_SYNC", "DB_VERB_REP_SYSTEM", * "DB_VERB_REPMGR_CONNFAIL", "DB_VERB_REPMGR_MISC". * "DB_STAT_LOCK_CONF", "DB_STAT_LOCK_LOCKERS", * "DB_STAT_LOCK_OBJECTS", "DB_STAT_LOCK_PARAMS". * "DB_REP_CONF_INMEM", "DB_TIMEOUT ", "DB_CURSOR_BULK". * "DB->get_transactional()", "DB_REPMGR_ACKS_ALL_AVAILABLE" * Support for Berkeley DB 5.1. * Drop support for Berkeley DB 4.1 * Include processed HTML documentation in the EGG. * Some link fixes for external documentation. * Links added in the documentation to Oracle Berkeley DB programmer reference. - fix file list - Use generic db-devel in BuildRequires instead of libdb-4_5-devel. - Initial Package, Version 5.0.0 OBS-URL: https://build.opensuse.org/request/show/519962 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bsddb3?expand=0&rev=29 --- bsddb3-6.1.0.tar.gz | 3 --- bsddb3-6.2.4.tar.gz | 3 +++ python-bsddb3.changes | 41 +++++++++++++++++++++++++++++++++++++++++ python-bsddb3.spec | 41 ++++++++++++++++++++--------------------- 4 files changed, 64 insertions(+), 24 deletions(-) delete mode 100644 bsddb3-6.1.0.tar.gz create mode 100644 bsddb3-6.2.4.tar.gz diff --git a/bsddb3-6.1.0.tar.gz b/bsddb3-6.1.0.tar.gz deleted file mode 100644 index cfabe5e..0000000 --- a/bsddb3-6.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b13163e3891c32390aea66edcf7880eb245abc89199a766b7b1907fc5c1efd15 -size 340966 diff --git a/bsddb3-6.2.4.tar.gz b/bsddb3-6.2.4.tar.gz new file mode 100644 index 0000000..6f43b23 --- /dev/null +++ b/bsddb3-6.2.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4866aa32ad6ec6d5ff401d9aec8da07c4e84502298dc27f7c758545e243550e6 +size 242397 diff --git a/python-bsddb3.changes b/python-bsddb3.changes index 74f0972..0dcb11b 100644 --- a/python-bsddb3.changes +++ b/python-bsddb3.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Thu Aug 31 06:28:17 UTC 2017 - toddrme2178@gmail.com + +- Update to 6.2.4: + * More complete fix for pkgsrc. +- Update to 6.2.3: + * Update copyright notices. + * Solve a conflict between different installations of Berkeley DB + on some pkgsrc configurations. +- Update to 6.2.2: + * Correctly detect Berkeley DB installations in SmartOS native zones. + * "Probably" (not tested) correctly detect Berkeley DB in pkgsrc systems. +- Update to 6.2.1: + * Correctly detect Berkeley DB installations in modern 64 bits Debians. +- Update to 6.2.0: + * Support Berkeley DB 6.2.x. + * Declare Python 3.5 support for PyPI. + * Drop support for Python 3.2. If you need + compatibility with that version, you can keep using + old releases of these bindings. + * Drop support for Berkeley DB 5.0, 5.2 and 6.0. If you need + compatibility with those versions, you can keep using old + releases of these bindings. +- Update to 6.1.1: + * Compatibility with Python 3.5. + * Code cleanup after dropping Python 2.4/2.5 support. + * PGP key changed. + * Support for DB_FORCESYNCENV flag in "DB_ENV.close()". + * Support for DB_LOG_NOSYNC flag in "DB_ENV.log_set_config()". + * Fix tests under Windows. See https://bugs.python.org/issue22943 . + * Solve an incorrect parameter verification with the + "DB.compact()" method call. + * Solve a compilation warning when compiling the bindings for + Python 3.5 and Berkeley DB 4.8, 5.0 or 5.1. + +------------------------------------------------------------------- +Thu Aug 24 13:33:30 UTC 2017 - jmatejek@suse.com + +- singlespec auto-conversion + ------------------------------------------------------------------- Mon Jul 28 11:38:21 UTC 2014 - mlin@suse.com @@ -148,3 +188,4 @@ Tue Jun 22 12:50:44 UTC 2010 - hvogel@novell.com - Initial Package, Version 5.0.0 + diff --git a/python-bsddb3.spec b/python-bsddb3.spec index 71043ed..6bbec61 100644 --- a/python-bsddb3.spec +++ b/python-bsddb3.spec @@ -1,7 +1,7 @@ # # spec file for package python-bsddb3 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,22 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-bsddb3 -Version: 6.1.0 +Version: 6.2.4 Release: 0 -Url: http://pypi.python.org/pypi/bsddb3 Summary: Python interface for Berkeley DB License: BSD-3-Clause Group: Development/Libraries/Python - -#Freecode-URL: http://freecode.com/projects/bsddb3 -#Hg-Clone: http://hg.jcea.es/pybsddb/ -Source: http://pypi.python.org/packages/source/b/bsddb3/bsddb3-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: http://pypi.python.org/pypi/bsddb3 +#Freecode-URL: https://www.jcea.es/programacion/pybsddb.htm +Source: https://files.pythonhosted.org/packages/source/b/bsddb3/bsddb3-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: python3-testsuite BuildRequires: db-devel -BuildRequires: python-devel -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%endif +BuildRequires: python-rpm-macros + +%python_subpackages %description This module provides a nearly complete wrapping of the Oracle/Sleepycat C API @@ -58,23 +57,23 @@ This package contains the development files for %{name} sed -i "1d" Lib/bsddb/dbshelve.py # Fix non-executable bits %build -CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build +export CFLAGS="%{optflags} -fno-strict-aliasing" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install rm -rf %{buildroot}%{python_sitearch}/bsddb3/tests # Remove wrongly packaged tests -# Disabled testsuite, takes quite some time to finish: -#%%check -#python test.py +%check +%python_exec test.py -%files +%files %{python_files} %defattr(-,root,root,-) -%doc ChangeLog licenses.txt LICENSE.txt README.txt TODO.txt docs/*.rst docs/*.png docs/html/* +%doc ChangeLog licenses.txt LICENSE.txt README.txt TODO.txt docs/* %{python_sitearch}/* -%files devel +%files %{python_files devel} %defattr(-,root,root,-) -%{_includedir}/python*/bsddb3 +%{_includedir}/python%{python_version}*/bsddb3 %changelog