]> git.pld-linux.org Git - packages/python-PyGitUp.git/blame - python-PyGitUp.spec
- disable tests, require configured git client
[packages/python-PyGitUp.git] / python-PyGitUp.spec
CommitLineData
06d5ad30
JR
1#
2# Conditional build:
acf629c8 3%bcond_with tests # do not perform "make test"
06d5ad30
JR
4
5%define module PyGitUp
6Summary: git-up(1) -- fetch and rebase all locally-tracked remote branches
7Name: python-%{module}
7f13615e
JR
8Version: 1.4.6
9Release: 1
06d5ad30
JR
10License: BSD
11Group: Libraries/Python
12Source0: https://github.com/msiemens/PyGitUp/archive/v%{version}.tar.gz?/%{module}-v%{version}.tar.gz
7f13615e 13# Source0-md5: 0ee651ee4625e0089284735c99cbf558
615730f1 14URL: https://github.com/msiemens/PyGitUp
06d5ad30
JR
15BuildRequires: rpm-pythonprov
16# if py_postclean is used
9c551485 17BuildRequires: rpmbuild(macros) >= 1.710
7f13615e 18BuildRequires: python-git >= 2.1.8
5d7881fc 19BuildRequires: python-async
7f13615e
JR
20BuildRequires: python-colorama >= 0.3.7
21BuildRequires: python-click >= 6.0.0
06d5ad30 22BuildRequires: python-distribute
5d7881fc
JR
23BuildRequires: python-gitdb
24BuildRequires: python-nose
7f13615e 25BuildRequires: python-six >= 1.10.0
5d7881fc
JR
26BuildRequires: python-smmap
27BuildRequires: python-termcolor >= 1.1.0
7f13615e 28Requires: python-git >= 2.1.8
5d7881fc 29Requires: python-async
7f13615e
JR
30Requires: python-colorama >= 0.3.7
31Requires: python-click >= 6.0.0
5d7881fc 32Requires: python-gitdb
06d5ad30 33Requires: python-modules
5d7881fc
JR
34Requires: python-nose
35Requires: python-smmap
7f13615e 36Requires: python-six >= 1.10.0
5d7881fc 37Requires: python-termcolor >= 1.1.0
06d5ad30
JR
38BuildArch: noarch
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
5d7881fc 42git-up(1) -- fetch and rebase all locally-tracked remote branches.
06d5ad30
JR
43
44%prep
45%setup -q -n %{module}-%{version}
46
47%build
298e403c 48%py_build %{?with_tests:test}
06d5ad30
JR
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
298e403c 53%py_install
06d5ad30
JR
54
55%py_postclean
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
a0b5bf5d
JR
62%doc README.rst
63%attr(755,root,root) %{_bindir}/git-up
a0b5bf5d
JR
64%dir %{py_sitescriptdir}/%{module}
65%{py_sitescriptdir}/%{module}/*.py[co]
7f13615e
JR
66%dir %{py_sitescriptdir}/%{module}/tests
67%{py_sitescriptdir}/%{module}/tests/*.py[co]
a0b5bf5d 68%{py_sitescriptdir}/%{module}/check-bundler.rb
06d5ad30 69%if "%{py_ver}" > "2.4"
a0b5bf5d 70%{py_sitescriptdir}/git_up-*.egg-info
06d5ad30 71%endif
This page took 0.072316 seconds and 4 git commands to generate.