1 |
daviddavid |
617317 |
%define module django-haystack |
2 |
misc |
124816 |
|
3 |
daviddavid |
617317 |
Name: python-%{module} |
4 |
papoteur |
1861328 |
Version: 3.2.1 |
5 |
daviddavid |
2043397 |
Release: %mkrel 2 |
6 |
daviddavid |
617317 |
Summary: Django module for modular search |
7 |
|
|
Group: Development/Python |
8 |
|
|
License: BSD |
9 |
danf |
1916829 |
URL: https://haystacksearch.org/ |
10 |
daviddavid |
1079836 |
Source: https://pypi.io/packages/source/d/%{module}/%{module}-%{version}.tar.gz |
11 |
daviddavid |
617317 |
BuildArch: noarch |
12 |
daviddavid |
1191243 |
|
13 |
|
|
%description |
14 |
|
|
Search doesn't have to be hard. Haystack lets you write your search code once |
15 |
|
|
and choose the search engine you want it to run on. With a familiar API that |
16 |
|
|
should make any Djangonaut feel right at home and an architecture that allows |
17 |
|
|
you to swap things in and out as you need to, it's how search ought to be. |
18 |
|
|
|
19 |
|
|
#--------------------------------------------------------------------------- |
20 |
|
|
|
21 |
daviddavid |
617317 |
%package -n python3-%{module} |
22 |
|
|
Summary: Django module for modular search |
23 |
|
|
Group: Development/Python |
24 |
wally |
1430838 |
BuildRequires: python3dist(setuptools) |
25 |
|
|
BuildRequires: python3dist(setuptools-scm) |
26 |
nmartin |
494909 |
|
27 |
daviddavid |
617317 |
%description -n python3-%{module} |
28 |
daviddavid |
617324 |
Search doesn't have to be hard. Haystack lets you write your search code once |
29 |
|
|
and choose the search engine you want it to run on. With a familiar API that |
30 |
|
|
should make any Djangonaut feel right at home and an architecture that allows |
31 |
nmartin |
494909 |
you to swap things in and out as you need to, it's how search ought to be. |
32 |
|
|
|
33 |
daviddavid |
617324 |
#--------------------------------------------------------------------------- |
34 |
|
|
|
35 |
misc |
124816 |
%prep |
36 |
daviddavid |
617317 |
%setup -q -n %{module}-%{version} |
37 |
daviddavid |
837993 |
|
38 |
|
|
find . -name '.gitignore' -delete |
39 |
|
|
|
40 |
daviddavid |
2043397 |
%generate_buildrequires |
41 |
|
|
%pyproject_buildrequires |
42 |
|
|
|
43 |
misc |
124816 |
%build |
44 |
daviddavid |
2043397 |
%pyproject_wheel |
45 |
nmartin |
494909 |
|
46 |
misc |
124816 |
%install |
47 |
daviddavid |
2043397 |
%pyproject_install |
48 |
|
|
%pyproject_save_files haystack |
49 |
nmartin |
494909 |
|
50 |
daviddavid |
2043397 |
%files -n python3-%{module} -f %{pyproject_files} |
51 |
daviddavid |
837993 |
%doc AUTHORS README.rst docs |