[python-sh] Initial import (#808258)

Andy Grover grover at fedoraproject.org
Fri Jun 29 18:13:40 UTC 2012


commit 105180a5365273d1e1a9c8cae3de85dc866dedd1
Author: Andy Grover <agrover at redhat.com>
Date:   Fri Jun 29 11:13:26 2012 -0700

    Initial import (#808258)

 .gitignore     |    1 +
 python-sh.spec |   43 +++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c5ae3e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sh-0.107.tar.gz
diff --git a/python-sh.spec b/python-sh.spec
new file mode 100644
index 0000000..80b26fe
--- /dev/null
+++ b/python-sh.spec
@@ -0,0 +1,43 @@
+%global oname sh
+
+Name:           python-sh
+License:        MIT
+Group:          Development/Libraries
+Summary:        Python module to simplify calling shell commands
+Version:        0.107
+Release:        1%{?dist}
+URL:            https://github.com/amoffat/pbs/
+Source:         http://pypi.python.org/packages/source/s/%{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
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+%check
+python setup.py test
+
+%files
+%{python_sitelib}/*
+%doc AUTHORS.md README.md LICENSE.txt
+
+%changelog
+* Thu Jun 28 2012 Andy Grover <agrover at redhat.com> - 0.107-1
+- New upstream release
+
+* Fri May 4 2012 Andy Grover <agrover at redhat.com> - 0.105-1
+- New upstream release
+
+* Thu Mar 22 2012 Andy Grover <agrover at redhat.com> - 0.95-2
+- Initial packaging
diff --git a/sources b/sources
index e69de29..781e38d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d92e8a7b5c729e3d4620a5964563ed54  sh-0.107.tar.gz


More information about the scm-commits mailing list