#3 Provide "Cython" from the python3 package, which contains the cython binary
Closed 5 years ago by ignatenkobrain. Opened 5 years ago by pviktori.
rpms/ pviktori/Cython py3-provide  into  master

file modified
+10 -7
@@ -5,14 +5,13 @@ 

  %bcond_with tests

  

  Name:           Cython

- %global upver 0.29rc2

- Version:        0.29~rc2

+ Version:        0.29

  Release:        1%{?dist}

  Summary:        Language for writing Python extension modules

  

  License:        ASL 2.0

  URL:            http://www.cython.org

- Source:         https://github.com/cython/cython/archive/%{upver}/%{srcname}-%{version}.tar.gz

+ Source:         https://github.com/cython/cython/archive/%{version}/%{srcname}-%{version}.tar.gz

  

  BuildRequires:  gcc

  %if %{with tests}
@@ -28,9 +27,6 @@ 

  %package -n python2-%{srcname}

  Summary:        %{summary}

  %{?python_provide:%python_provide python2-%{srcname}}

- Provides:       Cython = %{?epoch:%{epoch}:}%{version}-%{release}

- Provides:       Cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}

- Obsoletes:      Cython < %{?epoch:%{epoch}:}%{version}-%{release}

  BuildRequires:  python2-devel

  BuildRequires:  python2-setuptools

  %if %{with tests}
@@ -47,6 +43,9 @@ 

  Summary:        %{summary}

  %{?python_provide:%python_provide python3-%{srcname}}

  Conflicts:      python2-%{srcname} < 0.28.4-2

+ Provides:       Cython = %{?epoch:%{epoch}:}%{version}-%{release}

+ Provides:       Cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}

+ Obsoletes:      Cython < %{?epoch:%{epoch}:}%{version}-%{release}

  BuildRequires:  python3-devel

  BuildRequires:  python3-setuptools

  %if %{with tests}
@@ -60,7 +59,7 @@ 

  Python 3 version.

  

  %prep

- %autosetup -n %{upname}-%{upver} -p1

+ %autosetup -n %{upname}-%{version} -p1

  

  %build

  %py2_build
@@ -102,6 +101,10 @@ 

  %{python3_sitearch}/__pycache__/%{upname}.*

  

  %changelog

+ * Tue Nov 13 2018 Petr Viktorin <pviktori@redhat.com> - 0.29-1

+ - Provide "Cython" from the python3 package, which contains the cython binary

+ - Update to 0.29

+ 

  * Wed Oct 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29~rc2-1

  - Update to 0.29~rc2

  

When I install Cython, I expect to get the /usr/bin/cython command.

LGTM, can you also bump it to 0.29 and build?

1 new commit added

  • Update to 0.29
5 years ago

Here's the update. I can't build though; I'm not a maintainer of Cython.

@pviktori I can merge and build this, but would you please run fedpkg new-sources and amend the change to the update commit?

I find that I no longer have bandwidth to work on Cython, and not much interest since I've never used it. Would anyone be interested in taking over ownership?

Thanks,
Neal

@nbecker, or reassign it to me, since I take care of it ;)

Cython is transferred to @ignatenkobrain , and @churchyard also has admin rights.

Thanks!

Also I merged this in a bit different way and also updated f28/f29 to 0.28.6.

Pull-Request has been closed by ignatenkobrain

5 years ago