|
|
6fde35d |
%global srcname apipkg
|
|
Fabian Affolter |
ce58bc9 |
|
|
|
6fde35d |
Name: python-%{srcname}
|
|
|
bd46399 |
Version: 1.5
|
|
|
25e719a |
Release: 11%{?dist}
|
|
|
4e5b8a6 |
Summary: A Python namespace control and lazy-import mechanism
|
|
|
6fde35d |
|
|
|
6fde35d |
License: MIT
|
|
|
e49b018 |
URL: https://github.com/pytest-dev/apipkg
|
|
|
e49b018 |
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
|
|
6fde35d |
BuildArch: noarch
|
|
|
6fde35d |
|
|
|
6fde35d |
%description
|
|
|
6fde35d |
With apipkg you can control the exported namespace of a python package and
|
|
|
6fde35d |
greatly reduce the number of imports for your users. It is a small python
|
|
|
6fde35d |
module that works on virtually all Python versions, including CPython2.3 to
|
|
|
6fde35d |
Python3.1, Jython and PyPy. It co-operates well with Python's help() system,
|
|
|
6fde35d |
custom importers (PEP302) and common command line completion tools.
|
|
|
6fde35d |
|
|
|
e9065d5 |
%package -n python3-%{srcname}
|
|
|
4e5b8a6 |
Summary: %{summary}
|
|
|
4e5b8a6 |
|
|
|
4e5b8a6 |
BuildRequires: python3-devel
|
|
|
abc592d |
BuildRequires: python3-setuptools
|
|
|
4e5b8a6 |
BuildRequires: python3-setuptools_scm
|
|
Fabian Affolter |
d06d088 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
e9065d5 |
|
|
|
e9065d5 |
%description -n python3-%{srcname}
|
|
|
e9065d5 |
With apipkg you can control the exported namespace of a python package and
|
|
|
e9065d5 |
greatly reduce the number of imports for your users. It is a small python
|
|
|
e9065d5 |
module that works on virtually all Python versions, including CPython2.3 to
|
|
|
e9065d5 |
Python3.1, Jython and PyPy. It co-operates well with Python's help() system,
|
|
|
e9065d5 |
custom importers (PEP302) and common command line completion tools.
|
|
|
e9065d5 |
|
|
|
6fde35d |
%prep
|
|
Fabian Affolter |
d06d088 |
%autosetup -n %{srcname}-%{version}
|
|
|
6fde35d |
|
|
|
6fde35d |
%build
|
|
|
bd46399 |
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
|
Fabian Affolter |
d06d088 |
%py3_build
|
|
|
6fde35d |
|
|
|
6fde35d |
%install
|
|
|
bd46399 |
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
|
Fabian Affolter |
d06d088 |
%py3_install
|
|
Fabian Affolter |
d06d088 |
|
|
|
e9065d5 |
%files -n python3-%{srcname}
|
|
|
bd46399 |
%doc CHANGELOG README.rst
|
|
|
4e5b8a6 |
%license LICENSE
|
|
|
4e5b8a6 |
%{python3_sitelib}/%{srcname}*.egg-info
|
|
|
4e5b8a6 |
%{python3_sitelib}/%{srcname}/
|
|
|
6fde35d |
|
|
|
6fde35d |
%changelog
|
|
|
25e719a |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-11
|
|
|
25e719a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
25e719a |
|
|
|
abc592d |
* Wed Jun 24 2020 Thomas Moschny <thomas.moschny@gmx.de> - 1.5-10
|
|
|
abc592d |
- Add explicit BR on python3-setuptools.
|
|
|
abc592d |
|
|
|
445a753 |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5-9
|
|
|
445a753 |
- Rebuilt for Python 3.9
|
|
|
445a753 |
|
|
|
e49b018 |
* Fri Feb 07 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.5-8
|
|
|
e49b018 |
- Update URLs
|
|
|
e49b018 |
|
|
|
48e34c4 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-7
|
|
|
48e34c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
48e34c4 |
|
|
|
d0057e6 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5-6
|
|
|
d0057e6 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
d0057e6 |
|
|
|
4e6bdb0 |
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5-5
|
|
|
4e6bdb0 |
- Rebuilt for Python 3.8
|
|
|
4e6bdb0 |
|
|
|
74b0608 |
* Mon Aug 12 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5-4
|
|
|
74b0608 |
- Subpackage python2-apipkg has been removed
|
|
|
74b0608 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
74b0608 |
|
|
|
074ee24 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-3
|
|
|
074ee24 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
074ee24 |
|
|
|
4e5b8a6 |
* Sun Jun 09 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.5-2
|
|
|
4e5b8a6 |
- Switch to upstream source
|
|
|
4e5b8a6 |
- Add license file
|
|
|
4e5b8a6 |
|
|
|
bd46399 |
* Tue Feb 05 2019 Ken Dreyer <kdreyer@redhat.com> - 1.5-1
|
|
|
bd46399 |
- Update to new upstream version 1.5 (rhbz#1672801)
|
|
|
bd46399 |
- Update package URL and Source0
|
|
|
bd46399 |
- Use setuptools_scm
|
|
|
bd46399 |
- Handle README file rename
|
|
|
bd46399 |
|
|
|
0f9483d |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-12
|
|
|
0f9483d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
0f9483d |
|
|
|
dcd5bd4 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-11
|
|
|
dcd5bd4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
dcd5bd4 |
|
|
|
a709851 |
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4-10
|
|
|
a709851 |
- Rebuilt for Python 3.7
|
|
|
a709851 |
|
|
|
611e32c |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-9
|
|
|
611e32c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
611e32c |
|
|
|
6745a4a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-8
|
|
|
6745a4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
6745a4a |
|
|
|
0c19073 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7
|
|
|
0c19073 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
0c19073 |
|
|
|
84b47ab |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.4-6
|
|
|
84b47ab |
- Rebuild for Python 3.6
|
|
|
84b47ab |
|
|
|
6e5fa9b |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
|
|
|
6e5fa9b |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
6e5fa9b |
|
|
|
3a07362 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
|
|
|
3a07362 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3a07362 |
|
|
Fabian Affolter |
d06d088 |
* Sat Nov 14 2015 Fabian Affolter <mail@fabian-affolter.ch> - 1.4-3
|
|
Fabian Affolter |
d06d088 |
- Cleanup
|
|
Fabian Affolter |
d06d088 |
|
|
|
cc12f83 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
|
|
|
cc12f83 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
cc12f83 |
|
|
Fabian Affolter |
7a6507c |
* Sat Oct 17 2015 Fabian Affolter <mail@fabian-affolter.ch> - 1.4-1
|
|
Fabian Affolter |
7a6507c |
- Update to new upstream version 1.4 (rhbz#1239818)
|
|
Fabian Affolter |
7a6507c |
|
|
|
9a97739 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
9a97739 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
9a97739 |
|
|
Fabian Affolter |
f207a36 |
* Tue Mar 10 2015 Fabian Affolter <mail@fabian-affolter.ch> - 1.3-1
|
|
Fabian Affolter |
f207a36 |
- Update to new upstream version 1.3 (rhbz#1199807)
|
|
Fabian Affolter |
f207a36 |
|
|
Fabian Affolter |
ce58bc9 |
* Wed Feb 18 2015 Fabian Affolter <mail@fabian-affolter.ch> - 1.2-7
|
|
Fabian Affolter |
ce58bc9 |
- Enable py3 package
|
|
Fabian Affolter |
ce58bc9 |
|
|
Fabian Affolter |
9b116a8 |
* Fri Oct 03 2014 Fabian Affolter <mail@fabian-affolter.ch> - 1.2-6
|
|
Fabian Affolter |
9b116a8 |
- Update to match guidelines
|
|
Fabian Affolter |
9b116a8 |
|
|
|
f351b1e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
|
|
|
f351b1e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f351b1e |
|
|
|
3e5144c |
* Tue May 27 2014 Kalev Lember <kalevlember@gmail.com> - 1.2-4
|
|
|
3e5144c |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
3e5144c |
|
|
|
b7d5ba8 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
|
|
b7d5ba8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
b7d5ba8 |
|
|
|
b2f977f |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
|
|
|
b2f977f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
b2f977f |
|
|
|
e9065d5 |
* Sat Nov 10 2012 Fabian Affolter <mail@fabian-affolter.ch> - 1.2-1
|
|
Fabian Affolter |
9b116a8 |
- Update to match new guidelines
|
|
|
e9065d5 |
- Python3
|
|
Fabian Affolter |
9b116a8 |
- Update to new upstream version 1.2
|
|
|
e9065d5 |
|
|
|
444795a |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
|
|
|
444795a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
444795a |
|
|
Fabian Affolter |
4cf0522 |
* Mon Nov 08 2010 Fabian Affolter <mail@fabian-affolter.ch> - 1.0-1
|
|
|
6fde35d |
- Initial package
|