]> git.pld-linux.org Git - packages/python3-fastimport.git/blame - python3-fastimport.spec
- python-fastimport.spec updated to 0.9.14 for python 3.6+
[packages/python3-fastimport.git] / python3-fastimport.spec
CommitLineData
9195dd44
ER
1#
2# Conditional build:
5117355a 3%bcond_without tests # unit tests
9195dd44 4
ed327d07 5%define module fastimport
9195dd44 6Summary: Python parser for fastimport (VCS interchange format)
5117355a 7Summary(pl.UTF-8): Pythonowy parser formatu fastimport (do wymiany VCS)
45921b51
JB
8Name: python3-%{module}
9Version: 0.9.14
5117355a 10Release: 1
9195dd44 11License: GPL v2+
5117355a
JB
12Group: Libraries/Python
13#Source0Download: https://pypi.org/project/simple/
14Source0: https://files.pythonhosted.org/packages/source/f/fastimport/%{module}-%{version}.tar.gz
45921b51 15# Source0-md5: be8e2780fadd9e4047c7b37b91e20751
5117355a 16URL: https://pypi.org/project/fastimport/
45921b51 17BuildRequires: python3-modules >= 1:3.6
5117355a 18%if %{with tests}
45921b51 19BuildRequires: python3-nose
5117355a
JB
20%endif
21BuildRequires: rpmbuild(macros) >= 1.714
9195dd44
ER
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This is the Python parser that was originally developed for
27bzr-fastimport, but extracted so it can be used by other projects.
28
5117355a
JB
29%description -l pl.UTF-8
30Pythonowy parser, oryginalnie stworzony na potrzeby bzr-fastimport,
31ale wyciągnięty do osobnego modułu, dzięki czemu może być używany
32przez inne projekty.
33
9195dd44 34%prep
5117355a 35%setup -q -n %{module}-%{version}
9195dd44
ER
36
37%build
45921b51 38%py3_build
9195dd44 39
5117355a 40%if %{with tests}
45921b51 41nosetests-%{py3_ver} fastimport
5117355a
JB
42%endif
43
9195dd44
ER
44%install
45rm -rf $RPM_BUILD_ROOT
9195dd44 46
45921b51 47%py3_install
9195dd44 48
45921b51 49%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/%{module}/tests
5117355a 50
9195dd44
ER
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
5117355a 56%doc AUTHORS NEWS README.md
45921b51
JB
57%attr(755,root,root) %{_bindir}/fast-import-filter
58%attr(755,root,root) %{_bindir}/fast-import-info
59%attr(755,root,root) %{_bindir}/fast-import-query
60%{py3_sitescriptdir}/fastimport
61%{py3_sitescriptdir}/fastimport-%{version}-py*.egg-info
This page took 0.06262 seconds and 4 git commands to generate.