summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-08-22 07:28:37 +0000
committerCoprDistGit <infra@openeuler.org>2023-08-22 07:28:37 +0000
commitc77beb58b937f9198333dceabc4fe1592c3467ba (patch)
tree57cb32e846be5228135ab621cbe970029cff83de
parent8fd382d71c7b77a892a201ede229bea546a8cf22 (diff)
automatic import of python-zope-exceptionsopeneuler23.03
-rw-r--r--.gitignore1
-rw-r--r--python-zope-exceptions.spec51
-rw-r--r--sources1
3 files changed, 53 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7434da5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/zope.exceptions-5.0.1.tar.gz
diff --git a/python-zope-exceptions.spec b/python-zope-exceptions.spec
new file mode 100644
index 0000000..eb9ae13
--- /dev/null
+++ b/python-zope-exceptions.spec
@@ -0,0 +1,51 @@
+%global modname zope.exceptions
+
+Name: python-zope-exceptions
+Version: 5.0.1
+Release: 1
+Summary: Zope Exceptions
+
+License: ZPLv2.1
+URL: https://github.com/zopefoundation/zope.exceptions
+Source0: %{url}/archive/%{version}.tar.gz#/zope.exceptions-%{version}.tar.gz
+BuildArch: noarch
+
+%description
+This package contains exception interfaces and implementations which are so
+general purpose that they don't belong in Zope application-specific packages.
+
+%package -n python3-zope-exceptions
+Summary: Zope Exceptions
+%python_provide python3-zope-exceptions
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-setuptools_scm
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+
+%description -n python3-zope-exceptions
+This package contains exception interfaces and implementations which are so
+general purpose that they don't belong in Zope application-specific packages.
+
+%prep
+%autosetup -n %{modname}-%{version}
+
+rm -rf %{modname}.egg-info
+
+%build
+%{pyproject_build}
+
+%install
+%{pyproject_install}
+
+%files -n python3-zope-exceptions
+%license LICENSE.txt
+%doc CHANGES.rst README.rst COPYRIGHT.txt
+%{python3_sitelib}/zope/exceptions/
+%{python3_sitelib}/zope.exceptions-*
+%exclude %{python3_sitelib}/zope/exceptions/tests/
+
+%changelog
+* Fri Aug 18 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 5.0.1-1
+- Init package python-zope-exceptions-5.0.1
diff --git a/sources b/sources
new file mode 100644
index 0000000..0edec92
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6ad3c6ee82f635283d74c3abaffcb52d zope.exceptions-5.0.1.tar.gz