Initial Packaging
This commit is contained in:
parent
5f872ab8d2
commit
437ad0fb53
BIN
plum-py-0.8.0.tar.gz
Normal file
BIN
plum-py-0.8.0.tar.gz
Normal file
Binary file not shown.
43
python-plum-py.spec
Normal file
43
python-plum-py.spec
Normal 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
4
python-plum-py.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version-ctrl: pypi
|
||||
src_repo: plum-py
|
||||
tag_prefix: "^"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user