From 1cd78da90c08aeabe6a7d0f6c3b5da6805236632 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 27 Jan 2025 03:24:13 +0000 Subject: automatic import of python-orderly-set --- .gitignore | 1 + python-orderly-set.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 57 insertions(+) create mode 100644 python-orderly-set.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..9e555ff 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/python-orderly-set-5.2.2.tar.gz diff --git a/python-orderly-set.spec b/python-orderly-set.spec new file mode 100644 index 0000000..2161729 --- /dev/null +++ b/python-orderly-set.spec @@ -0,0 +1,55 @@ +%global pypi_name orderly-set +%global pypi_version 5.2.2 + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1 +Summary: A package containing multiple implementations of Ordered Set +License: MIT +URL: https://github.com/seperman/orderly-set +Source0: https://github.com/seperman/orderly-set/archive/%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +# Required by tests +BuildRequires: python3-wheel +BuildRequires: python3-pytest +BuildRequires: python3-mypy + +%description +Orderly Set is a package containing multiple implementations of +Ordered Set. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +Orderly Set is a package containing multiple implementations +of Ordered Set. + +%prep +%autosetup -n orderly-set-%{pypi_version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +# Tests are not running, see https://github.com/seperman/orderly-set/issues/7 +#{__python3} setup.py test + +%files -n python3-%{pypi_name} +%doc README.md +%license MIT-LICENSE +%{python3_sitelib}/orderly_set +%{python3_sitelib}/orderly_set-*.egg-info + +%changelog +* Mon Jan 27 2025 Dongxing Wang - 5.2.2-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..a2e3fa1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +86d2545106368c4a5476229daab5397b python-orderly-set-5.2.2.tar.gz -- cgit v1.2.3