Compare commits
2 Commits
7b06dc068d
...
5ee8e4c98c
Author | SHA1 | Date |
---|---|---|
Miro Hrončok | 5ee8e4c98c | |
Miro Hrončok | 7f37560dbd |
37
Cython.spec
37
Cython.spec
|
@ -1,4 +1,4 @@
|
||||||
%bcond_without tests
|
%bcond_with tests
|
||||||
|
|
||||||
# This bcond allows to ship a non-compiled version
|
# This bcond allows to ship a non-compiled version
|
||||||
# Slower, but sometimes necessary with alpha Python versions
|
# Slower, but sometimes necessary with alpha Python versions
|
||||||
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
Name: Cython
|
Name: Cython
|
||||||
Version: 0.29.32
|
Version: 0.29.32
|
||||||
Release: 1%{?dist}
|
Release: 1.0.riscv64%{?dist}
|
||||||
Summary: Language for writing Python extension modules
|
Summary: Language for writing Python extension modules
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
|
@ -64,18 +64,6 @@ Provides: bundled(python3dist(tempita))
|
||||||
%description -n python3-Cython %{_description}
|
%description -n python3-Cython %{_description}
|
||||||
|
|
||||||
|
|
||||||
%package -n emacs-cython-mode
|
|
||||||
Summary: A major mode for editing Cython source files in Emacs
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: emacs
|
|
||||||
%{?_emacs_version:
|
|
||||||
Requires: emacs(bin) >= %{_emacs_version}
|
|
||||||
}
|
|
||||||
|
|
||||||
%description -n emacs-cython-mode
|
|
||||||
cython-mode is an Emacs major mode for editing Cython source files.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n cython-%{version} -p1
|
%autosetup -n cython-%{version} -p1
|
||||||
|
|
||||||
|
@ -83,22 +71,10 @@ cython-mode is an Emacs major mode for editing Cython source files.
|
||||||
%build
|
%build
|
||||||
%py3_build -- %{!?with_cython_compile:--no-cython-compile}
|
%py3_build -- %{!?with_cython_compile:--no-cython-compile}
|
||||||
|
|
||||||
# emacs-cython-mode build
|
|
||||||
echo ";;
|
|
||||||
(require 'cython-mode)" > cython-mode-init.el
|
|
||||||
cp -p Tools/cython-mode.el .
|
|
||||||
%{_emacs_bytecompile} *.el
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install -- %{!?with_cython_compile:--no-cython-compile}
|
%py3_install -- %{!?with_cython_compile:--no-cython-compile}
|
||||||
|
|
||||||
# emacs-cython-mode install
|
|
||||||
mkdir -p %{buildroot}%{_emacs_sitelispdir}/
|
|
||||||
cp -p cython-mode.el cython-mode.elc %{buildroot}%{_emacs_sitelispdir}/
|
|
||||||
mkdir -p %{buildroot}%{_emacs_sitestartdir}/
|
|
||||||
cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir}/
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
|
@ -121,13 +97,12 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir
|
||||||
%{python3_site}/pyximport/
|
%{python3_site}/pyximport/
|
||||||
%pycached %{python3_site}/cython.py
|
%pycached %{python3_site}/cython.py
|
||||||
|
|
||||||
%files -n emacs-cython-mode
|
|
||||||
%license LICENSE.txt
|
|
||||||
%{_emacs_sitelispdir}/cython*.el*
|
|
||||||
%{_emacs_sitestartdir}/cython*.el*
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 21 2022 Miro Hrončok <mhroncok@redhat.com> - 0.29.32-1.0.riscv64
|
||||||
|
- Disable emacs-cython-mode, due to broken emacs deps on riscv64
|
||||||
|
- Bootstrap for Python 3.11 on riscv64
|
||||||
|
|
||||||
* Mon Aug 08 2022 Miro Hrončok <mhroncok@redhat.com> - 0.29.32-1
|
* Mon Aug 08 2022 Miro Hrončok <mhroncok@redhat.com> - 0.29.32-1
|
||||||
- Update to 0.29.32
|
- Update to 0.29.32
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue