From 51b5ed2bb5deebaed74e1d154d6ce74412918536 Mon Sep 17 00:00:00 2001 From: wangxiyuan Date: Sun, 25 Apr 2021 07:54:51 +0000 Subject: [PATCH] Add 2003 python2 support --- XStatic-1.0.2.tar.gz | Bin 2595 -> 0 bytes python-XStatic.spec | 59 +++++++++++-------------------------------- 2 files changed, 15 insertions(+), 44 deletions(-) delete mode 100644 XStatic-1.0.2.tar.gz diff --git a/XStatic-1.0.2.tar.gz b/XStatic-1.0.2.tar.gz deleted file mode 100644 index cd69ed5919a95d613bf32436b07dec3236b40fcf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2595 zcmV+;3f%P{iwFq1I-y$v|72-%bT3#_bYXO9V=XZ*FfKAKbYXG;?Hg-v+c+|x`73xS z3fqM(zwLto-(AqhZO}Fe>hyMjAP^LZcDR*9Riu)7fBnr+56h3l&ed`Ex||P*C31$G z7df1vew!#qaktU7T2`ld^eoT<820=4zdh`?%KvjXYInQ+R;SzV3_C}ycBj*7AJP8N z0U(jei77o&_mB76)}Awx|NlRM-8WHpv(Oab=Ichd%&^fuWToE+C$|dH$1}BvCJC}EtBrWgk@n}Q87m1>h`92S4bS@GqL1ffp5eq#Qx*P_=x1I0&U>o_;wHJr>S<%Z#3l?|0vQ8~F9QCqcAM+u%;^aKtIZnd##)J@j6L4M>tn}Z2> zpv_!NWz3jKk;E>Ln1fx03saX&C6N-shrxk;==e3^F(VhgqhR=8L_eRsKRf^RjJ)<8 zDfyH$@ZpSmIvUaQ$tgXF&{tsEqtr>W<|ULj?2h>&3RtKpN+XfjyAQ5%5eqMI(UY6d zaN{rIorVhi#iJ*Q$H8s%pcye($(H(_!yDikykIhyiUsNXfJE+eYNG?|_+>`5B=^Zek|}pMC(Xn9m7V7Qe$GaU`tTDavVxnBCnBOFbN{$Tt%&;8)WeY)b|MB0`;{Wbo&@%D=kJEqjW!C(W z`tS96=KS}A^>5n{I4aw=qWSZl|5~W?RR8UMdpHFB5Bgv(=KOa6ctK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M7%*VKfB^#r3>YwAz<>b*1`HT5V8DO@0|uT4{tLJ|HHrXu F000YUMVJ5p diff --git a/python-XStatic.spec b/python-XStatic.spec index 63b0644..4990c2f 100644 --- a/python-XStatic.spec +++ b/python-XStatic.spec @@ -1,69 +1,40 @@ %global _empty_manifest_terminate_build 0 Name: python-XStatic -Version: 1.0.2 +Version: 1.0.1 Release: 1 Summary: XStatic base package with minimal support code -License: MIT -URL: https://github.com/xstatic-py/xstatic -Source0: https://files.pythonhosted.org/packages/36/78/c0ffaf14216517a14d3daa67ff24fbb60b4703e95ce1059a48fd508e6b8c/XStatic-1.0.2.tar.gz +License: MIT license +URL: http:/bitbucket.org/thomaswaldmann/xstatic +Source0: https://files.pythonhosted.org/packages/3e/30/726b61d07abd031b32db956adfbcf8924687e07879c1b63b777855c75289/XStatic-1.0.1.tar.gz BuildArch: noarch - - %description The goal of XStatic family of packages is to provide static file packages with minimal overhead - without selling you some dependencies you don't want. -XStatic has some minimal support code for working with the XStatic-* packages. -Docs: https://xstatic.readthedocs.io/ -Repository: https://github.com/xstatic-py/xstatic (base package) -Find more stuff already packaged as xstatic package there: -https://github.com/xstatic-py/ -https://pypi.org/search/?q=xstatic -Licenses: -* MIT license (for XStatic code) -* same license as packaged file (for static file packages) -%package -n python3-XStatic +%package -n python2-XStatic Summary: XStatic base package with minimal support code Provides: python-XStatic -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%description -n python3-XStatic +BuildRequires: python2-devel +BuildRequires: python2-setuptools +%description -n python2-XStatic The goal of XStatic family of packages is to provide static file packages with minimal overhead - without selling you some dependencies you don't want. -XStatic has some minimal support code for working with the XStatic-* packages. -Docs: https://xstatic.readthedocs.io/ -Repository: https://github.com/xstatic-py/xstatic (base package) -Find more stuff already packaged as xstatic package there: -https://github.com/xstatic-py/ -https://pypi.org/search/?q=xstatic -Licenses: -* MIT license (for XStatic code) -* same license as packaged file (for static file packages) %package help Summary: Development documents and examples for XStatic -Provides: python3-XStatic-doc +Provides: python2-XStatic-doc %description help The goal of XStatic family of packages is to provide static file packages with minimal overhead - without selling you some dependencies you don't want. -XStatic has some minimal support code for working with the XStatic-* packages. -Docs: https://xstatic.readthedocs.io/ -Repository: https://github.com/xstatic-py/xstatic (base package) -Find more stuff already packaged as xstatic package there: -https://github.com/xstatic-py/ -https://pypi.org/search/?q=xstatic -Licenses: -* MIT license (for XStatic code) -* same license as packaged file (for static file packages) %prep -%autosetup -n XStatic-1.0.2 +%autosetup -n XStatic-1.0.1 %build -%py3_build +%py2_build %install -%py3_install +%py2_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 @@ -90,12 +61,12 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-XStatic -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-XStatic -f filelist.lst +%dir %{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Fri Jan 29 2021 Python_Bot +* Sun Apr 25 2021 Python_Bot - Package Spec generated -- Gitee