[packages/python-aniso8601] - new

Jakub Bogusz qboosh at pld-linux.org
Sun Dec 21 14:33:00 CET 2025


On Sun, Dec 21, 2025 at 11:20:07AM +0100, Jan Rękorajski wrote:
> Please stop adding new python 2 packages.
> 
> Python2 should die, not grow.

Actually this one is up to date also for python3 (with 2.7/3.9+
supported).

As for the others, I'm not sending any new python2-only (either without python3
package or with not up to date python3 package disabled) specs to builders.


> On Sun, 21 Dec 2025 at 10:02, qboosh <qboosh at pld-linux.org> wrote:
> 
> > commit ecd2662835aae06ffe4f7fc60230b75d3f1b9ebd
> > Author: Jakub Bogusz <qboosh at pld-linux.org>
> > Date:   Sun Dec 21 10:02:37 2025 +0100
> >
> >     - new
> >
> >  python-aniso8601.spec | 155
> > ++++++++++++++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 155 insertions(+)
> > ---
> > diff --git a/python-aniso8601.spec b/python-aniso8601.spec
> > new file mode 100644
> > index 0000000..153fcb7
> > --- /dev/null
> > +++ b/python-aniso8601.spec
> > @@ -0,0 +1,155 @@
> > +#
> > +# Conditional build:
> > +%bcond_without tests   # unit tests
> > +%bcond_without python2 # CPython 2.x module
> > +%bcond_without python3 # CPython 3.x module
> > +
> > +Summary:       Another ISO 8601 parser for Python
> > +Summary(pl.UTF-8):     Jeszcze jeden parser ISO 8601 dla Pythona
> > +Name:          python-aniso8601
> > +Version:       10.0.1
> > +Release:       1
> > +License:       BSD
> > +Group:         Libraries/Python
> > +#Source0Download: https://pypi.org/simple/aniso8601/
> > +Source0:
> > https://files.pythonhosted.org/packages/source/a/aniso8601/aniso8601-%{version}.tar.gz
> > +# Source0-md5: ea9bb2b816aa448078d91aea3ce43d55
> > +URL:           https://pypi.org/project/aniso8601/
> > +%if %{with python2}
> > +BuildRequires: python-modules >= 1:2.7
> > +BuildRequires: python-setuptools
> > +%if %{with tests}
> > +BuildRequires: python-mock >= 2.0.0
> > +%endif
> > +%endif
> > +%if %{with python3}
> > +BuildRequires: python3-modules >= 1:3.9
> > +BuildRequires: python3-setuptools
> > +%endif
> > +BuildRequires: rpm-pythonprov
> > +BuildRequires: rpmbuild(macros) >= 1.714
> > +Requires:      python-modules >= 1:2.7
> > +BuildArch:     noarch
> > +BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
[...]


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list