From 2e0e546b2b144c56323c22ba2a5aec749b48e372 Mon Sep 17 00:00:00 2001 From: ruebb Date: Thu, 9 Jan 2020 15:09:28 +0800 Subject: [PATCH] init package --- LICENSE | 19 +++++++++++ pytest-expect-1.1.0.tar.gz | Bin 0 -> 3595 bytes python-pytest-expect.spec | 68 +++++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 LICENSE create mode 100644 pytest-expect-1.1.0.tar.gz create mode 100644 python-pytest-expect.spec diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e4d6d89 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2015 Geoffrey Sneddon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/pytest-expect-1.1.0.tar.gz b/pytest-expect-1.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7bfcb4d2f413ca9f2283753a0cdd4cf7d72dee71 GIT binary patch literal 3595 zcmV+m4)pOKiwFq8Q5jbP|72-%bT4pubY*jNEoFFcWn*+LF)lGKFfMdqascfdYi}dB z(VzEM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3K{`au+AAR_@KL7C>(|>x546&+v_MiKE&Ht0){2vW^qk8_o1bj5g?)9#noZ9iEMBWU{f$Q2| z{9)(+CtnLW`2I(K(Chc=`Cs4vsPBK&_dn|UAHVATkFEa~>|Y5N?6BN#ul#RN^#8+Q zuRj0(g7M!;I`+MlJ#bm4d3F9*oc~wvzyI#l`PISG|H=739FB_l-)XPT|6T;XJ3o8< z?KvK-b0kwq?8R$m=lw5d$IT$;i4}wMv_&}wY&tr7ZcsRT1hQQ?DvGE2gxulg{(GJO zpDdCmyp`7`J#X#(yVcJ2E8c9Yt5uS;Bohl&T*V=16;2KghdqD%c&j zhrPSCTlk&N|Ihf~%YpfSzn`A}7!F6LCjTGx>-ql@V7|+N3Rh9&%k=Xcy2Np&^Ub>| zyu9&IA82hn{>syS8l&;V+s+hizZab;_S5e;Q_RQT#qEcs-#Z?F>YW^de7ZmK-~d#w ze+cqHl!qzuzOOAC8vWWad&}knA9&AjlK+s4{ji74VkfS4L$)vx{>0t?M1XDO8?%|X z85^=yi|sr9iTgZ<7cAw>WSL}Vj;Y1ffP(*+n7GB`3T_c)st+zq-15N%Ks8?k!P_~$ zKTS8YCm*+;Pcah7d@jW;zTY$V6R#~TtN?Wb4L7$R=%xtSo%P9owx7gF505p*tILk%_5P(uwh)KEhWHPlc;4K>tI RLk)++{{UhVHv0g0004SiAhZAg literal 0 HcmV?d00001 diff --git a/python-pytest-expect.spec b/python-pytest-expect.spec new file mode 100644 index 0000000..e869c59 --- /dev/null +++ b/python-pytest-expect.spec @@ -0,0 +1,68 @@ +Name: python-pytest-expect +Version: 1.1.0 +Release: 2 +Summary: Py.test plugin to store test expectations and mark tests based on them +License: MIT +URL: https://pypi.org/project/pytest-expect/ +Source0: https://files.pythonhosted.org/packages/8b/3d/c5fcbb8a693dcde00ecc3d69639b2b2b3f385b305bc76a06f94f1030b2dc/pytest-expect-1.1.0.tar.gz +Source1: https://raw.githubusercontent.com/gsnedders/pytest-expect/%{version}/LICENSE + +BuildRequires: python2-devel python3-devel +BuildArch: noarch + +%description +A py.test plugin that stores test expectations by saving the set of failing +tests, allowing them to be marked as xfail when running them in future. +The tests expectations are stored such that they can be distributed alongside +the tests. + + +%package -n python2-pytest-expect +Summary: Python2 package + +%description -n python2-pytest-expect +A py.test plugin that stores test expectations by saving the set of failing +tests, allowing them to be marked as xfail when running them in future. +The tests expectations are stored such that they can be distributed alongside +the tests. + +%package -n python3-pytest-expect +Summary: Python3 package + +%description -n python3-pytest-expect +A py.test plugin that stores test expectations by saving the set of failing +tests, allowing them to be marked as xfail when running them in future. +The tests expectations are stored such that they can be distributed alongside +the tests. + +%prep +%autosetup -n pytest-expect-1.1.0 -p1 +rm -rf pytest-expect.egg-info +cp -p %{SOURCE1} . + + +%build +%py2_build +%py3_build + +%install +%py2_install +%py3_install + +%files -n python2-pytest-expect +%doc README.rst +%license LICENSE +%{python2_sitelib}/pytest_expect-1.1.0-py2.7.egg-info +%{python2_sitelib}/pytest_expect + + +%files -n python3-pytest-expect +%doc README.rst +%license LICENSE +%{python3_sitelib}/pytest_expect-1.1.0-py3.7.egg-info +%{python3_sitelib}/pytest_expect + + +%changelog +* Mon Jan 6 2020 chenli 1.1.0-2 +- Initial package