#2 populate the epel8 branch
Closed 2 months ago by mrunge. Opened 2 months ago by adeza.
rpms/ adeza/python-singledispatch epel8  into  master

file modified
+2

@@ -0,0 +1,2 @@ 

+ /singledispatch-3.4.0.2.tar.gz

+ /singledispatch-3.4.0.3.tar.gz

file added
+2

@@ -0,0 +1,2 @@ 

+ [koji]

+ targets = epel8 epel8-playground 

\ No newline at end of file

@@ -0,0 +1,130 @@ 

+ %global pypi_name singledispatch

+ %{!?upstream_version: %global upstream_version %{version}%{?milestone}}

+ 

+ 

+ Name:           python-%{pypi_name}

+ Version:        3.4.0.3

+ Release:        18%{?dist}

+ Summary:        This library brings functools.singledispatch from Python 3.4 to Python 2.6-3.3

+ 

+ License:        MIT

+ URL:            http://docs.python.org/3/library/functools.html#functools.singledispatch

+ Source0:        https://pypi.python.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz

+ BuildArch:      noarch

+ 

+ %description

+ PEP 443 proposed to expose a mechanism in the functools standard library

+ module in Python 3.4 that provides a simple form of generic programming 

+ known as single-dispatch generic functions.

+ 

+ This library is a backport of this functionality to Python 2.6 - 3.3.

+ 

+ %package -n python3-%{pypi_name}

+ Summary:        This library brings functools.singledispatch from Python 3.4 to Python 2.6-3.3

+ %{?python_provide:%python_provide python3-%{pypi_name}}

+ 

+ BuildRequires:  python3-devel

+ BuildRequires:  python3-setuptools

+ BuildRequires:  python3-six

+ 

+ Requires:       python3-six

+ 

+ %description -n python3-%{pypi_name}

+ PEP 443 proposed to expose a mechanism in the functools standard library

+ module in Python 3.4 that provides a simple form of generic programming 

+ known as single-dispatch generic functions.

+ 

+ This library is a backport of this functionality to Python 2.6 - 3.3.

+ 

+ %prep

+ %setup -q -n %{pypi_name}-%{version}

+ 

+ # remove /usr/bin/env python from scripts

+ sed -i '1d' singledispatch.py

+ sed -i '1d' singledispatch_helpers.py

+ 

+ %build

+ %{__python3} setup.py build

+ 

+ %install

+ %{__python3} setup.py install --skip-build --root %{buildroot}

+ 

+ %check

+ %{__python3} setup.py test

+ 

+ %files -n python3-%{pypi_name}

+ %doc README.rst

+ %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info

+ %{python3_sitelib}/%{pypi_name}.py*

+ %{python3_sitelib}/%{pypi_name}_helpers.py*

+ %{python3_sitelib}/__pycache__/*

+ 

+ %changelog

+ * Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.4.0.3-18

+ - Rebuilt for Python 3.8.0rc1 (#1748018)

+ 

+ * Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.4.0.3-17

+ - Rebuilt for Python 3.8

+ 

+ * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0.3-16

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

+ 

+ * Fri Jun 28 2019 Miro Hrončok <mhroncok@redhat.com> - 3.4.0.3-15

+ - Subpackage python2-singledispatch has been removed

+   See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal

+ 

+ * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0.3-14

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

+ 

+ * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0.3-13

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

+ 

+ * Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.4.0.3-12

+ - Rebuilt for Python 3.7

+ 

+ * Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.4.0.3-11

+ - Update Python 2 dependency declarations to new packaging standards

+   (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

+ 

+ * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0.3-10

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

+ 

+ * Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 3.4.0.3-9

+ - Cleanup spec file conditionals

+ 

+ * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0.3-8

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

+ 

+ * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0.3-7

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

+ 

+ * Mon Dec 12 2016 Stratakis Charalampos <cstratak@redhat.com> - 3.4.0.3-6

+ - Rebuild for Python 3.6

+ 

+ * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0.3-5

+ - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages

+ 

+ * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0.3-4

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

+ 

+ * Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0.3-3

+ - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5

+ 

+ * Sun Sep 06 2015 Matthias Runge <mrunge@redhat.com> - 3.4.0.3-2

+ - fix provides and obsoletes

+ 

+ * Fri Sep 04 2015 Chandan Kumar <chkumar246@gmail.com> - 3.4.0.3-1

+ - Added python2 and python3 subpackage

+ - updated the package to 3.4.0.3

+ 

+ * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0.2-4

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

+ 

+ * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0.2-3

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

+ 

+ * Tue Mar 18 2014 Matthias Runge <mrunge@redhat.com> - 3.4.0.2-2

+ - add support for epel6

+ 

+ * Tue Mar 18 2014 Matthias Runge <mrunge@redhat.com> - 3.4.0.2-1

+ - Initial package.

file modified
+1

@@ -0,0 +1,1 @@ 

+ af2fc6a3d6cc5a02d0bf54d909785fcb  singledispatch-3.4.0.3.tar.gz

The work in master builds correctly for EPEL8, so this is basically a merge from master into the epel8 branch

The following build in Copr succeeded for EPEL8 with the merged changes: https://copr.fedorainfracloud.org/coprs/ktdreyer/ceph-el8/package/python-singledispatch

@mrunge anything else that you see here that needs to be addressed? Happy to review. Thanks!

Thank you for your contribution!

@adeza sorry, I don't have any interest in EPEL. I am fine to hand over the package, or add you as co-maintainer, if also the package ownership is being updated to make it clear, that I won't fix any epel issues.

In my opinion, this work should be done in the CentOS storage SIG.

btw, is this a PR against master?

@mrunge you are right, this PR is against master, I'll fix that.

I would gladly accept the co-maintainer duties, or if you prefer, to own the whole package. Either way, I am happy to be responsible.

I couldn't find a way to re-target this PR against EPEL8, so I am closing this. I've opened https://src.fedoraproject.org/rpms/python-singledispatch/pull-request/3 to follow up.

Thanks again for your feedback @mrunge

Pull-Request has been closed by mrunge

2 months ago