summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-08-22 07:21:35 +0000
committerCoprDistGit <infra@openeuler.org>2023-08-22 07:21:35 +0000
commit7e7ccc48338c8342f1d9961ee5c590a066ec5dd3 (patch)
treea2fddc9d42dd464442b6af2b2beb1f0b2981d636
parentd6c5c0e8a342da4ea7e34de52f5c95e1fe67b607 (diff)
automatic import of python-plum-pyopeneuler23.03
-rw-r--r--.gitignore1
-rw-r--r--python-plum-py.spec46
-rw-r--r--sources1
3 files changed, 48 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ec64b20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/plum-py-0.8.0.tar.gz
diff --git a/python-plum-py.spec b/python-plum-py.spec
new file mode 100644
index 0000000..191ce7c
--- /dev/null
+++ b/python-plum-py.spec
@@ -0,0 +1,46 @@
+%global srcname plum-py
+%bcond_with bootstrap
+
+Name: python-%{srcname}
+Version: 0.8.0
+Release: 2
+Summary: Pack/Unpack Memory.
+License: MIT
+URL: https://pypi.org/project/plum-py/
+Source0: https://files.pythonhosted.org/packages/63/3e/8f54cedec888fe4ba74c8a934751f268c39f5a0858e58702fdf703a41229/plum-py-0.8.0.tar.gz
+
+BuildArch: noarch
+
+%description
+The plum-py Python package provides classes and utility functions to transform byte sequences into Python objects and back.
+
+%package -n python3-plum-py
+Summary: Pack/Unpack Memory.
+BuildRequires: python3-pytest
+BuildRequires: python3-rpm-generators
+
+%description -n python3-plum-py
+The plum-py Python package provides classes and utility functions to transform byte sequences into Python objects and back.
+
+%prep
+%autosetup -n plum-py-%{version}
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+#%check
+#%{__python3} -m pytest tests/
+
+%files -n python3-plum-py
+%doc PKG-INFO
+%{python3_sitelib}/*
+
+%changelog
+* Mon Jun 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.8.0-2
+- Add BuildRequires : python3-rpm-generators
+
+* Fri May 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.8.0-1
+- Initial Packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..3238278
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+af7983b0b836785cfc99130f7e7779da plum-py-0.8.0.tar.gz