commit 6c7e326ff2897c1b5c84322abacfab5887f6c5a4
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Feb 11 21:28:56 2015 +0200

    new, version 0.2
    
    using git checkout and pypi index contains just prepackaged .egg

 python-skeletool.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
---
diff --git a/python-skeletool.spec b/python-skeletool.spec
new file mode 100644
index 0000000..22dad4e
--- /dev/null
+++ b/python-skeletool.spec
@@ -0,0 +1,48 @@
+%define                pypi_name       skeletool
+Summary:       Framework package for integrated command-line development
+Name:          python-%{pypi_name}
+Version:       0.2
+Release:       1
+License:       GPL v3
+Group:         Libraries/Python
+#Source0:      
https://pypi.python.org/packages/2.7/s/skeletool/skeletool-%{version}dev-py2.7.egg
+Source0:       
https://gitorious.org/skeletool/skeletool/archive/57f281082ce6534ff88135515ca3e26922d15df4.tar.gz
+# Source0-md5: db1e7556c7ede52c58570da26859e661
+URL:           https://gitorious.org/skeletool
+BuildRequires: python-devel
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Skeletool is a Python library that defines a framework to develop
+command-line oriented tools with an API. It takes care of the
+command-line options parsing and the help feature.
+
+%prep
+%setup -qc
+mv skeletool-skeletool/* .
+
+mv skeletool/COPYING .
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --skip-build \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/skeletool
+%dir %{py_sitescriptdir}/skeletool
+%{py_sitescriptdir}/skeletool/*.py[co]
+%{py_sitescriptdir}/skeletool-%{version}dev-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-skeletool.git/commitdiff/6c7e326ff2897c1b5c84322abacfab5887f6c5a4

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to