Update package to version 0.13.5

This commit is contained in:
jxy_git 2022-11-18 17:09:28 +08:00
parent 5c6377a2fd
commit c44191ee95
3 changed files with 42 additions and 7 deletions

View File

@ -0,0 +1,32 @@
From 05fe988b4334620b37cff9e4e0f81fcc1157c54a Mon Sep 17 00:00:00 2001
From: jxy_git <jiangxinyu@kylinos.cn>
Date: Tue, 22 Nov 2022 10:55:47 +0800
Subject: [PATCH] Fix missing version of python3.10dist(statsmodels)
---
setup.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/setup.py b/setup.py
index 8100d10..a8537b3 100644
--- a/setup.py
+++ b/setup.py
@@ -79,6 +79,7 @@ EXTRAS_REQUIRE = {
# Values that rarely change
###############################################################################
DISTNAME = "statsmodels"
+VERSION = "0.13.5"
DESCRIPTION = "Statistical computations and models for Python"
README = SETUP_DIR.joinpath("README.rst").read_text()
LONG_DESCRIPTION = README
@@ -387,6 +388,7 @@ class BinaryDistribution(Distribution):
setup(
name=DISTNAME,
+ version=VERSION,
maintainer=MAINTAINER,
ext_modules=extensions,
maintainer_email=MAINTAINER_EMAIL,
--
2.38.1

View File

@ -1,12 +1,12 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-statsmodels Name: python-statsmodels
Version: 0.13.2 Version: 0.13.5
Release: 1 Release: 1
Summary: Statistical computations and models for Python Summary: Statistical computations and models for Python
License: BSD License License: BSD-3-Clause
URL: https://www.statsmodels.org/ URL: https://github.com/statsmodels/statsmodels
Source0: https://files.pythonhosted.org/packages/e1/4a/0eb4efa49cc352e2721e2aebfe8573264db2add195545ec3979c98040c3b/statsmodels-0.13.2.tar.gz Source0: https://files.pythonhosted.org/packages/a4/7d/a919dbad04ec31741eee6a7f7df4a9a9e57e3b863900e48b079a6b832aab/statsmodels-0.13.5.tar.gz
Patch0: 0001-Fix-missing-version-of-python3.10dist-statsmodels.patch
%description %description
Statsmodels is a Python package that provides a complement to scipy for Statsmodels is a Python package that provides a complement to scipy for
@ -15,7 +15,7 @@ and inference for statistical models.
%package -n python3-statsmodels %package -n python3-statsmodels
Summary: Statistical computations and models for Python Summary: Statistical computations and models for Python
Provides: python-statsmodels Provides: python-statsmodels = %{version}-%{release}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-cffi BuildRequires: python3-cffi
@ -34,7 +34,7 @@ Provides: python3-statsmodels-doc
Development documents and examples for statsmodels. Development documents and examples for statsmodels.
%prep %prep
%autosetup -n statsmodels-0.13.2 %autosetup -p1 -n statsmodels-%{version}
%build %build
%py3_build %py3_build
@ -74,5 +74,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Fri Nov 18 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 0.13.5-1
- Update package to version 0.13.5
* Fri Jul 08 2022 Xu Jin <jinxu@kylinos.cn> - 0.13.2-1 * Fri Jul 08 2022 Xu Jin <jinxu@kylinos.cn> - 0.13.2-1
- Package Spec generated - Package Spec generated