#4 Build for EPEL7
Closed 3 years ago by orion. Opened 3 years ago by orion.
rpms/ orion/python-entrypoints epel  into  master

file modified
+12 -9
@@ -8,7 +8,7 @@ 

  # WARNING: Check if an update does not break flake8!

  Version:	0.3

  

- Release:	1%{?dist}

+ Release:	2%{?dist}

  Summary:	%{sum}

  

  # license clarification issue opened upstream
@@ -20,10 +20,10 @@ 

  Source0:	https://github.com/takluyver/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz

  

  BuildArch:	noarch

- BuildRequires:	python3-devel

- BuildRequires:	python3-pip

- BuildRequires:	python3-flit

- BuildRequires:	python3-sphinx

+ BuildRequires:	python%{python3_pkgversion}-devel

+ BuildRequires:	python%{python3_pkgversion}-pip

+ BuildRequires:	python%{python3_pkgversion}-flit

+ BuildRequires:	python%{python3_pkgversion}-sphinx

  

  %description

  Entry points are a way for Python packages to advertise objects with some
@@ -32,11 +32,11 @@ 

  

  The entrypoints module contains functions to find and load entry points.

  

- %package -n python3-%{srcname}

+ %package -n python%{python3_pkgversion}-%{srcname}

  Summary:	%{sum}

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

+ %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}

  

- %description -n python3-%{srcname}

+ %description -n python%{python3_pkgversion}-%{srcname}

  Entry points are a way for Python packages to advertise objects with some

  common interface. The most common examples are console_scripts entry points,

  which define shell commands by identifying a Python function to run.
@@ -65,7 +65,7 @@ 

  %install

  %py3_install_wheel %python3_wheelname

  

- %files -n python3-%{srcname}

+ %files -n python%{python3_pkgversion}-%{srcname}

  %doc doc/_build/html

  %license LICENSE

  %{python3_sitelib}/__pycache__/*
@@ -77,6 +77,9 @@ 

  %license LICENSE

  

  %changelog

+ * Sat May 18 2019 Orion Poplawski <orion@redhat.com> - 0.3-2

+ - Build for EPEL7

+ 

  * Tue Feb 26 2019 Miro HronĨok <mhroncok@redhat.com> - 0.3-1

  - Update to 0.3

  

I've requested an EPEL7 branch and will be pushing this to that. Feel free to merge this into master if desired.

I am not particularly interested in maintaining python packages in EPEL. Are you planning to sign on as a co-maintainer?

I can be a co-maintainer. I believe you have to add me.

I have added you as a co-maintainer.

Thanks. I'm going ahead and closing this as I've diverged the epel7 branch to re-add python2 support.

Pull-Request has been closed by orion

3 years ago