From 529dfbc1a117e2d2f0b9fe1a6a12bccb17a7d4ee Mon Sep 17 00:00:00 2001 From: yun-chengzhang <1294123878@qq.com> Date: Tue, 25 May 2021 09:48:49 +0800 Subject: [PATCH] Package init --- pytest-sourceorder-0.5.1.tar.gz | Bin 0 -> 3319 bytes python-pytest-sourceorder.spec | 87 ++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 pytest-sourceorder-0.5.1.tar.gz create mode 100644 python-pytest-sourceorder.spec diff --git a/pytest-sourceorder-0.5.1.tar.gz b/pytest-sourceorder-0.5.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5084605006124cb0507d16954fc70dec9d2fcf1b GIT binary patch literal 3319 zcmV*O?ghPRQhkL_& zlA9s9t8d#%6eDdpKN6ce9Fp@rLpq&gOlA8@`d z>$CqCu+wPOJFP~i(diuRz}H5*y+hkOPXM{f0!iskddqJzA^AGIhrSmFDgOV1K)O!; zie-7~rIRhm|LEv&o&1}v_Ei3jI>^6SKWaC3Xx+*GtHZPJ4ss+>@@5R%3`WQk%xj|`+3 zQ>{^%5V4|soC=wl5n_Mgf{;6&jo=4Qq%7I1T)sSc@%E)BRaU9dio}0e5{if?!{bVx z4fg+DsnS5vL6=Yf$%1IieB2aEGDVN+z{9b+ERvx=KXYNr1}~Q}5*=k( zs=5aUX)w$s^SH1A+F!d_%W#~0)_Y?IgB&JF9P6=6(w~hMCv#tYHV(L6w9xYJC5uKu z=7nNxG1G}Z7EvBEPT@qhcles_1*xX#%~DDxyiXNBVs{}XCRQ%#$YlPFSD z<*CjD5I-9+`n}nOHxA^DXYhTqmxzS|ygA_Ajd(b!k-HH~Xpp8chd_}D8kjIt!*!J= zrZ+TZ;2xu;^*uuHJX+z)Fpj$j63RXW<1}U-9*Y#YN}lixvC9FoQ$k3@28Je!_QF_I zjYopHFUl=v5LhXmNx?Stw)9>xld&_2p7hpk7Ly{_FdhPD!2u2a9gkz$XRt#S<{1nF z5-iVQZ++Ff9=o?#wP>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$$@;wsE_okP_~wQ<>L^VEYRqOX<8k=Njp3>k(k>f}bv z9ZjE((&zMt95hZsWyxfhZgBB>!1X$s#woV7`cmAfO^IZZv4b(xp}JrDoDMl^Bq+}& zR6LlaXTL`;fzBs|^MDIc+N&BjG~HJyQt1u!pcR95b2to6)W*8P;TZ!{;6mRCYF%xO z=BdsEiz{-B2lmZK4Rsd+#u*$0l0@MA4Wqlab+5HsBPbp;r0a2TQ$_^vc$fBuz>Mc9 z#sK5AXqp=hw#cY^)~)_16n4ImW^dAaZKwzI>azD1waj3pOn|$op}9`L_KXVza{A6g zEv{_OXO}kn&gh< z|1~>xm;XHlKy(kljD!83jTv`o!)uW9V9dHJE&)l2rImzSr)msd6$A=zLosFpt+qqe%3s;lh2n|xLeEX*Q@(nzQ4jr?XNM-N7MlY z{`TsDg5uWdf_r@TLcOqxH7mKZojPJlYg_fil;W4v6;mo-v%XkXxi7Cb3R3Ipjxq*s zrT&;*ZPPkr^-eaaN0#{aMfFKZtrrIw2zlJ4@6Ufazxd^xoR*J#yY&8-y>qDBd)hlk zcJ15VIjj|rd*{C2|E6{WRQtSl!x^nj@x8;j8JoZGB^$o~WW(V;-U%IiM*X+Z-~TiZ zj~Xra_dnm-``=Rjvv0k<>{Iq-^?$wIUa0?D^+v#^jOuLpIGb$tH#Ay~xF%GCzp8VYvJA+y5-*wqXDDdS@~IHyh6WpHTiT z=DYa6f&FjzHfZzrKkZKQ$l3o>fP4Sr-v7AwKkogHd;jC!|G4)*?){H@|Kr~Oxc5JQ zo%cTu95`^`z<~n?4jede;J|?c2M!!KaNxj!0|yQqIB?*=frCFj{2$P6mcjsd001q# BpZ)*< literal 0 HcmV?d00001 diff --git a/python-pytest-sourceorder.spec b/python-pytest-sourceorder.spec new file mode 100644 index 0000000..b5a5dff --- /dev/null +++ b/python-pytest-sourceorder.spec @@ -0,0 +1,87 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pytest-sourceorder +Version: 0.5.1 +Release: 1 +Summary: Test-ordering plugin for pytest +License: GPL-1.0-only +URL: https://pagure.io/python-pytest-sourceorder +Source0: https://files.pythonhosted.org/packages/a6/3c/cf624e79b936256914dcdbab92010b8c1243ba31365f75e7b3f86b26e8de/pytest-sourceorder-0.5.1.tar.gz +BuildArch: noarch + +Requires: python3-pytest + +%description +Release tarballs will be made available for download from Pagure Releases: + https://pagure.io/releases/python-pytest-sourceorder/ +You can also install using pip: + https://pypi.python.org/pypi/pytest-sourceorder +The plugin is also available in Fedora repositories as +``python3-pytest-sourceorder``. + +%package -n python3-pytest-sourceorder +Summary: Test-ordering plugin for pytest +Provides: python-pytest-sourceorder +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-pytest-sourceorder +Release tarballs will be made available for download from Pagure Releases: + https://pagure.io/releases/python-pytest-sourceorder/ +You can also install using pip: + https://pypi.python.org/pypi/pytest-sourceorder +The plugin is also available in Fedora repositories as +``python3-pytest-sourceorder``. + +%package help +Summary: Development documents and examples for pytest-sourceorder +Provides: python3-pytest-sourceorder-doc +%description help +Release tarballs will be made available for download from Pagure Releases: + https://pagure.io/releases/python-pytest-sourceorder/ +You can also install using pip: + https://pypi.python.org/pypi/pytest-sourceorder +The plugin is also available in Fedora repositories as +``python3-pytest-sourceorder``. + +%prep +%autosetup -n pytest-sourceorder-0.5.1 + +%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 . + +%files -n python3-pytest-sourceorder -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Sun May 23 2021 Python_Bot +- Package Spec generated -- Gitee