automatic version update by autodist [release 23.12.11-1mamba;Fri Feb 16 2024]

This commit is contained in:
Automatic Build System 2024-02-17 13:22:57 +01:00
parent 6ee4fa0108
commit e6f0559d60
2 changed files with 75 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-pycountry # python-pycountry
ISO country, subdivision, language, currency and script definitions and their translations.

73
python-pycountry.spec Normal file
View File

@ -0,0 +1,73 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-pycountry
Version: 23.12.11
Release: 1mamba
Summary: ISO country, subdivision, language, currency and script definitions and their translations
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/pycountry/
Source: https://pypi.debian.net/pycountry/pycountry-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%description
%{summary}.
%if 0%{?with_pyver}
%define py_requires_append \
Obsoletes: pycountry-p3 < 23.12.11\
Obsoletes: pycountry-py310 < 23.12.11
%pyver_package
%endif
%prep
%setup -q -n pycountry-%{version}
%build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
#%if "%{?with_pyver}" != "3"
## Rename any conflicting file outside of python site packages tree
#for f in %{_bindir}/pdm; do
# mv %{buildroot}${f}{,-%{?pyappend}}
#done
#%endif
%files %{?pyappend}
%defattr(-,root,root)
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%doc LICENSE.txt
%changelog
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 23.12.11-1mamba
- automatic version update by autodist
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 22.3.5-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Tue May 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 22.3.5-1mamba
- update to 22.3.5
* Fri Nov 21 2014 Automatic Build System <autodist@mambasoft.it> 1.9-1mamba
- automatic update by autodist
* Sun Jul 13 2014 Automatic Build System <autodist@mambasoft.it> 1.8-1mamba
- automatic update by autodist
* Sun Jun 01 2014 Automatic Build System <autodist@mambasoft.it> 1.6-1mamba
- automatic update by autodist
* Sat Dec 14 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
- package created using the webbuild interface