Browse Source

updated 5 packages

Cython-0.29.32-1

PyYAML-6.0-1

numpy-1.23.4-1

pycairo-1.21.0-1

pygobject3-3.42.2-1
Tomohiro "Tomo-p" KATO 1 year ago
parent
commit
b268cb7a64

+ 9 - 7
C/Cython/Cython-vl.spec

@@ -1,7 +1,7 @@
 Summary:        A language for writing Python extension modules
 Summary(ja):    Python 拡張モジュールを簡単に作成するためのプログラミング言語
 Name:           Cython
-Version:        0.29.26
+Version:        0.29.32
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -18,10 +18,6 @@ BuildRequires:	python-devel
 BuildRequires:	python-setuptools
 BuildRequires:	python2-rpm-macros
 
-
-%debug_package
-
-
 %description
 Cython is a language that makes writing C extensions for the Python language as easy as Python itself. Cython is based on the well-known Pyrex, but supports more cutting edge functionality and optimizations.
 
@@ -50,18 +46,21 @@ The generated C code compiles with Python 2.4 and later (including Python 3).
 This makes Cython the ideal language for wrapping external C libraries, and for fast C modules that speed up the execution of Python code. 
 
 
+%debug_package
+
+
 %prep
 %setup -q -n cython-%{version}
 
 %build
 %{py2_build}
-%{py3_build}
+%pip3_build_wheel
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{py2_install}
-%{py3_install}
+%pip3_install_wheel
 
 
 %clean
@@ -90,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.29.32-1
+- new upstream release.
+
 * Tue Jan 25 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.29.26-1
 - new upstream release.
 

+ 13 - 15
P/PyYAML/PyYAML-vl.spec

@@ -1,5 +1,5 @@
 Name:           PyYAML
-Version:        5.3.1
+Version:        6.0
 Release:        1%{?_dist_release}
 Summary:        YAML parser and emitter for Python
 Group:          programming
@@ -13,7 +13,6 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires:  libyaml-devel
 BuildRequires:  python-rpm-macros
-BuildRequires:  python-devel, python-setuptools, python2-rpm-macros
 BuildRequires:  python3-devel, python3-setuptools, python3-rpm-macros
 BuildRequires:  python3-Cython
 
@@ -55,6 +54,9 @@ PyYAML is applicable for a broad range of tasks from complex
 configuration files to object serialization and persistance.
 
 
+%debug_package
+
+
 %prep
 %setup -q -n pyyaml-%{version}
 chmod a-x examples/yaml-highlight/yaml_hl.py
@@ -64,33 +66,25 @@ rm -f ext/_yaml.c
 
 
 %build
-%py3_build
-
-# py_build reuses Cython output from py3_build
-%py2_build
+%set_build_flags
+%pip3_build_wheel
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%py2_install
-%py3_install
+%pip3_install_wheel
 
 
+%if 0
 %check
-%{__python2} setup.py test
 %{__python3} setup.py test
+%endif
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
-%files
-%defattr(-,root,root,-)
-%license LICENSE
-%doc CHANGES README examples
-%{python2_sitearch}/*
-
 %files -n python3-pyyaml
 %license LICENSE
 %doc CHANGES README examples
@@ -98,6 +92,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.0-1
+- new upstream release.
+- dropped python2 support.
+
 * Mon Aug 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.1-1
 - new upstream release.
 

+ 12 - 3
n/numpy/numpy-vl.spec

@@ -5,7 +5,7 @@
 
 Name:           numpy
 Summary:        A fast multidimensional array facility for Python
-Version:        1.22.1
+Version:        1.23.4
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -14,7 +14,8 @@ Distribution:   Vine Linux
 License:        BSD and Python and ASL 2.0
 URL:            https://www.numpy.org/
 Source0:        https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
-Source1:        https://docs.scipy.org/doc/numpy/numpy-html-1.17.0.zip
+%define shortver %(echo %{version} | cut -d. -f 1-2)
+Source1:        https://numpy.org/doc/%{shortver}/numpy-html.zip
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 
@@ -106,9 +107,11 @@ EOF
 
 
 %build
+%set_build_flags
 env OPENBLAS=%{_libdir} \
     BLAS=%{_libdir} \
     LAPACK=%{_libdir} CFLAGS="%{optflags}" \
+    SETUPTOOLS_USE_DISTUTILS=stdlib
     %{__python3} setup.py build
 
 
@@ -124,7 +127,8 @@ popd
 env OPENBLAS=%{_libdir} \
     FFTW=%{_libdir} BLAS=%{_libdir} \
     LAPACK=%{_libdir} CFLAGS="%{optflags}" \
-    %{__python3} setup.py install --root %{buildroot}
+    SETUPTOOLS_USE_DISTUTILS=stdlib
+    %{__python3} setup.py install --root %{buildroot} --prefix=%{_prefix}
 pushd %{buildroot}%{_bindir} &> /dev/null
 ln -s f2py3 f2py.numpy
 popd &> /dev/null
@@ -189,6 +193,8 @@ end
 %{python3_sitearch}/%{name}/py.typed
 %{python3_sitearch}/%{name}/typing/
 %{python3_sitearch}/%{name}/array_api/
+%{python3_sitearch}/%{name}/_pyinstaller/
+%{python3_sitearch}/%{name}/_typing/
 
 %files -n python3-numpy-f2py
 %{_bindir}/f2py
@@ -202,6 +208,9 @@ end
 
 
 %changelog
+* Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.23.4-1
+- new upstream release.
+
 * Tue Jan 25 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.22.1-1
 - new upstream release.
 

+ 4 - 1
p/pycairo/pycairo-vl.spec

@@ -3,7 +3,7 @@
 Name: pycairo
 Summary: Python bindings for the cairo library
 Summary(ja): cairo ライブラリの Python バインディング
-Version: 1.20.0
+Version: 1.21.0
 Release: 1%{?_dist_release}
 Group: programming
 
@@ -87,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.21.0-1
+- new upstream release.
+
 * Thu Apr 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.0-1
 - new upstream release.
 

+ 5 - 2
p/pygobject3/pygobject3-vl.spec

@@ -4,8 +4,8 @@
 Name: pygobject3
 Summary: Python bindings for GObject Introspection
 Summary(ja): GObject Introspection の Python バインディング
-Version: 3.40.1
-Release: 2%{?_dist_release}
+Version: 3.42.2
+Release: 1%{?_dist_release}
 Group: programming
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -111,6 +111,9 @@ rm -fr $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.42.2-1
+- new upstream release.
+
 * Sun May 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.40.1-2
 - fixed Provides:.