[python-plumbum] Initial package.

Bohuslav Kabrda bkabrda at fedoraproject.org
Mon May 21 05:29:55 UTC 2012


commit b6735cb317992180d71bb8cadb31390f71f0b9d7
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Mon May 21 07:29:47 2012 +0200

    Initial package.

 .gitignore          |    1 +
 python-plumbum.spec |   45 +++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..dbcb31e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/plumbum-0.9.0.tar.gz
diff --git a/python-plumbum.spec b/python-plumbum.spec
new file mode 100644
index 0000000..83d2439
--- /dev/null
+++ b/python-plumbum.spec
@@ -0,0 +1,45 @@
+%global pypi_name plumbum
+
+Name:           python-%{pypi_name}
+Version:        0.9.0
+Release:        1%{?dist}
+Summary:        Shell combinators library
+
+License:        MIT
+URL:            https://github.com/tomerfiliba/plumbum
+Source0:        http://pypi.python.org/packages/source/p/plumbum/plumbum-0.9.0.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+Requires:       python-six
+
+%description
+Ever wished the wrist-handiness of shell scripts be put into a real programming
+language? Say hello to Plumbum Shell Combinators. Plumbum (Latin for lead,
+which was used to create pipes back in the day) is a small yet feature-rich
+library for shell script-like programs in Python. The motto of the library is
+"Never write shell scripts again", and thus it attempts to mimic the shell
+syntax ("shell combinators") where it makes sense, while keeping it all
+pythonic and cross-platform.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+rm -rf %{pypi_name}.egg-info
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+
+%files
+%doc LICENSE README.rst
+%{python_sitelib}/%{pypi_name}
+%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
+
+
+%changelog
+* Mon May 14 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.9.0-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..a9db6b7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3d26aaca527b3bb1a01e25f63a442d8a  plumbum-0.9.0.tar.gz


More information about the scm-commits mailing list