!1 Initial packaging

From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2022-06-02 07:10:11 +00:00 committed by Gitee
commit 098081f216
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 47 additions and 0 deletions

BIN
plum-py-0.8.0.tar.gz Normal file

Binary file not shown.

43
python-plum-py.spec Normal file
View File

@ -0,0 +1,43 @@
%global srcname plum-py
%bcond_with bootstrap
Name: python-%{srcname}
Version: 0.8.0
Release: 1
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
%{?python_provide:%python_provide python3-%{srcname}}
%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
* Fri May 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.8.0-1
- Initial Packaging

4
python-plum-py.yaml Normal file
View File

@ -0,0 +1,4 @@
version-ctrl: pypi
src_repo: plum-py
tag_prefix: "^"
separator: "."