-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpython-bitarray.spec
178 lines (123 loc) · 6.99 KB
/
python-bitarray.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
%global srcname bitarray
%global sum Efficient Array of Booleans --C Extensions
Name: python-%{srcname}
Version: 1.6.1
Release: 1%{?dist}
Summary: %{sum}
License: Python
URL: https://pypi.python.org/pypi/%{srcname}/
Source0: https://pypi.python.org/packages/source/b/%{srcname}/%{srcname}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%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 python%{python3_pkgversion}-%{srcname}
Summary: %{sum}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
%description -n python%{python3_pkgversion}-%{srcname}
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.
This is Python 3 version.
%prep
%setup -q -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python%{python3_pkgversion}-%{srcname}
%{python3_sitearch}/%{srcname}*
%changelog
- Update to 1.6.1 (#1853987)
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- Update python-bitarray to 1.2.2 (#1837147)
- Rebuilt for Python 3.9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- Update to 1.2.1 (#1771103)
- Update to 1.0.1
- Rebuilt for Python 3.8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- Update to 0.9.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- Subpackage python2-bitarray has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
- Add gcc to BuildRequires
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- Update to 0.8.3
- Rebuilt for Python 3.7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
- Rebuild for Python 3.6
- Clean trailing whitespaces
- Add support to epel 7 and 6, disable python3 in el6
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
- Replace python-bitarray with python2-bitarray
https://fedoraproject.org/wiki/Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages
- Clean up the spec
* Thu Jun 09 2016 Dominika Krejci <[email protected]>
- Add Python 3
- Upgrade to version 0.8.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- Initial RPM release