public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tkrzw] epel10: Initial import (#1925812)
@ 2026-10-27 20:59 TI_Eugene
  0 siblings, 0 replies; only message in thread
From: TI_Eugene @ 2026-10-27 20:59 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-tkrzw
Branch : epel10
Commit : 382ac28597265e41031ade583c72b3d59577b6ba
Author : TI_Eugene <ti.eugene@gmail.com>
Date   : 2021-02-17T18:01:39+03:00
Stats  : +88/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-tkrzw/c/382ac28597265e41031ade583c72b3d59577b6ba?branch=epel10

Log:
Initial import (#1925812)

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dd252a8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/tkrzw-python-0.1.4.tar.gz

diff --git a/python-tkrzw.spec b/python-tkrzw.spec
new file mode 100644
index 0000000..e31fca4
--- /dev/null
+++ b/python-tkrzw.spec
@@ -0,0 +1,86 @@
+%global	module	tkrzw
+
+Name:		python-%{module}
+Version:	0.1.4
+Release:	2%{?dist}
+License:	ASL 2.0
+Summary:	TKRZW Python bindings
+URL:		https://dbmx.net/tkrzw/
+Source0:	https://dbmx.net/tkrzw/pkg-python/%{module}-python-%{version}.tar.gz
+BuildRequires:	gcc-c++
+BuildRequires:	python3-setuptools
+# python3-devel
+BuildRequires:	pkgconfig(python3)
+# zlib-devel
+#BuildRequires:	pkgconfig(zlib)
+# tkrzw-devel
+BuildRequires:	pkgconfig(tkrzw)
+# python3-sphinx
+BuildRequires:	python3dist(sphinx)
+# https://bugzilla.redhat.com/show_bug.cgi?id=1920195
+ExcludeArch:	%ix86
+
+%description
+TKRZW is a library of routines for managing a key-value database.
+
+%package -n	python3-%{module}
+Summary:	%{summary}
+%if 0%{?epel} && 0%{?epel} < 9
+%{?python_provide:%python_provide python3-%{module}}
+%endif
+%if 0%{?fedora} == 32
+%py_provides python3-%{module}
+%endif
+
+%description -n	python3-%{module}
+TKRZW is a library of routines for managing a key-value database.
+
+%package	doc
+Summary:	%{summary} - API documentation
+BuildArch:	noarch
+
+%description	doc
+TKRZW is a library of routines for managing a key-value database.
+This package contains API documentation of it.
+
+
+%prep
+%autosetup -n %{module}-python-%{version}
+
+
+%build
+%py3_build
+%make_build apidoc
+
+
+%install
+%py3_install
+
+
+%check
+export PYTHONPATH=%{buildroot}%{python3_sitearch}
+%make_build check
+
+
+%files -n python3-%{module}
+%license COPYING
+%{python3_sitearch}/Tkrzw-0.1-py%{python3_version}.egg-info
+%if 0%{?epel} && 0%{?epel} < 9
+%{python3_sitearch}/tkrzw.cpython-%{python3_version_nodots}m-*-linux-gnu*.so
+%else
+%{python3_sitearch}/tkrzw.cpython-%{python3_version_nodots}-*-linux-gnu*.so
+%endif
+
+%files doc
+%license COPYING
+%doc README CONTRIBUTING.md example?.py api-doc/
+
+%changelog
+* Sun Feb 14 2021 TI_Eugene <ti.eugene@gmail.com> - 0.1.4-2
+- python_provide fix
+- -doc subpackage added
+- check introduced
+- epel8 compatible
+
+* Sat Feb 06 2021 TI_Eugene <ti.eugene@gmail.com> - 0.1.4-1
+- Initial build

diff --git a/sources b/sources
new file mode 100644
index 0000000..493c74a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (tkrzw-python-0.1.4.tar.gz) = c25408a7badd01221880d45437d73019d9e2cf20b51e5f98db1b5f0acf0d3bf60a97325d02570fb84b74f27e0a094b973af3aebe374ef92059b72503a95d9912

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-27 20:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 20:59 [rpms/python-tkrzw] epel10: Initial import (#1925812) TI_Eugene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox