From 1a739fe3ad1b42d6103cbcbb326d877798a8d71c Mon Sep 17 00:00:00 2001 From: zhangy1317 Date: Fri, 1 Jul 2022 10:30:17 +0800 Subject: [PATCH] init packages --- pytest-env-0.6.2.tar.gz | Bin 0 -> 1693 bytes python-pytest-env.spec | 79 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 pytest-env-0.6.2.tar.gz create mode 100644 python-pytest-env.spec diff --git a/pytest-env-0.6.2.tar.gz b/pytest-env-0.6.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..af74977959e312c1e2ee811cc7eb546d2afc821d GIT binary patch literal 1693 zcmV;O24eXiiwFp|Hbhwh|72-%bT4pubY*jNEoE+YEif)NE;253VR8WNT3>J5HW2r- zJ_X@DI4Nq`lK%k)G&F0nEokBdand~mhQL^~Oq3EeiE=9x{q8$bwk5kx95<=6E&M&$ z5_!iX?|9_t$S4ye5p@#I>P@q2+KtNdqY3DBI{AOMtNxpIJO9s7v09dGHCruP)>|FB z)2^USWe-Rbfn$U!EFI(IF7*N&ZlnXU$z;nQ2v4_mM|t?*c_s_i`%9H?OXf08@4^(HR|+ zFag0ggAap?zXrxJNyagagc{_NMs>-snD96#+J4V)lF$hy(CK3`BaBCiX(+Hr6V&gc zHmalFz!EE@r=cLBM?7?tdX$7?A}QzmV2%~q`FJG7#qbmzMN!OWzzXl@r`L<>6_x=A zk1<1MIP_C6f}}kOeMXb%3f*PQ{TK%U4gD3`%MA1!$|rkQdb7JTM{h@t)~@ts%c#6U ze7FAR1uhgcUT**Iwe|l0^7eOK8dBl9W|aNR{eNM9t7~<7J=?A{ZL8C5>HYtu?VoRd zPqqG5``fLiUHE^iC+**|dfNW`K($&u@^~axqM3w@Wgvtg_Q|IM8uM^MeTWxS`Gm?y z2Urb*1`&@1;>qGEXD|%IBa``y3(*o+q18czOIJajLQ}vIC_G*==Xh_o5iIgHtA)+fiAb@h;bxIpzElD3l$D zIGfNo5zcj-lEbo68ONSlpebgqRGch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BV{J>mx=i}Gbak2Ifoye|>=CKt9m&n^t_;217+O1$n+t}K naj5rT4Gj$q4Gj$q4Gj$q4Gj$q4Gj$qjm`K6f;`M!08jt`vlU!; literal 0 HcmV?d00001 diff --git a/python-pytest-env.spec b/python-pytest-env.spec new file mode 100644 index 0000000..b22b783 --- /dev/null +++ b/python-pytest-env.spec @@ -0,0 +1,79 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pytest-env +Version: 0.6.2 +Release: 1 +Summary: py.test plugin that allows you to add environment variables. +License: MIT +URL: https://github.com/MobileDynasty/pytest-env +Source0: https://files.pythonhosted.org/packages/f9/6e/31efb8dc1d17052c12f39262223e94038bfcc4cc7a124235630a6d50f166/pytest-env-0.6.2.tar.gz +BuildArch: noarch +%description +py.test plugin that allows you to add environment variables. + +%package -n python3-pytest-env +Summary: py.test plugin that allows you to add environment variables. +Provides: python-pytest-env +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-pytest +%description -n python3-pytest-env +py.test plugin that allows you to add environment variables. + +%package help +Summary: py.test plugin that allows you to add environment variables. +Provides: python3-pytest-env-doc +%description help +py.test plugin that allows you to add environment variables. + +%prep +%autosetup -n pytest-env-%{version} + +%build +%py3_build + +%install +%py3_install + +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%check +%{__python3} setup.py test + +%files -n python3-pytest-env -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Jun 23 2022 OpenStack_SIG - 0.6.2-1 +- Init package python3-pytest-env of version 0.6.2 + -- Gitee