]> git.pld-linux.org Git - packages/python-py.git/commitdiff
- new, nfy
authorundefine <undefine@pld-linux.org>
Sun, 23 Sep 2007 13:04:48 +0000 (13:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-py.spec -> 1.1

python-py.spec [new file with mode: 0644]

diff --git a/python-py.spec b/python-py.spec
new file mode 100644 (file)
index 0000000..9edf480
--- /dev/null
@@ -0,0 +1,47 @@
+#
+# TODO:
+# - cleanup ;)
+# - some arch-depended libraries in sitescript_dir
+# - documentation and examples in sitescript_dir
+%define                module  py
+#
+Summary:       agile development and test support library
+Summary(pl.UTF-8):     zwinna biblioteka obsługująca rozwój i testowanie
+Name:          python-%{module}
+Version:       0.9.0
+Release:       0.1
+License:       MIT license
+Group:         Development/Languages/Python
+Source0:       http://codespeak.net/download/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5: adecd7befdfa431341c8e09e0bc94ca3
+URL:           http://codespeak.net/py/
+BuildRequires: python-devel
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+the py lib is a development support library featuring py.test, ad-hoc
+distributed execution, micro-threads and svn abstractions.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --optimize=2
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/py
This page took 0.098473 seconds and 4 git commands to generate.