diff --git a/python-tinydb.spec b/python-tinydb.spec new file mode 100644 index 0000000000000000000000000000000000000000..2c889a68706d6bfa3a0e45934585c127e2c3132f --- /dev/null +++ b/python-tinydb.spec @@ -0,0 +1,52 @@ +%global pypi_name tinydb +%global author msiemens +%global pypi_hash 7acf7708e971fdd81edfe4fd9d8d8ce8bf2fe282746410943a4a595ae77e + +Name: python-%{pypi_name} +Version: 4.5.0 +Release: 1 +Summary: TinyDB is a tiny, document oriented database + +License: MIT +URL: https://pypi.python.org/pypi/%{pypi_name} +Source0: https://files.pythonhosted.org/packages/6d/49/%{pypi_hash}/%{pypi_name}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion}-pyyaml +BuildRequires: python%{python3_pkgversion}-pytest-runner +BuildRequires: python%{python3_pkgversion}-pytest-cov + +%description +TinyDB is a lightweight document oriented database optimized for your happiness + + +%package -n python%{python3_pkgversion}-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} + +%description -n python%{python3_pkgversion}-%{pypi_name} +TinyDB is a lightweight document oriented database optimized for your happiness + +%prep +%setup -q -n %{pypi_name}-%{version} + +%build +%py3_build + +%install +%py3_install + + +%files -n python%{python3_pkgversion}-%{pypi_name} +%doc README.rst +%license LICENSE +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Mon Jun 28 2021 mengchaoming - 4.5.0-1 +- package init + diff --git a/tinydb-4.5.0.tar.gz b/tinydb-4.5.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..08a1e2326c9e24330bcf27980dd4008dd5a8e871 Binary files /dev/null and b/tinydb-4.5.0.tar.gz differ