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