public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-bitarray] epel10: Subpackage python2-bitarray has been removed
Date: Sun, 09 Aug 2026 01:30:20 GMT	[thread overview]
Message-ID: <178623902023.1.12970599736749186096.rpms-python-bitarray-37babe8488d4@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-bitarray
Branch : epel10
Commit : 37babe8488d4d882a4d6be637f4b568b7fed66bb
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2019-01-22T13:08:01+01:00
Stats  : +7/-52 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-bitarray/c/37babe8488d4d882a4d6be637f4b568b7fed66bb?branch=epel10

Log:
Subpackage python2-bitarray has been removed

---
diff --git a/python-bitarray.spec b/python-bitarray.spec
index ac55d59..d659e0b 100644
--- a/python-bitarray.spec
+++ b/python-bitarray.spec
@@ -1,18 +1,9 @@
 %global srcname bitarray
 %global sum Efficient Array of Booleans --C Extensions
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
-# Python3 not available in el6
-%if 0%{?rhel} > 1 && 0%{?rhel} < 7
-    %bcond_with py3
-%else
-    %bcond_without py3
-%endif
-
 
 Name:           python-%{srcname}
 Version:        0.8.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        %{sum}
 
 Group:          Development/Languages
@@ -20,37 +11,12 @@ License:        Python
 URL:            http://pypi.python.org/pypi/%{srcname}/
 Source0:        http://pypi.python.org/packages/source/b/%{srcname}/%{srcname}-%{version}.tar.gz
 
-BuildRequires:  python2-devel
 BuildRequires:  gcc
-%if 0%{?rhel}
-BuildRequires:  python-setuptools
-%else
-BuildRequires:  python2-setuptools
-%endif
-
-%if %{with py3}
 BuildRequires:  python%{python3_pkgversion}-devel
 BuildRequires:  python%{python3_pkgversion}-setuptools
-%endif
 
-%description
-Bitarrays are sequence types and behave very much like usual lists.
-Eight bits are represented by one byte in contiguous block of memory.
-The user can select between two representations; little-endian and big-endian.
-Most of the functionality is implemented in C.Methods for accessing the machine
-representation are provided. This can be useful when bit level access to binary
-files is required, such as portable bitmap image files (.pbm). Also, when
-dealing with compressed data which uses variable bit length encoding
-you may find this module useful.
-
-
-%package -n python2-%{srcname}
-Summary:  %{sum}
-Provides: python-%{srcname} = %{version}-%{release}
-Obsoletes: python-%{srcname} < %{version}-%{release}
-%{?python_provide:%python_provide python2-%{srcname}}
 
-%description -n python2-%{srcname}
+%description
 Bitarrays are sequence types and behave very much like usual lists.
 Eight bits are represented by one byte in contiguous block of memory.
 The user can select between two representations; little-endian and big-endian.
@@ -59,10 +25,8 @@ representation are provided. This can be useful when bit level access to binary
 files is required, such as portable bitmap image files (.pbm). Also, when
 dealing with compressed data which uses variable bit length encoding
 you may find this module useful.
-This is Python 2 version.
 
 
-%if %{with py3}
 %package -n python%{python3_pkgversion}-%{srcname}
 Summary:  %{sum}
 %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
@@ -77,37 +41,28 @@ files is required, such as portable bitmap image files (.pbm). Also, when
 dealing with compressed data which uses variable bit length encoding
 you may find this module useful.
 This is Python 3 version.
-%endif
 
 
 %prep
 %setup -q -n %{srcname}-%{version}
 
 %build
-%py2_build
-%if %{with py3}
 %py3_build
-%endif
 
 
 %install
-%py2_install
-%if %{with py3}
 %py3_install
-%endif
-
 
-%files -n python2-%{srcname}
-%{python2_sitearch}/*
 
-
-%if %{with py3}
 %files -n python%{python3_pkgversion}-%{srcname}
-%{python3_sitearch}/*
-%endif
+%{python3_sitearch}/%{srcname}*
 
 
 %changelog
+* Tue Jan 22 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-4
+- Subpackage python2-bitarray has been removed
+  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
+
 * Mon Jul 23 2018 Nick Bebout <nb@fedoraproject.org> - 0.8.3-3
 - Add gcc to BuildRequires
 

                 reply	other threads:[~2026-08-09  1:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178623902023.1.12970599736749186096.rpms-python-bitarray-37babe8488d4@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox