From d2fc389b6a89d2882d8754c52fe76a2a35fca647 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 04:48:56 +0000 Subject: automatic import of python-mr3px --- .gitignore | 1 + python-mr3px.spec | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 95 insertions(+) create mode 100644 python-mr3px.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..94cea19 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/mr3px-0.5.1.tar.gz diff --git a/python-mr3px.spec b/python-mr3px.spec new file mode 100644 index 0000000..c0abcf2 --- /dev/null +++ b/python-mr3px.spec @@ -0,0 +1,93 @@ +%global _empty_manifest_terminate_build 0 +Name: python-mr3px +Version: 0.5.1 +Release: 1 +Summary: Line-based protocols for use with mrjob. +License: Apache +URL: http://github.com/msharp/mr3px +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/02/10/894865001cd5bac8a1c42d223ab5fb939732493ba6dbb51decbdace8c575/mr3px-0.5.1.tar.gz +BuildArch: noarch + + +%description +*This package is forked from `mr3po `__* + "The 3PX-series protocol droid were third-degree protocol droids + produced by Cybot Galactica in 50 BBY and based on the design of the + company's 3PO-series protocol droid." + *`Wookiepedia `__* +**mr3px** is a library of line-based `custom +protocols `__ +for use with the `mrjob `__ library. + +%package -n python3-mr3px +Summary: Line-based protocols for use with mrjob. +Provides: python-mr3px +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-mr3px +*This package is forked from `mr3po `__* + "The 3PX-series protocol droid were third-degree protocol droids + produced by Cybot Galactica in 50 BBY and based on the design of the + company's 3PO-series protocol droid." + *`Wookiepedia `__* +**mr3px** is a library of line-based `custom +protocols `__ +for use with the `mrjob `__ library. + +%package help +Summary: Development documents and examples for mr3px +Provides: python3-mr3px-doc +%description help +*This package is forked from `mr3po `__* + "The 3PX-series protocol droid were third-degree protocol droids + produced by Cybot Galactica in 50 BBY and based on the design of the + company's 3PO-series protocol droid." + *`Wookiepedia `__* +**mr3px** is a library of line-based `custom +protocols `__ +for use with the `mrjob `__ library. + +%prep +%autosetup -n mr3px-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-mr3px -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot - 0.5.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..b05607e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ca48a24f99f6c61afda841bac38f70f6 mr3px-0.5.1.tar.gz -- cgit v1.2.3