diff options
author | Matthias Runge <mrunge@redhat.com> | 2013-05-29 08:02:06 +0200 |
---|---|---|
committer | Matthias Runge <mrunge@redhat.com> | 2013-05-29 08:02:06 +0200 |
commit | 1e7b27e0380b7d703a17798b2eb596d5442e301d (patch) | |
tree | c5847a0041546554d9a846bb8c2840ab169f4727 | |
parent | dcd439c9cad62a47a66c8d70a4066999ae152b5a (diff) | |
download | python-testscenarios-1e7b27e0380b7d703a17798b2eb596d5442e301d.tar.gz python-testscenarios-1e7b27e0380b7d703a17798b2eb596d5442e301d.tar.xz python-testscenarios-1e7b27e0380b7d703a17798b2eb596d5442e301d.zip |
initial import
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-testscenarios.spec | 49 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 51 insertions, 0 deletions
@@ -0,0 +1 @@ +/testscenarios-0.4.tar.gz diff --git a/python-testscenarios.spec b/python-testscenarios.spec new file mode 100644 index 0000000..3e0b433 --- /dev/null +++ b/python-testscenarios.spec @@ -0,0 +1,49 @@ +%global pypi_name testscenarios + +Name: python-%{pypi_name} +Version: 0.4 +Release: 2%{?dist} +Summary: Testscenarios, a pyunit extension for dependency injection + +License: ASL 2.0 and BSD +URL: https://launchpad.net/testscenarios +Source0: http://pypi.python.org/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-testtools + +%description +testscenarios provides clean dependency injection for python unittest style +tests. This can be used for interface testing (testing many implementations via +a single test suite) or for classic dependency injection (provide tests with +dependencies externally to the test code itself, allowing easy testing in +different situations). + +%prep +%setup -q -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + + +%build +%{__python} setup.py build + + +%install +%{__python} setup.py install --skip-build --root %{buildroot} + + +%files +%doc Apache-2.0 BSD GOALS HACKING NEWS README doc/ +%{python_sitelib}/%{pypi_name} +%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info + +%changelog +* Tue May 21 2013 Matthias Runge <mrunge@redhat.com> - 0.4-2 +- correct License: ASL 2.0 and BSD +- include doc files + +* Fri May 17 2013 Matthias Runge <mrunge@redhat.com> - 0.4-1 +- Initial package. @@ -0,0 +1 @@ +433cb8cd4d444b0deded3787240ee586 testscenarios-0.4.tar.gz |