diff --git a/python-stuf.spec b/python-stuf.spec new file mode 100644 index 0000000000000000000000000000000000000000..7e1fb2e8f00faf19c2ba5fcf23a4420eabc3363c --- /dev/null +++ b/python-stuf.spec @@ -0,0 +1,57 @@ +%{?python_enable_dependency_generator} +%global modname stuf + +Name: python-stuf +Version: 0.9.16 +Release: 1 +Summary: Fancy python dictionary types + +License: BSD +URL: http://pypi.python.org/pypi/stuf +Source0: https://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz + +BuildArch: noarch + + +%description +A collection of Python dictionary types that support attribute-style +access. Includes *defaultdict*, *OrderedDict*, restricted, *ChainMap*, +*Counter*, and frozen implementations plus miscellaneous utilities for +writing Python software. + +%package -n python3-%{modname} +Summary: Fancy python dictionary types +%{?python_provide:%python_provide python3-%{modname}} +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description -n python3-%{modname} +A collection of Python dictionary types that support attribute-style +access. Includes *defaultdict*, *OrderedDict*, restricted, *ChainMap*, +*Counter*, and frozen implementations plus miscellaneous utilities for +writing Python software. + +%prep +%autosetup -n %{modname}-%{version} + +# Remove upstreams egg info +rm -rf *.egg* + +%build +%py3_build + +%install +%py3_install + +# https://bitbucket.org/lcrees/stuf/issues/9/find_packages-should-exclude-tests +rm -rf %{buildroot}%{python3_sitelib}/tests/ + +%files -n python3-%{modname} +%doc README.rst +%license LICENSE.txt +%{python3_sitelib}/%{modname}/ +%{python3_sitelib}/%{modname}-%{version}-* + +%changelog +* Fri Jul 09 2021 Python Stuf - 0.9.16-1 +- Init Package diff --git a/stuf-0.9.16.tar.gz b/stuf-0.9.16.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..427d00dbf7dd58c3aab81c52fe3e1d131318e831 Binary files /dev/null and b/stuf-0.9.16.tar.gz differ