summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-08-14 11:49:26 +0000
committerCoprDistGit <infra@openeuler.org>2025-08-14 11:49:26 +0000
commit35ab2e5375f7e553106320650f882dddc9410092 (patch)
treef248c88884cc8b65bd23b1d3caeb68a84b2904c8
parent30cd9a85e91204541b6c7247c4e612d22931d21d (diff)
automatic import of python-assertpyopeneuler25.03
-rw-r--r--.gitignore1
-rw-r--r--python-assertpy.spec47
-rw-r--r--sources1
3 files changed, 49 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d6fd969 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/assertpy-1.1.tar.gz
diff --git a/python-assertpy.spec b/python-assertpy.spec
new file mode 100644
index 0000000..9ee5655
--- /dev/null
+++ b/python-assertpy.spec
@@ -0,0 +1,47 @@
+Name: python-assertpy
+Version: 1.1
+Release: 1
+Summary: Simple assertion library for unit testing in python with a fluent API
+
+License: BSD
+URL: https://github.com/assertpy/assertpy
+Source: %{url}/archive/%{version}/assertpy-%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: python3-hatchling
+
+%global common_description %{expand:
+Simple assertions library for unit testing in Python with a nice fluent API.
+Supports both Python 2 and 3.}
+
+%description %{common_description}
+
+
+%package -n python3-assertpy
+Summary: %{summary}
+
+%description -n python3-assertpy %{common_description}
+
+%prep
+%autosetup -n assertpy-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+
+%files -n python3-assertpy
+%license LICENSE
+%doc README.md
+%{python3_sitelib}/assertpy
+%{python3_sitelib}/assertpy-*.dist-info/
+
+%changelog
+* Thu Aug 14 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.1-1
+- Init package
diff --git a/sources b/sources
new file mode 100644
index 0000000..c71d1e0
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3ae31323ac0e70bbafeeb72049e3ac92 assertpy-1.1.tar.gz