commit 35aa0104b914e894df8371e72597ed74e13cc13ffee91682641164370b9e2ef2 Author: Steve Kowalik Date: Mon Feb 5 04:24:39 2024 +0000 - Initial release of 18.1.8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-berkeleydb?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/berkeleydb-18.1.8.tar.gz b/berkeleydb-18.1.8.tar.gz new file mode 100644 index 0000000..2b2dbef --- /dev/null +++ b/berkeleydb-18.1.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1831a790bfd855740e5c12f952f19f646c269806cfc362775afd9878cf32557 +size 294803 diff --git a/python-berkeleydb.changes b/python-berkeleydb.changes new file mode 100644 index 0000000..1832436 --- /dev/null +++ b/python-berkeleydb.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Feb 5 03:28:49 UTC 2024 - Steve Kowalik + +- Initial release of 18.1.8 diff --git a/python-berkeleydb.spec b/python-berkeleydb.spec new file mode 100644 index 0000000..1122d96 --- /dev/null +++ b/python-berkeleydb.spec @@ -0,0 +1,81 @@ +# +# spec file for package python-berkeleydb +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: python-berkeleydb +Version: 18.1.8 +Release: 0 +Summary: Python bindings for Oracle Berkeley DB +License: BSD-3-Clause +URL: https://www.jcea.es/programacion/pybsddb.htm +Source: https://files.pythonhosted.org/packages/source/b/berkeleydb/berkeleydb-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 65.5.0} +BuildRequires: %{python_module testsuite} +BuildRequires: %{python_module wheel} +BuildRequires: db-devel +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%python_subpackages + +%description +This module provides a nearly complete wrapping of the Oracle/Sleepycat C API +for the Database Environment, Database, Cursor, Log Cursor, Sequence and +Transaction objects, and each of these is exposed as a Python type in the +berkeleydb.db module. The database objects can use various access methods: +btree, hash, recno, queue and heap. Complete support of Oracle Berkeley DB +distributed transactions. Complete support for Oracle Berkeley DB Replication +Manager. Complete support for Oracle Berkeley DB Base Replication. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version} + +%description devel +This module provides a nearly complete wrapping of the Oracle/Sleepycat C API +for the Database Environment, Database, Cursor, Log Cursor, Sequence and +Transaction objects, and each of these is exposed as a Python type in the +berkeleydb.db module. + +This package contains the development files for %{name} + +%prep +%autosetup -p1 -n berkeleydb-%{version} + +%build +export CFLAGS="%{optflags} -fno-strict-aliasing" +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} %{buildroot}%{_docdir} + +%check +%python_exec test.py + +%files %{python_files} +%doc ChangeLog README.txt docs/* +%license LICENSE.txt licenses.txt +%{python_sitearch}/berkeleydb +%{python_sitearch}/berkeleydb-%{version}.dist-info + +%files %{python_files devel} +%license licenses.txt LICENSE.txt +%{_includedir}/python%{python_version}*/berkeleydb + +%changelog