Blob Blame History Raw
%global oname sh

Name:           python-sh
License:        MIT
Group:          Development/Libraries
Summary:        Python module to simplify calling shell commands
Version:        1.02
Release:        2%{?dist}
URL:            https://github.com/amoffat/pbs/
Source:         https://github.com/downloads/amoffat/%{oname}/%{oname}-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  python2-devel
BuildRequires:  python-setuptools

%description
A Python module to simplify calling shell commands.
Also known as PBS, or Python Bash Scripting.

%prep
%setup -q -n %{oname}-%{version}

%build
%{__python} setup.py build

%check
python sh.py test

%install
%{__python} setup.py install --skip-build --root %{buildroot}

%files
%{python_sitelib}/*
%doc AUTHORS.md README.md LICENSE.txt

%changelog
* Tue Sep 18 2012 Andy Grover <agrover@redhat.com> - 1.02-2
- Re-add check

* Mon Sep 17 2012 Andy Grover <agrover@redhat.com> - 1.02-1
- New upstream release
- New upstream download location
- Remove check, upstream unittest has been removed

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.107-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Thu Jun 28 2012 Andy Grover <agrover@redhat.com> - 0.107-1
- New upstream release

* Fri May 4 2012 Andy Grover <agrover@redhat.com> - 0.105-1
- New upstream release

* Thu Mar 22 2012 Andy Grover <agrover@redhat.com> - 0.95-2
- Initial packaging